QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#413998#3003. Cost of Livingucup-team2880WA 40ms5452kbC++202.5kb2024-05-18 13:49:112024-05-18 13:49:11

详细

Test #1:

score: 100
Accepted
time: 40ms
memory: 5452kb

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: 10ms
memory: 4416kb

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:

-1.0 -1.0 999985.0 999927.6 999990.7 -1.0 -1.0 -1.0 -1.0 999909.1 -1.0 -1.0 -1.0 -1.0 -1.0 -1.0 -1.0 999993.3 999988.6 -1.0 -1.0 999919.3 999970.5 -1.0 -1.0 999980.9 -1.0 -1.0 -1.0 -1.0 -1.0 -1.0 999992.3 -1.0 -1.0 999984.7 -1.0 -1.0 -1.0 -1.0 -1.0 -1.0 -1.0 -1.0 999913.1 999985.3 -1.0 -1.0 -1.0 999...

result:

wrong answer 1st numbers differ - expected: '34695.64681', found: '-1.00000', error = '1.00003'