QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#110657#6542. Optimal Quadratic Functionmoonrabbit2WA 113ms3892kbC++173.4kb2023-06-03 10:15:352023-06-03 10:15:39

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3892kb

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: 113ms
memory: 3884kb

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.00000000000000004815
0.00000000000000004815
0.00000000000000004815
0.00000000000000004815
0.00000000000000004815
543160.12599909320323376960
121.00000004450944010581
0.83200618163188741873
412780.60718750188061676454
12.25000003623001174676
15750.25000174166215050064
118751.38008636189602640343
88...

result:

wrong answer 17th numbers differ - expected: '20.2500000', found: '251627.9857554', error = '12425.0733706'