QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#510472#1340. All your base are belong to usHuangHanShengTL 1779ms10964kbPython31.4kb2024-08-09 05:45:322024-08-09 05:45:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 569ms
memory: 10756kb

input:

3 1
0 1
1 0
1 1

output:

0.7071067812770573

result:

ok found '0.7071068', expected '0.7071100', error '0.0000032'

Test #2:

score: 0
Accepted
time: 1191ms
memory: 10784kb

input:

6 3
1 1
2 1
3 2
5 3
8 5
13 8

output:

17.50425842303772

result:

ok found '17.5042584', expected '17.5042600', error '0.0000001'

Test #3:

score: 0
Accepted
time: 1779ms
memory: 10856kb

input:

9 3
573 -50
-256 158
-751 14
314 207
293 567
59 -340
-243 -22
-268 432
-91 -192

output:

1841.38098803819

result:

ok found '1841.3809880', expected '1841.2090400', error '0.0000934'

Test #4:

score: 0
Accepted
time: 391ms
memory: 10948kb

input:

3 2
-319 -811
-864 -233
-465 -495

output:

794.4236904826039

result:

ok found '794.4236905', expected '794.4236905', error '0.0000000'

Test #5:

score: 0
Accepted
time: 1425ms
memory: 10856kb

input:

10 10
-698 -845
470 -24
-136 816
-671 806
769 253
-918 331
791 692
-43 958
-967 -620
-793 462

output:

8329.438639309461

result:

ok found '8329.4386393', expected '8329.4386393', error '0.0000000'

Test #6:

score: 0
Accepted
time: 1405ms
memory: 10964kb

input:

7 6
-724 -599
899 -5
667 -707
714 -461
-597 938
-875 464
-857 65

output:

5742.964952476064

result:

ok found '5742.9649525', expected '5742.9464651', error '0.0000032'

Test #7:

score: 0
Accepted
time: 1659ms
memory: 10884kb

input:

9 7
-60 -624
-429 43
748 -813
362 204
869 910
519 -883
-715 -646
-130 902
-255 -55

output:

6144.680359519777

result:

ok found '6144.6803595', expected '6144.6664443', error '0.0000023'

Test #8:

score: 0
Accepted
time: 623ms
memory: 10792kb

input:

2 1
-227 -556
-691 -537

output:

232.28666195866998

result:

ok found '232.2866620', expected '232.1944228', error '0.0003972'

Test #9:

score: 0
Accepted
time: 1014ms
memory: 10796kb

input:

7 5
-930 58
-255 210
16 -304
793 118
-315 -613
-266 677
903 -939

output:

4414.261524616788

result:

ok found '4414.2615246', expected '4414.2615246', error '0.0000000'

Test #10:

score: 0
Accepted
time: 1728ms
memory: 10964kb

input:

10 3
800 945
510 -90
-624 -865
-318 336
-93 -791
162 750
827 295
-154 192
-565 -122
-719 904

output:

3305.8650387256425

result:

ok found '3305.8650387', expected '3305.8642072', error '0.0000003'

Test #11:

score: 0
Accepted
time: 1035ms
memory: 10912kb

input:

5 1
108 -850
546 -598
912 -508
-281 -729
368 822

output:

858.6499553432544

result:

ok found '858.6499553', expected '858.6496986', error '0.0000003'

Test #12:

score: 0
Accepted
time: 770ms
memory: 10792kb

input:

3 1
-968 -448
-215 928
-747 -631

output:

823.653046064441

result:

ok found '823.6530461', expected '823.6359936', error '0.0000207'

Test #13:

score: 0
Accepted
time: 694ms
memory: 10860kb

input:

7 2
-567 390
286 -858
476 -258
858 456
528 -964
-358 704
-892 -913

output:

2221.8598065584606

result:

ok found '2221.8598066', expected '2221.8598066', error '0.0000000'

Test #14:

score: -100
Time Limit Exceeded

input:

120 81
877 156
-561 -966
405 19
869 965
-620 -630
965 -498
330 417
-895 -943
610 -145
-468 535
590 -707
-388 -391
-468 610
-740 67
415 762
776 244
684 -457
570 -788
263 627
-727 897
737 35
-983 728
966 -493
-148 620
462 424
336 -507
741 -455
-877 -593
519 -101
-942 -758
-692 -826
765 -583
-572 -593
...

output:


result: