QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#595306#9355. Keeping RabbitsZhangYiDeAC ✓283ms4308kbC++20945b2024-09-28 13:23:112024-09-28 13:23:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1 1
2
2 2
1 3
3 2
1 1 1

output:

3.0000000
1.5000000 4.5000000
1.6666667 1.6666667 1.6666667

result:

ok 6 numbers

Test #2:

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

input:

10
10 5
6 9 4 4 4 7 6 2 8 7
10 3
9 4 10 4 2 8 8 6 4 7
10 2
2 5 9 4 9 4 2 7 5 9
10 5
9 1 2 1 10 10 7 9 7 1
10 6
8 3 1 10 5 3 1 6 3 10
10 10
5 9 1 7 10 7 6 6 4 4
10 6
1 7 9 5 1 1 6 3 6 5
10 7
5 6 9 1 9 7 1 1 4 5
10 3
4 10 3 3 10 9 3 6 9 10
10 6
5 5 1 2 4 6 8 1 8 2

output:

6.5263158 9.7894737 4.3508772 4.3508772 4.3508772 7.6140351 6.5263158 2.1754386 8.7017544 7.6140351
9.4354839 4.1935484 10.4838710 4.1935484 2.0967742 8.3870968 8.3870968 6.2903226 4.1935484 7.3387097
2.0714286 5.1785714 9.3214286 4.1428571 9.3214286 4.1428571 2.0714286 7.2500000 5.1785714 9.3214286...

result:

ok 100 numbers

Test #3:

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

input:

10
10 2
18 23 74 43 31 61 59 9 82 39
10 6
82 44 26 99 29 100 24 45 14 8
10 3
10 76 15 14 73 94 48 83 84 20
10 1
35 20 48 6 17 75 57 78 76 39
10 9
13 92 32 23 32 93 13 38 34 64
10 9
45 41 26 90 96 9 20 37 93 14
10 9
81 3 56 89 58 30 21 2 93 28
10 4
69 4 11 77 81 24 19 70 4 85
10 8
5 39 89 36 82 37 12...

output:

18.0820046 23.1047836 74.3371298 43.1958998 31.1412301 61.2779043 59.2687927 9.0410023 82.3735763 39.1776765
83.0445860 44.5605096 26.3312102 100.2611465 29.3694268 101.2738854 24.3057325 45.5732484 14.1783439 8.1019108
10.0580271 76.4410058 15.0870406 14.0812379 73.4235977 94.5454545 48.2785300 83....

result:

ok 100 numbers

Test #4:

score: 0
Accepted
time: 1ms
memory: 3984kb

input:

10
100 28
54 29 35 99 52 7 52 91 49 4 71 33 22 90 11 73 28 13 43 64 26 47 53 56 32 76 40 80 90 84 18 90 24 96 81 66 82 21 75 58 46 52 45 38 36 82 66 33 4 54 2 57 43 9 64 43 72 10 1 31 80 89 49 100 35 61 44 45 51 51 39 80 80 11 31 95 65 59 81 43 81 2 46 60 90 65 83 55 52 93 80 66 61 29 23 99 2 64 22 ...

output:

54.2882196 29.1547846 35.1868090 99.5284026 52.2775448 7.0373618 52.2775448 91.4857034 49.2615326 4.0213496 71.3789554 33.1761342 22.1174228 90.4803660 11.0587114 73.3896302 28.1494472 13.0693862 43.2295082 64.3415936 26.1387724 47.2508578 53.2828822 56.2988944 32.1707968 76.4056424 40.2134960 80.42...

result:

ok 1000 numbers

Test #5:

score: 0
Accepted
time: 283ms
memory: 4308kb

input:

1005
89 48
24 95 46 14 50 35 66 24 31 84 66 39 16 80 14 78 49 46 8 19 2 33 97 37 40 85 13 19 51 58 24 87 87 69 77 62 65 5 10 5 15 75 12 32 35 24 13 90 64 89 71 22 94 31 70 93 38 89 56 26 78 56 74 32 28 52 35 61 87 17 1 54 2 88 62 34 74 27 47 18 12 57 88 39 37 76 36 24 31
89 70
71 4 27 56 36 65 33 6 ...

output:

24.2758621 96.0919540 46.5287356 14.1609195 50.5747126 35.4022989 66.7586207 24.2758621 31.3563218 84.9655172 66.7586207 39.4482759 16.1839080 80.9195402 14.1609195 78.8965517 49.5632184 46.5287356 8.0919540 19.2183908 2.0229885 33.3793103 98.1149425 37.4252874 40.4597701 85.9770115 13.1494253 19.21...

result:

ok 589000 numbers

Extra Test:

score: 0
Extra Test Passed