Category
Similar Problems
0775. Dummy Guy
Time limit : 1000 ms
Memory limit : 64 mb
You have n bottles that can be considered as cylinders of a unit radius. At first you want to draw a circle and place all your bottles inside it so that each of the bottle bottoms touches the circle. What is the minimum radius of such circle?
Input
The only line contains an integer n that is the number of bottles (1 ≤ n ≤ 10).
Output
Output the minimum radius of a circle with precision 10−6.
Samples
№ |
Input |
Output |
1 |
2 |
2.000000 |
Text from: acm.timus.ru