QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#525939#6542. Optimal Quadratic Functionucup-team3022WA 645ms4108kbC++144.3kb2024-08-21 04:28:032024-08-21 04:28:05

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.06250000000009592326933

result:

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

Test #2:

score: -100
Wrong Answer
time: 645ms
memory: 4108kb

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
4.35207425653061363846064e-12
4.69846384021366247907281e-13
5.72594272343907029210186e-19
1.07202607386872386663335e-21
543160.125996400020085275
121.000007867813238249255
0.832006181215063866929427
412780.607179430779069662
61751.8166680785507196561
15750.2501944899559020996
118751.38008610210090...

result:

wrong answer 10th numbers differ - expected: '12.2500000', found: '61751.8166681', error = '5039.9646260'