| # | Problem | Pass Rate (passed user / total user) |
|---|---|---|
| 12672 | Three number |
|
| 13146 | Carrying Hotpot |
|
Description
You will have three number A, B, C each represents a+b, b+c, c+a respectively.
You need to answer what a, b, c are.
Example:
If A = 168, B = 134, C = 112
And you need to calculate what a,b,c are.
In this example, a = 73, b = 95, c = 39.
Input
Input only contains three number A, B, C(0 <= A, B, C <= 2*10^8)
Output
Output three number which represent a,b,c respectively.
We guarantee that a, b, c will be integers.
Remember to print \n at the end of output.
Sample Input Download
Sample Output Download
Tags
Discuss
Description
Godtone, a famous Taiwanese streamer, who is known for his streaming style and experienced skill of competing in LoL.
Due to his controversial streaming style, he has lots of fans yet a number of trolls. When facing hurting words coming from these trolls, he usually take it hastily with gentle and humorous words.
However, under this pressure, come along with financial crisis, he finally cannot take it and does part-time job. A scene was caught that he's carrying a hot pot and accidentally fall onto the ground. The video link is here.
You are a superfan of Godtone, you want to help him and tell him the probability of falling when the next time he carries hotpot again.
There are two numbers and and one integer . You know that the probability (answer) is to multiply the two numbers and , and round / ceil / floor / truncate to -th place after decimal point.
Note that you may choose to round, ceil, floor, or just truncate to -th place after decimal point. For example, if , both 11.236 and 11.237 are correct. You may refer to a similar problem here.
Due to quantum collapse, tunneling effect, and other mysterious power of the universe that you can imagine, the probability might be larger than 1 or less than 0.
Input
The input contains two numbers and and one integer .
.
It is guaranteed that there are at most three digits after the decimal point.
Output
Output , and round / ceil / floor / truncate the number to -th place after decimal point.
Remember to print a \n at the end of the output.
For sample input / output, , the answer -930.73 and -930.74 are correct, while -930.72 will be considered as a wrong answer.