| # | Problem | Pass Rate (passed user / total user) |
|---|---|---|
| 12381 | SVOOL DLIOW |
|
| 12394 | Easy Palindrome |
|
Description
Given a 5-character word containing only lower case letters, try to encrypt the word by reversing and capitalize each character.
That is,
'a' becomes 'Z'.
'b' becomes 'Y'.
...
'y' becomes 'B'.
'z' becomes 'A'.
Input
Input contains a 5-character word consist of lower case letters only.
Output
Output the encrypted word with a new-line character in the end.
Sample Input Download
Sample Output Download
Tags
Discuss
Description
The input is a 6-digit floating number N that consists of digits 1-9 except 0. For example, 156.854 is such a number. The task is to reverse the order of the digits of integer part and decimal part respectively to get a new six-digit floating number M, and compute the sum of the N and M. For example, if N is 123.456, then M is 321.654, and the answer should be 445.110.
Input
A six-digit floating number consisting of 1-9 except 0
Output
The sum of the input number and its reversal
The answer should be expressed as a floating point number with precision to the three decimal place. For example, 445.110
Note that you do not need to print ‘\n’ at the end of the output.