QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#776810#6542. Optimal Quadratic FunctionutilforeverWA 729ms2828kbRust31.5kb2024-11-23 21:03:022024-11-23 21:03:13

詳細信息

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.062500000008802

result:

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

Test #2:

score: -100
Wrong Answer
time: 729ms
memory: 2828kb

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
0.0000000000000000000000000000000000000000000000000000000000000024308653429145085
0
0.00000000000000000000036959681998637438
0.0000000000000000007332237281793708
543160.1259965753
121
0.832006181373609
412780.60719111655
1
15750.25
118751.38008788668
880245.5054742205
1
15.363374048786488
854986.7...

result:

wrong answer 10th numbers differ - expected: '12.2500000', found: '1.0000000', error = '0.9183673'