| # | Problem | Pass Rate (passed user / total user) |
|---|---|---|
| 11111 | Encode number |
|
| 12008 | product of ascii |
|
| 12012 | Shift and shift |
|
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
Description
Input will be four characters.
Please output the product of those ASCII value in one line.
Input:
ABCD
Output:
19545240
Input
4 Characters char belongs to {A,B,C,D,E} set.
Output
Value of the product
Note that you need to print ‘\n’ at the end of the output.
Sample Input Download
Sample Output Download
Tags
Discuss
Description
Given a 4-digit positive integer a, do the following operation
- Swap the left 2 digit and the right 2 digit of a, to obtain b.
- Let c = a * b.
For example, let a = 1234.
- b is 3412
- c is 4210408
Please print the value of c.
Input
An positive integer a between 1000 and 9999 (contains exactly 4 digits).
Output
Print the value of c.
Note that you need to print ‘\n’ at the end of the output.