1025 - I2P(I)2016_Yang_hw2-3 Scoreboard

Time

2016/09/29 00:00:00 2016/10/06 00:00:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
11116 Palindrome

11116 - Palindrome   

Description

The input will be a floating point number X which has 2 digits on the left of the point, and 3 digits on the right of the point. X consists of digits 1-9 except 0.
Interchange the two sides of the point to obtain another floating point number Y.
Finally, compute the sum of X and Y.

Example:
Input: 46.534
after interchanging: 534.46
after summing up:  580.994

Input

Given a floating point number X.

Output

The sum of X and Y.
The answer should be expressed as a floating point number with precision to the third decimal place. For example,
580.994.

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

Sample Input  Download

Sample Output  Download

Tags




Discuss