설명
- round, 19. December 2009.
Mirko has a younger brother, Filip, who just started going to school and is having trouble with
numbers. To help him get the hang for number scale, his teacher writes two three digit numbers. She
asks Filip to compare those numbers, but instead of interpreting them with the leftmost most
significant digit, he needs to interpret them the other way around, with the most significant digit being
the rightmost one. He than has to tell the teacher the larger of the two numbers.
Write a program that will check Filips answers.
제약
입력 형식
The first and only line of input contains two three digit numbers, \(A\) and \(B\). \(A\) and \(B\) will not be equal and will not contain any zeroes.
출력 형식
First and only line of output should contain the larger of the numbers in the input, compared as
described in the task. The number should be written reversed, to display to Filip how he should
read it.
서브태스크
| 서브태스크 | 점수 | 설명 |
|---|---|---|
Test 1 | 10점 | None |
Test 2 | 10점 | None |
Test 3 | 10점 | None |
Test 4 | 10점 | None |
Test 5 | 10점 | None |
Test 6 | 10점 | None |
Test 7 | 10점 | None |
Test 8 | 10점 | None |
Test 9 | 10점 | None |
Test 10 | 10점 | None |
예제 1
입력
734 893출력
437예제 2
입력
221 231출력
132예제 3
입력
839 237출력
938문제 정보
태그