Cuts the cake | ||||||
| ||||||
Description | ||||||
Vagaa took a sliver medal in the Tianjin match. Liu sir is very very happy. So she buys a cake for them. ![]() | ||||||
Input | ||||||
Input contains multiple test cases. Each line is a case. Each case contains only one integer R which is the radius. The input is terminated with a R of 0. | ||||||
Output | ||||||
For each test case, you should printf two numbers r2 and r1 in a line, accurate up to 3 decimal places, separate them by one space. | ||||||
Sample Input | ||||||
10 15 5 25 0 | ||||||
Sample Output | ||||||
5.774 8.165 8.660 12.247 2.887 4.082 14.434 20.412 三个部分面积相等,给R求r1,r2
|