QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#43251#4497. MapHuangHanShengAC ✓1224ms3764kbC++112.2kb2022-08-08 16:58:582022-08-08 16:58:59

详细

Test #1:

score: 100
Accepted
time: 1224ms
memory: 3764kb

input:

100000
0 5
15 5
15 0
0 0
3 2
9 5
10 3
4 0
-605 604
604 605
605 -604
-604 -605
569 -338
568 -337
569 -336
570 -337
-964 963
963 964
964 -963
-963 -964
-364 838
-365 839
-364 840
-363 839
-664 663
663 664
664 -663
-663 -664
-307 -424
-308 -423
-307 -422
-306 -423
-866 865
865 866
866 -865
-865 -866
12...

output:

6.0000000000 2.0000000000
568.8082644628 -336.2512396694
-364.2463692946 838.3760373444
-306.4503012048 -422.9126506024
119.4705542725 796.6091224018
426.6965648855 50.2398218830
-138.7016574586 -400.8552486188
190.8919117647 -43.8272058824
-392.4260230850 -700.8384050367
96.5101763908 624.641791044...

result:

ok 200000 numbers