QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#201202#5304. Money GameHuangHanShengWA 0ms4100kbC++17348b2023-10-05 13:08:342023-10-05 13:08:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 4100kb

input:

2
4 2

output:

4.000000000000 2.000000000000 

result:

ok 2 numbers

Test #2:

score: 0
Accepted
time: 0ms
memory: 4100kb

input:

2
2 3

output:

3.333333333333 1.666666666667 

result:

ok 2 numbers

Test #3:

score: 0
Accepted
time: 0ms
memory: 3808kb

input:

2
851648 722281

output:

1049286.000000000000 524643.000000000000 

result:

ok 2 numbers

Test #4:

score: 0
Accepted
time: 0ms
memory: 3804kb

input:

3
450762 114467 367746

output:

466487.500000000000 233243.750000000000 233243.750000000000 

result:

ok 3 numbers

Test #5:

score: 0
Accepted
time: 0ms
memory: 4056kb

input:

4
2 3 5 1

output:

4.400000000000 2.200000000000 2.200000000000 2.200000000000 

result:

ok 4 numbers

Test #6:

score: 0
Accepted
time: 0ms
memory: 3876kb

input:

5
616288 155735 783782 648639 349827

output:

851423.666666666744 425711.833333333430 425711.833333333489 425711.833333333489 425711.833333333430 

result:

ok 5 numbers

Test #7:

score: 0
Accepted
time: 0ms
memory: 4060kb

input:

6
1 2 5 5 1 2

output:

4.571428571429 2.285714285714 2.285714285714 2.285714285714 2.285714285714 2.285714285714 

result:

ok 6 numbers

Test #8:

score: -100
Wrong Answer
time: 0ms
memory: 3864kb

input:

100
283397 377774 494372 487546 143741 314831 934818 229251 78798 395137 407818 18761 516178 734330 838264 433107 858247 174903 905002 445936 58127 253493 844807 215023 37167 11961 885588 176935 156947 82314 21120 373809 226377 712113 302554 613417 368577 604224 811349 182256 179860 424904 544075 16...

output:

846074.774622960249 421852.492083583376 421275.541768375784 420710.812977958412 420160.465447686438 419626.604321644409 419111.272367474856 418616.442408793315 418144.009999350994 417695.786362622224 417273.491619993059 416878.748330199509 416513.075362100790 416177.882122272102 415874.463158247643 ...

result:

wrong answer 1st numbers differ - expected: '848873.9009901', found: '846074.7746230', error = '0.0032975'