QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#525940#6542. Optimal Quadratic Functionucup-team3022WA 664ms3968kbC++144.3kb2024-08-21 04:28:432024-08-21 04:28:44

詳細信息

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.0625000000000541788836

result:

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

Test #2:

score: -100
Wrong Answer
time: 664ms
memory: 3968kb

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
1.00267016911459450057009e-15
1.99840144432528177276254e-15
6.17487018548384947180807e-19
2.22478497552262323433414e-20
543160.125996406190097332
121.000005245208797077794
0.832006181220767304651531
412780.607179431477561593
249250.565713822841644287
15750.2500748038291931152
118751.38008610018005...

result:

wrong answer 10th numbers differ - expected: '12.2500000', found: '249250.5657138', error = '20345.9849562'