QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#777097#6542. Optimal Quadratic Functiondkim110807WA 1697ms3980kbC++172.2kb2024-11-23 22:42:352024-11-23 22:42:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.062500000004817

result:

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

Test #2:

score: -100
Wrong Answer
time: 1697ms
memory: 3980kb

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.000000000000000
0.000000000000000
0.000000000000000
0.000000000000000
0.000000000000000
543160.125996455639552
121.000000000000000
0.832006181315310
412780.607179835326207
12.250000000000000
15750.250000000000139
118751.380086109179231
880245.505473653751267
1.000000000001160
15.363373360499675
85...

result:

wrong answer 23rd numbers differ - expected: '181005481253.1223450', found: '208307158388.5282593', error = '0.1508334'