QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#414004#3003. Cost of Livingucup-team2880WA 10ms5676kbC++142.6kb2024-05-18 13:52:392024-05-18 13:52:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 4244kb

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 356066.1797855765 -1.0000000000 -1.0000000000 -1.0000000000 45151.3051596107 26943.5740799239 -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 154347...

result:

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