QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#43247#4497. MapHuangHanShengWA 1100ms3700kbC++112.2kb2022-08-08 16:51:332022-08-08 16:51:34

详细

Test #1:

score: 0
Wrong Answer
time: 1100ms
memory: 3700kb

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.00000000 2.00000000
568.80826446 -336.25123967
-364.24636929 838.37603734
-306.45030120 -422.91265060
119.47055427 796.60912240
426.69656489 50.23982188
-138.70165746 -400.85524862
190.89191176 -43.82720588
-392.42602308 -700.83840504
96.51017639 624.64179104
576.27816901 448.09084507
-93.05868167...

result:

wrong output format Expected double, but "-nan" found