QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#502979#1480. Von Neumann's Flyxiaowuc1100 ✓0ms3916kbC++17851b2024-08-03 15:42:272024-08-03 15:42:32

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

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

input:

21
1 250 10 15 20
2 10.7 3.5 4.7 5.5
3 523.7 15.3 20.7 33.3
4 1000 30 30 50
5 500 15 15 25
6 10 1 1 1.1
7 10 1 1 50
8 10 30 30 50
9 10 30 30 30.1
10 10 30 30 30.01
11 10 1 30 30.1
12 10 30 1 30.1
13 1000 1 1 1.1
14 1000 1 1 50
15 999.9 29.9 29.9 49.9
16 250 20 40 50
17 300 16 32 48
18 10 2 4 8
19 17...

output:

1 200.0000000000
2 7.1768292683
3 484.4225000000
4 833.3333333333
5 416.6666666667
6 5.5000000000
7 250.0000000000
8 8.3333333333
9 5.0166666667
10 5.0016666667
11 9.7096774194
12 9.7096774194
13 550.0000000000
14 25000.0000000000
15 834.3647157191
16 208.3333333333
17 300.0000000000
18 13.333333333...

result:

ok 42 numbers