QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#110660#6542. Optimal Quadratic Functionmoonrabbit2WA 40ms3808kbC++173.5kb2023-06-03 10:18:222023-06-03 10:18:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.06250002589566964160

result:

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

Test #2:

score: -100
Wrong Answer
time: 40ms
memory: 3788kb

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:

50
1000 994
999 -1000
-1000 997
1000 1000
1000 999
-1000 994
-1000 992
999 -996
1000 996
-1000 997
-1000 1000
-999 -993
1000 1000
1000 1000
999 -1000
1000 1000
999 -996
-1000 998
-999 -996
-1000 998
-999 -993
999 -994
-999 -996
1000 995
1000 995
-1000 996
1000 999
999 -997
999 -999
-999 -995
1000 99...

result:

wrong answer 1st numbers differ - expected: '0.0000000', found: '50.0000000', error = '50.0000000'