QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#413993#3003. Cost of Livingucup-team2880WA 41ms5432kbC++142.5kb2024-05-18 13:46:112024-05-18 13:46:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 41ms
memory: 5432kb

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: 11ms
memory: 4340kb

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:

59 7 -1.0000000000
81 8 -1.0000000000
25 9 -1.0000000000
44 3 -1.0000000000
94 4 -1.0000000000
98 10 -1.0000000000
6 6 -1.0000000000
81 3 -1.0000000000
83 6 -1.0000000000
85 3 -1.0000000000
96 5 -1.0000000000
16 1 -1.0000000000
55 4 -1.0000000000
75 5 -1.0000000000
34 1 -1.0000000000
17 5 -1.0000000...

result:

wrong answer 1st numbers differ - expected: '34695.64681', found: '59.00000', error = '0.99830'