QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#777054#6542. Optimal Quadratic Functiondkim110807WA 2421ms4056kbC++172.0kb2024-11-23 22:29:182024-11-23 22:29:19

详细

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.062500006469800

result:

ok found '5.0625000', expected '5.0625000', error '0.0000000'

Test #2:

score: -100
Wrong Answer
time: 2421ms
memory: 4056kb

input:

60
1
1000 -990
2
171 -638
949 -99
2
633 227
-257 -602
3
634 -994
633 999
-374 995
3
445 -110
586 -121
462 29
9
-995 -224
-458 -833
691 -670
456 -259
-376 55
-563 -12
834 827
-826 -220
299 744
17
997 991
997 976
997 988
998 -986
999 -982
999 -980
999 -996
998 -988
998 -991
997 987
1000 996
999 -1000
...

output:

0.000000000000000
0.000000000000000
0.000000000000000
0.000000000000377
0.000000000000026
543160.127628760232199
121.000000000000000
0.832007338439153
412780.609643331007931
12.250000000000000
15750.250000000000028
118751.380442427929481
880245.505795942271220
1.000000005914302
15.363373956159956
85...

result:

wrong answer 8th numbers differ - expected: '0.8320062', found: '0.8320073', error = '0.0000012'