QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#402060#8513. Insects, Mathematics, Accuracy, and Efficiencyucup-team2008WA 1ms4364kbC++1710.3kb2024-04-29 20:23:522024-04-29 20:23:52

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 4364kb

input:

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

output:

2000000.0000000000

result:

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

Test #2:

score: 0
Accepted
time: 1ms
memory: 4364kb

input:

2 100
17 7
19 90

output:

4849.7046444376

result:

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

Test #3:

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

input:

1 100
13 37

output:

0

result:

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

Test #4:

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

input:

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

output:

2240000.0000000000

result:

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

Test #5:

score: 0
Accepted
time: 1ms
memory: 4284kb

input:

3 1000
200 400
-600 -400
400 -800

output:

1045685.4249492381

result:

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

Test #6:

score: -100
Wrong Answer
time: 0ms
memory: 4364kb

input:

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

output:

700555.1275463989

result:

wrong answer 1st numbers differ - expected: '732310.5625618', found: '700555.1275464', error = '0.0433633'