QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#772645#6542. Optimal Quadratic FunctionutilforeverWA 1724ms4104kbC++232.8kb2024-11-22 21:00:492024-11-22 21:00:49

詳細信息

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.062500000075

result:

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

Test #2:

score: -100
Wrong Answer
time: 1724ms
memory: 4104kb

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.000000000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
543160.126009991658
121.000000000000
0.832006189378
412780.607192680378
12.250000000000
15750.250000000013
118751.380088735640
880245.505480045826
1.000000000081
15.363373371809
854986.713199483137
20.250000000000
24567.66738...

result:

wrong answer 41st numbers differ - expected: '4.0000000', found: '4.0000243', error = '0.0000061'