2 桁の整数 (Two-digit Integer)
Unrated
日本語
Language
Contribute a translation- Time limit
- 2000 ms
- Memory limit
- 1024 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
\(2\) つの数字 \(A, B\) が与えられる.
十の位が \(A\) であり,一の位が \(B\) である \(2\) 桁の正の整数を出力せよ.
Constraints
- \(A\) は
1,2,3,4,5,6,7,8,9のいずれかである. - \(B\) は
0,1,2,3,4,5,6,7,8,9のいずれかである.
Input
入力は以下の形式で与えられる.
\(A\)
\(B\)
Output
十の位が \(A\) であり,一の位が \(B\) である \(2\) 桁の正の整数を出力せよ.
Examples
Sample input 1
2 2
Sample output 1
22
十の位が \(2\) であり,一の位が \(2\) である \(2\) 桁の正の整数は \(22\) であるため,\(22\) を出力する.
Sample input 2
1 0
Sample output 2
10
十の位が \(1\) であり,一の位が \(0\) である \(2\) 桁の正の整数は \(10\) であるため,\(10\) を出力する.
Sample input 3
1 9
Sample output 3
19
Notes
JOI 2023 · JCIOI · CC BY-SA 4.0
Tags
No tags yet