QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#414003#3003. Cost of Livingucup-team2880WA 8ms5436kbC++142.6kb2024-05-18 13:52:142024-05-18 13:52:14

詳細信息

Test #1:

score: 100
Accepted
time: 8ms
memory: 5436kb

input:

10 100 1000
1.4232425477
1.4587468547
1.4988380864
1.4232605904
1.4616348675
1.4896779426
1.4308848629
1.4737913284
1.4757245744
6.5778960564 1.5393071490 4.3707126564 3.6695325734 2.3650352685 2.8394679709 1.3411604400 9.3106822560 6.3826766975 9.5128884762 7.6533007241 3.9582086668 3.5031379898 6....

output:

6.5778960564
1.5393071490
4.3707126564
3.6695325734
2.3650352685
2.8394679709
1.3411604400
9.3106822560
6.3826766975
9.5128884762
7.6533007241
3.9582086668
3.5031379898
6.7924186444
7.8444449407
5.6878557364
9.7981075401
6.8324178257
3.5960959401
1.2132399906
8.6224136099
3.9814324534
3.1802408535
5...

result:

ok 1000 numbers

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 4164kb

input:

10 100 700
-1.0000000000
-1.0000000000
-1.0000000000
-1.0000000000
-1.0000000000
-1.0000000000
-1.0000000000
-1.0000000000
-1.0000000000
-1.0000000000 -1.0000000000 999984.9915250402 999927.5728325787 999990.6803247513 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 999909.1348272597 -1.0000...

output:

200
-1.0000000000 -1.0000000000 741742.5826774777 -1.0000000000 550216.5217222917 473885.9520441848 -1.0000000000 -1.0000000000 -1.0000000000 
-1.0000000000 0.0000000000
59 7 -1.0000000000
81 8 -1.0000000000
25 9 14462.5753748358
44 3 555040.0293092553
94 4 -1.0000000000
98 10 -1.0000000000
6 6 1543...

result:

wrong answer 1st numbers differ - expected: '34695.64681', found: '200.00000', error = '0.99424'