QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#113078#3886. Kitchen Cable Chaoslmq26052003 WA 32ms10400kbC++201.0kb2023-06-16 10:54:512023-06-16 10:54:54

詳細信息

Test #1:

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

input:

3 70
20
35
50

output:

3.3333333

result:

ok 

Test #2:

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

input:

3 150
20
35
50

output:

impossible

result:

ok 

Test #3:

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

input:

1 110
100

output:

0.0000000

result:

ok 

Test #4:

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

input:

1 110
101

output:

0.5000000

result:

ok 

Test #5:

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

input:

1 110
110

output:

5.0000000

result:

ok 

Test #6:

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

input:

1 110
111

output:

impossible

result:

ok 

Test #7:

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

input:

1 110
99

output:

impossible

result:

ok 

Test #8:

score: 0
Accepted
time: 2ms
memory: 4280kb

input:

6 130
20
20
20
20
20
21

output:

0.1428571

result:

ok 

Test #9:

score: 0
Accepted
time: 2ms
memory: 5884kb

input:

6 360
270
180
180
30
30
30

output:

3.3333333

result:

ok 

Test #10:

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

input:

6 1000
200
200
200
300
300
415

output:

5.0000000

result:

ok 

Test #11:

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

input:

8 210
11
11
11
11
11
11
120
120

output:

impossible

result:

ok 

Test #12:

score: 0
Accepted
time: 28ms
memory: 8448kb

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: 32ms
memory: 9784kb

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: 31ms
memory: 9156kb

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: 28ms
memory: 9576kb

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: 27ms
memory: 10400kb

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: 0
Accepted
time: 25ms
memory: 10212kb

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:

5.0000000

result:

ok 

Test #18:

score: 0
Accepted
time: 32ms
memory: 9480kb

input:

60 1000
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16

output:

impossible

result:

ok 

Test #19:

score: 0
Accepted
time: 28ms
memory: 8848kb

input:

60 1000
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999
999

output:

4.5000000

result:

ok 

Test #20:

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

input:

3 130
131
132
980

output:

impossible

result:

ok 

Test #21:

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

input:

3 130
40
40
39

output:

impossible

result:

ok 

Test #22:

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

input:

5 625
305
305
205
205
205

output:

0.0000000

result:

ok 

Test #23:

score: 0
Accepted
time: 2ms
memory: 4248kb

input:

6 630
205
505
105
105
105
13

output:

0.7500000

result:

ok 

Test #24:

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

input:

5 900
700
400
400
100
20

output:

2.5000000

result:

ok 

Test #25:

score: 0
Accepted
time: 2ms
memory: 3920kb

input:

5 110
17
11
13
13
18

output:

impossible

result:

ok 

Test #26:

score: 0
Accepted
time: 2ms
memory: 5804kb

input:

5 110
17
19
11
15
11

output:

impossible

result:

ok 

Test #27:

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

input:

5 110
13
16
11
12
17

output:

impossible

result:

ok 

Test #28:

score: 0
Accepted
time: 2ms
memory: 5824kb

input:

10 110
32
19
34
43
11
43
38
24
17
49

output:

5.0000000

result:

ok 

Test #29:

score: 0
Accepted
time: 2ms
memory: 5884kb

input:

10 110
24
14
14
44
35
43
40
32
49
26

output:

5.0000000

result:

ok 

Test #30:

score: 0
Accepted
time: 8ms
memory: 6128kb

input:

30 1000
115
168
128
174
120
144
19
54
65
26
55
30
63
131
80
81
50
61
188
134
126
43
149
42
83
199
132
116
141
171

output:

5.0000000

result:

ok 

Test #31:

score: 0
Accepted
time: 6ms
memory: 7240kb

input:

30 1000
158
54
17
70
61
51
190
177
70
135
86
184
98
61
57
117
60
122
181
86
52
200
107
28
19
31
130
161
91
23

output:

5.0000000

result:

ok 

Test #32:

score: 0
Accepted
time: 31ms
memory: 9500kb

input:

60 1000
26
50
32
49
45
11
39
38
32
21
36
15
28
29
49
46
21
31
18
47
45
22
36
35
17
41
32
42
32
11
23
11
48
46
44
23
13
46
48
14
30
13
41
41
16
30
32
21
45
27
19
32
40
19
23
50
36
28
31
15

output:

5.0000000

result:

ok 

Test #33:

score: 0
Accepted
time: 26ms
memory: 10272kb

input:

60 1000
19
24
34
20
19
13
36
20
47
45
13
20
37
19
16
48
33
29
42
43
18
14
28
27
29
40
37
50
14
27
24
45
20
18
28
27
22
20
47
28
45
33
13
50
44
49
48
44
17
30
19
27
13
26
50
21
42
29
27
49

output:

5.0000000

result:

ok 

Test #34:

score: 0
Accepted
time: 29ms
memory: 9408kb

input:

60 1000
996
561
722
164
304
970
584
547
751
67
589
508
855
166
962
90
194
600
679
243
129
892
254
599
624
426
588
528
936
213
720
247
402
675
307
324
755
82
464
999
997
83
222
273
934
883
881
376
167
836
707
616
988
658
18
819
307
667
940
143

output:

5.0000000

result:

ok 

Test #35:

score: 0
Accepted
time: 4ms
memory: 6736kb

input:

16 1000
996
970
855
962
892
936
755
999
997
934
883
881
836
988
819
940

output:

4.5000000

result:

ok 

Test #36:

score: 0
Accepted
time: 25ms
memory: 10128kb

input:

60 1000
125
116
558
280
609
721
212
638
272
494
907
848
102
430
284
14
774
641
270
744
557
434
20
85
885
905
551
837
587
157
137
316
900
799
863
900
218
258
112
783
886
413
625
164
931
866
977
813
883
35
740
339
932
805
866
813
275
790
118
874

output:

5.0000000

result:

ok 

Test #37:

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

input:

11 1000
907
885
837
900
900
886
931
977
883
932
805

output:

impossible

result:

ok 

Test #38:

score: 0
Accepted
time: 24ms
memory: 9952kb

input:

60 1000
861
231
819
466
313
798
236
34
202
335
866
968
287
646
406
982
541
940
125
971
187
963
273
118
441
732
321
611
517
392
581
263
712
12
927
544
723
745
674
371
80
668
337
321
850
723
308
317
415
409
303
137
427
941
681
904
620
308
553
11

output:

5.0000000

result:

ok 

Test #39:

score: -100
Wrong Answer
time: 12ms
memory: 9060kb

input:

43 1000
861
819
466
313
798
335
866
968
646
406
982
541
940
971
963
441
732
321
517
392
581
712
927
544
723
745
674
371
80
668
321
850
723
317
415
409
303
427
941
681
904
620
11

output:

5.0000000

result:

wrong answer read 5.000000000 but expected 4.800000000, error = 0.041666667