UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#103603#1315. 愤怒的牛2017beijiang35310098ms1596kbC++451b2020-02-29 15:56:012020-02-29 15:56:04

answer


Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 1204kb

input:

5 3
1
2
8
4
9

output:

3

result:

ok single line: '3'

Test #2:

score: 10
Accepted
time: 1ms
memory: 1204kb

input:

12 8
1
3
6
11
18
27
38
41
56
73
92
113

output:

10

result:

ok single line: '10'

Test #3:

score: 10
Accepted
time: 0ms
memory: 1216kb

input:

64 19
8
11
18
37
57
65
83
101
112
115
129
130
146
149
153
159
166
167
172
191
201
205
227
228
234
27...

output:

43

result:

ok single line: '43'

Test #4:

score: 10
Accepted
time: 0ms
memory: 1216kb

input:

322 120
0
2
5
18
22
27
32
33
35
56
65
66
67
69
82
101
119
132
160
166
182
199
206
208
212
222
231
24...

output:

28

result:

ok single line: '28'

Test #5:

score: 10
Accepted
time: 1ms
memory: 1216kb

input:

957 888
0
1
5
6
14
25
27
29
30
36
49
51
52
53
54
58
59
75
77
84
85
86
87
97
99
104
110
127
137
139
1...

output:

1

result:

ok single line: '1'

Test #6:

score: 10
Accepted
time: 9ms
memory: 1304kb

input:

23552 4307
4
21
76
93
154
159
168
195
202
223
240
248
264
352
360
362
409
466
530
546
560
652
667
73...

output:

190

result:

ok single line: '190'

Test #7:

score: 10
Accepted
time: 40ms
memory: 1516kb

input:

77777 3333
40
3079
4577
6551
6868
7665
8111
8169
9698
9850
14071
14854
15010
15640
16913
17992
18621...

output:

28729

result:

ok single line: '28729'

Test #8:

score: 10
Accepted
time: 47ms
memory: 1596kb

input:

100000 22222
2416
4989
9643
14975
16536
23354
23893
27489
35822
44120
56748
78407
80327
84077
94559
...

output:

34954

result:

ok single line: '34954'

Test #9:

score: 10
Accepted
time: 0ms
memory: 1216kb

input:

19 15
1
2
3
5
8
13
21
34
55
89
144
233
377
610
987
1597
2584
4181
6765

output:

8

result:

ok single line: '8'

Test #10:

score: 10
Accepted
time: 0ms
memory: 1216kb

input:

25 8
1
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
65536
131072
262144
524288
1048576...

output:

262143

result:

ok single line: '262143'