QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#110658#6542. Optimal Quadratic Functionmoonrabbit2WA 39ms3672kbC++173.5kb2023-06-03 10:17:452023-06-03 10:17:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 39ms
memory: 3672kb

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
-95 -979
361 -800
205 -778
-475 -792
-27 626
-202 -415
-48 772
-186 -100
36 217
395 -933
542 -981
-216 -377
605 -116
-361 408
267 -548
848 665
129 -378
725 -345
-20 555
-829 -791
-394 -72
44 670
208 -799
-465 592
216 862
305 464
-935 629
-438 -335
561 647
-744 897
-536 -190
593 360
791 -164
790 6...

result:

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