QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#43187#4497. MapHuangHanShengAC ✓124ms5792kbC++202.2kb2022-08-08 14:02:162022-08-08 14:02:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 124ms
memory: 5792kb

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.000000 2.000000
568.808264 -336.251240
-364.246369 838.376037
-306.450301 -422.912651
119.470554 796.609122
426.696565 50.239822
-138.701657 -400.855249
190.891912 -43.827206
-392.426023 -700.838405
96.510176 624.641791
576.278169 448.090845
-93.058682 165.791801
95.148725 -304.716714
-170.199256 ...

result:

ok 200000 numbers