QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505593#3429. Birds on a Wirexiaowuc1AC ✓102ms43164kbJava82.1kb2024-08-05 06:20:292024-08-05 06:20:30

详细

Test #1:

score: 100
Accepted
time: 36ms
memory: 38068kb

input:

4000 20 12
45
68
132
177
2003
2489
2560
2998
3020
3111
3870
3910

output:

183

result:

ok single line: '183'

Test #2:

score: 0
Accepted
time: 41ms
memory: 38532kb

input:

200 10 19
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190

output:

0

result:

ok single line: '0'

Test #3:

score: 0
Accepted
time: 34ms
memory: 37072kb

input:

31 4 4
12
17
21
25

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 40ms
memory: 37652kb

input:

30000 5 0

output:

5998

result:

ok single line: '5998'

Test #5:

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

input:

513881553 8143359 20
57220255
347777697
290954260
134966597
121436240
412316340
41955302
206368879
73077580
375563758
259813840
459750724
393473632
449779868
355945088
321144097
157114932
106984704
145727905
4028641

output:

34

result:

ok single line: '34'

Test #6:

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

input:

648544064 717647 47
147062758
441714629
580842931
436206238
426227862
439096432
309419257
149455178
592769600
614480981
101812321
478665998
115260498
53704767
474089546
30570912
428802828
452458551
210771705
57381180
626893142
499704128
61377562
169440650
608625128
281326937
623018982
331743100
2866...

output:

837

result:

ok single line: '837'

Test #7:

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

input:

142465404 18722 801
53336799
21691211
60919909
82315396
28584791
131034189
60359884
113140085
38353208
74227421
128130638
106909581
45345930
7321932
114709359
31918091
136877842
39732632
93463624
71531163
91301303
3977552
50917755
79997753
70975845
47798143
65446548
7495646
70316504
123803055
933114...

output:

6410

result:

ok single line: '6410'

Test #8:

score: 0
Accepted
time: 40ms
memory: 39316kb

input:

841911516 567629 1134
555670583
39122232
804912590
560769417
828220108
340750173
816168723
499167892
801976443
750419095
88768131
158975146
779592764
498005791
260329918
589497875
432048972
316740471
256432692
108667493
657350316
294901782
291879321
801379063
467509329
68511776
511389788
358067871
7...

output:

44

result:

ok single line: '44'

Test #9:

score: 0
Accepted
time: 102ms
memory: 43164kb

input:

71822214 846 17350
15516232
30496047
69898070
34373938
40527836
28663740
21327010
40697547
52709022
35916193
41109701
606879
21468871
1737466
34201385
43264301
62858817
4167934
43992510
28030250
29706457
12496329
41971313
5639263
48362045
10981882
57924582
32804537
40645150
66015538
35049378
1436812...

output:

59223

result:

ok single line: '59223'