QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#113076#3886. Kitchen Cable Chaoslmq26052003 WA 3ms6032kbC++201.0kb2023-06-16 10:53:222023-06-16 10:53:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3660kb

input:

3 70
20
35
50

output:

3.3333333

result:

ok 

Test #2:

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

input:

3 150
20
35
50

output:

impossible

result:

ok 

Test #3:

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

input:

1 110
100

output:

0.0000000

result:

ok 

Test #4:

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

input:

1 110
101

output:

0.5000000

result:

ok 

Test #5:

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

input:

1 110
110

output:

5.0000000

result:

ok 

Test #6:

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

input:

1 110
111

output:

impossible

result:

ok 

Test #7:

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

input:

1 110
99

output:

impossible

result:

ok 

Test #8:

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

input:

6 130
20
20
20
20
20
21

output:

0.1428571

result:

ok 

Test #9:

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

input:

6 360
270
180
180
30
30
30

output:

3.3333333

result:

ok 

Test #10:

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

input:

6 1000
200
200
200
300
300
415

output:

5.0000000

result:

ok 

Test #11:

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

input:

8 210
11
11
11
11
11
11
120
120

output:

impossible

result:

ok 

Test #12:

score: 0
Accepted
time: 3ms
memory: 3780kb

input:

60 671
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11

output:

impossible

result:

ok 

Test #13:

score: 0
Accepted
time: 3ms
memory: 3848kb

input:

60 670
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11

output:

0.0000000

result:

ok 

Test #14:

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

input:

60 365
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11

output:

5.0000000

result:

ok 

Test #15:

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

input:

60 370
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11

output:

4.9180328

result:

ok 

Test #16:

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

input:

60 348
12
12
12
12
17
12
12
12
12
17
12
12
12
17
12
12
12
12
17
12
12
12
12
17
12
12
12
12
12
17
12
12
12
12
12
17
12
12
12
12
17
12
12
12
17
12
12
12
12
12
12
12
12
17
12
12
12
12
17
12

output:

5.0000000

result:

ok 

Test #17:

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

input:

60 936
24
24
24
24
13
24
24
24
24
13
24
24
24
13
24
24
24
24
13
24
24
24
24
13
24
24
24
24
24
13
24
24
24
24
24
13
24
24
24
24
13
24
24
24
13
24
24
24
24
24
24
24
24
13
24
24
24
24
13
24

output:

3.5531915

result:

wrong answer read 3.553191500 but expected 5.000000000, error = 0.289361700