QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#43154#4497. MapHuangHanShengAC ✓282ms3768kbC++14770b2022-08-08 12:54:392022-08-08 12:54:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 282ms
memory: 3768kb

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:

ok 200000 numbers