QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#772601#6542. Optimal Quadratic FunctionutilforeverWA 1195ms3968kbC++232.7kb2024-11-22 20:38:392024-11-22 20:38:43

詳細信息

Test #1:

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

input:

1
4
0 0
1 3
2 9
3 0

output:

5.062500178658

result:

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

Test #2:

score: -100
Wrong Answer
time: 1195ms
memory: 3968kb

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.000000012210
0.000000000036
543160.483501082015
121.000000000000
0.833216433598
412780.702400328759
12.250000000000
15750.250001606982
118751.407161760353
880245.914233743960
1.000000196521
15.363568471428
854988.031262807005
20.250000000000
24567.77847...

result:

wrong answer 8th numbers differ - expected: '0.8320062', found: '0.8332164', error = '0.0012103'