QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#525935#6542. Optimal Quadratic Functionucup-team3022WA 882ms3900kbC++144.3kb2024-08-21 04:18:162024-08-21 04:18:16

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3812kb

input:

1
4
0 0
1 3
2 9
3 0

output:

5.06250000000008437694987

result:

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

Test #2:

score: -100
Wrong Answer
time: 882ms
memory: 3900kb

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
6.57109922030940651893616e-11
2.09547579288482666015625e-09
1.21972744404619248825838e-19
1.19444880452657196251431e-19
543160.125996413407847285
121.000005245208797077794
0.832006181215271256590427
412780.607179468614049256
12.2500016689301105543564
15750.2500448822975158691
118751.38008609974349...

result:

wrong answer 14th numbers differ - expected: '1.0000000', found: '1.0000107', error = '0.0000107'