QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#201612#6542. Optimal Quadratic Functionucup-team1209WA 5668ms4108kbC++204.0kb2023-10-05 15:29:362023-10-05 15:29:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.0625000384

result:

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

Test #2:

score: -100
Wrong Answer
time: 5668ms
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.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
543160.1260095665
120.9999990764
0.8320062415
412780.6071849340
12.2499994408
15750.2500025081
118751.3800964622
880245.5055054216
1.0000000234
15.3633734811
854986.7131146983
20.2500007930
24567.6673704805
881031.5630356103
306.250002...

result:

wrong answer 27th numbers differ - expected: '23931780601.0000000', found: '150994841316.8299866', error = '5.3093860'