QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#396060#8513. Insects, Mathematics, Accuracy, and Efficiencyucup-team580#TL 206ms4020kbC++178.5kb2024-04-22 11:24:032024-04-22 11:24:04

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3948kb

input:

4 1000
-1000 0
0 0
1000 0
0 -1000

output:

2000000.00000000000

result:

ok found '2000000.000000000', expected '2000000.000000000', error '0.000000000'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3964kb

input:

2 100
17 7
19 90

output:

4849.70464443756

result:

ok found '4849.704644438', expected '4849.704644438', error '0.000000000'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3844kb

input:

1 100
13 37

output:

0.00000000000

result:

ok found '0.000000000', expected '0.000000000', error '-0.000000000'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3848kb

input:

4 1000
-800 600
800 600
-800 -600
800 -600

output:

2240000.00000000000

result:

ok found '2240000.000000000', expected '2240000.000000000', error '0.000000000'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3904kb

input:

3 1000
200 400
-600 -400
400 -800

output:

1045685.42494923784

result:

ok found '1045685.424949238', expected '1045685.424949238', error '0.000000000'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3956kb

input:

4 1000
200 -600
600 -400
800 -600
0 -800

output:

732310.56256176601

result:

ok found '732310.562561766', expected '732310.562561766', error '0.000000000'

Test #7:

score: 0
Accepted
time: 0ms
memory: 4020kb

input:

4 1000
-600 700
-300 900
0 800
-800 400

output:

892213.59549995791

result:

ok found '892213.595499958', expected '892213.595499958', error '0.000000000'

Test #8:

score: 0
Accepted
time: 0ms
memory: 3980kb

input:

5 1000
-300 -200
-200 -400
-100 -700
-800 -500
-500 -300

output:

619005.49446402595

result:

ok found '619005.494464026', expected '619005.494464026', error '0.000000000'

Test #9:

score: 0
Accepted
time: 206ms
memory: 3988kb

input:

1000 10000
-9998 -136
-9996 -245
-9995 -280
-9993 -347
-9991 -397
-9989 -440
-9985 -525
-9984 -545
-9983 -564
-9981 -599
-9979 -632
-9973 -721
-9971 -747
-9966 -810
-9963 -846
-9957 -916
-9953 -958
-9948 -1008
-9945 -1037
-9938 -1103
-9927 -1196
-9920 -1253
-9913 -1308
-9908 -1346
-9891 -1465
-9874 ...

output:

314026591.78011035919

result:

ok found '314026591.780110359', expected '314026591.780110359', error '0.000000000'

Test #10:

score: 0
Accepted
time: 0ms
memory: 3960kb

input:

2 10000
-9999 0
-9998 -1

output:

12070.56781186163

result:

ok found '12070.567811862', expected '12070.567811865', error '0.000000000'

Test #11:

score: -100
Time Limit Exceeded

input:

1604 10000
2604 -9655
7380 -6748
9963 859
9843 1765
-1452 9894
-2024 9793
-8862 4633
-2604 -9655
9301 3673
9871 -1601
-565 -9984
9640 -2659
9312 3645
-8291 -5591
7879 6158
1301 9915
509 9987
7757 -6311
-9301 -3673
7702 -6378
5415 8407
-9971 761
9023 -4311
-6785 7346
-9852 1714
-9788 -2048
9819 -1894...

output:


result: