QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#414020#3003. Cost of Livingucup-team2880WA 54ms5812kbC++141.8kb2024-05-18 14:05:422024-05-18 14:05:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 54ms
memory: 5812kb

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.577896056
1.539307149
4.370712656
3.669532573
2.365035268
2.839467971
1.341160440
9.310682256
6.382676697
9.512888476
7.653300724
3.958208667
3.503137990
6.792418644
7.844444941
5.687855736
9.798107540
6.832417826
3.596095940
1.213239991
8.622413610
3.981432453
3.180240854
5.853805769
9.159688519
...

result:

ok 1000 numbers

Test #2:

score: -100
Wrong Answer
time: 22ms
memory: 4452kb

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:

300
34695.646809998
114941.462746304
16078.298991227
517203.349369043
842775.936181610
88002.315940944
177756.717709542
538943.105651589
825613.810366336
291565.173554446
195902.270342787
999917.418448884
572409.566251773
62638.722149084
999924.319007678
407778.466414425
999978.261905911
4747.239524...

result:

wrong answer 1st numbers differ - expected: '34695.64681', found: '300.00000', error = '0.99135'