QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#777069#6542. Optimal Quadratic FunctionutilforeverWA 120ms5520kbC++2336.0kb2024-11-23 22:32:522024-11-23 22:32:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.062500000000

result:

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

Test #2:

score: -100
Wrong Answer
time: 120ms
memory: 5520kb

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.000000000000
0.000000000000
0.000000000000
220035640488.606835395098
303955933.260389913339
1274.632769797954
966696958560025225.000000000000
789937.949112821267
80307.589993701263
3950225798893627512.750000000000
749491664673573822.125000000000
439918.839396036178
2471.633921779889
39760559360369...

result:

wrong answer 4th numbers differ - expected: '0.0000000', found: '220035640488.6068420', error = '220035640488.6068420'