QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#525938#6542. Optimal Quadratic Functionucup-team3022WA 642ms3992kbC++144.3kb2024-08-21 04:26:302024-08-21 04:26:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.06250000000007638334409

result:

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

Test #2:

score: -100
Wrong Answer
time: 642ms
memory: 3892kb

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
1.99840144432528177276254e-13
2.22044604925031308084726e-16
1.02490986617770341027267e-19
9.56220788111299992151348e-22
543160.125996398623101413
121.000006556511010558097
0.832006181219937746007531
412780.607179429731331766
12.2500016689301105543564
15750.2502094507217407227
118751.38008609865210...

result:

wrong answer 14th numbers differ - expected: '1.0000000', found: '1.0000279', error = '0.0000279'