QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#525936#6542. Optimal Quadratic Functionucup-team3022WA 866ms3972kbC++144.3kb2024-08-21 04:23:372024-08-21 04:23:37

详细

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.06250000000007993605777

result:

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

Test #2:

score: -100
Wrong Answer
time: 866ms
memory: 3972kb

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
3.63797880709171295166016e-12
5.11590769747272133827209e-13
6.86096687275983274645341e-18
3.38813178901720135627329e-21
543160.125996409333311021
121.000014424324461970173
0.832006181215997120403927
412780.607179431361146271
12.2500008344650410663235
15750.250014960765838623
118751.380086103381472...

result:

wrong answer 14th numbers differ - expected: '1.0000000', found: '1.0000052', error = '0.0000052'