2100 - I2P(I)2020_Yang_lab2 Scoreboard

Time

2020/09/29 18:30:00 2020/09/29 20:30:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
11111 Encode number
12886 Thousands Separator Lite

11111 - Encode number   

Description

Suppose that we have an encoding scheme defined by the following mapping:
1->'A', 2->'B', 3->'C', ..., 9->'I'
Given a three-digit number N as the input, use the above mapping to encode N.

Input

A three-digit integer N

Output

The encoding result

Note that you do not need to print ‘\n’ at the end of the output.

Sample Input  Download

Sample Output  Download

Tags




Discuss




12886 - Thousands Separator Lite   

Description

To represent a decimal number clearly and formally, one must insert commas (,) for the thousands separators.
For example, the number "123456789" should be represented as "123,456,789". 
Now you have 2 such numbers in the standard format, and you want to calculate the summation of them.
 
Hint: For「123,456」, you can use 「scanf ("%d,%d", &a, &b)」to read in the input, and then a and b will be set as 123 and 456, respectively.

Input

There are 2 lines in each case, and each line contains a number T in the standard format, where 1,000,000  T ≤ 499,999,999.

Output

For each case, you should output one line that exactly contains the summation of the 2 numbers, which is a integer without any commas.

Note that there is a newline character at the end of the output.

Sample Input  Download

Sample Output  Download

Tags




Discuss