405104: GYM101793 C Polar map

Memory Limit:256 MB Time Limit:8 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

C. Polar maptime limit per test8 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output

See PDF statement in attachment.

ExamplesInput
3
45 0
-45 0
0 90
Output
0.269064434316
Input
6
0 90
0 180
0 -90
80 -90
80 180
80 90
Output
0.389591701512
Input
3
-85 0
-85 179
0 90
Output
0.207400294880

加入题单

上一题 下一题 算法标签: