QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#884293#9883. Near Pairucup-team6444AC ✓5ms4292kbC++142.8kb2025-02-05 23:36:312025-02-05 23:36:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 4096kb

input:

20000 1 60
4972
4972
1254
11254
295
15294
83
17582
18
18767
8
19381
0
19688
0
19843
0
19922
0
19959
0
19980
0
19989
0
19994
0
19996
0
19998
1239
11239
302
15301
79
17579
25
18775
3
19377
1
19687
0
19841
0
19922
0
19959
0
19979
0
19990
0
19994
0
19996
0
19998

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 58 questions

Test #2:

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

input:

20000 1 60
4995
4995
1293
11292
314
15313
68
17567
17
18767
5
19379
1
19686
1
19844
0
19922
0
19959
0
19980
0
19989
0
19993
0
19997
1273
11273
328
15327
75
17574
13
18762
4
19378
1
19686
0
19843
0
19922
0
19960
0
19979
0
19989
0
19994
0
19996
0
19997

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 56 questions

Test #3:

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

input:

20000 2 90
9988
9991
2487
22486
595
30592
178
35175
36
37533
11
38756
2
39377
2
39689
0
39843
0
39917
0
39957
0
39979
0
39987
0
39991
0
39995
616
30614
143
35141
38
37537
17
38762
2
39375
1
39688
0
39841
0
39919
0
39959
0
39979
0
39987
0
39991
0
39993

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 56 questions

Test #4:

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

input:

20000 2 90
9985
9984
2449
22448
620
30619
162
35159
43
37542
15
38762
3
39372
1
39686
1
39842
0
39919
0
39959
0
39977
0
39985
0
39993
2500
22500
608
30607
142
35141
31
37530
5
38752
2
39373
1
39682
0
39843
0
39917
0
39957
0
39979
0
39985
0
39995

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 54 questions

Test #5:

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

input:

20000 3 120
15006
15000
3720
33722
946
45945
236
52732
52
56299
17
58133
4
59062
1
59527
0
59763
0
59877
0
59937
0
59967
0
59976
0
59988
226
52721
951
45945
230
52728
48
56295
8
58124
6
59064
1
59530
0
59760
0
59877
0
59937
0
59967
0
59976
0
59988

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 54 questions

Test #6:

score: 0
Accepted
time: 5ms
memory: 4096kb

input:

20000 3 120
14948
14951
3706
33705
919
45918
216
52710
62
56308
15
58134
5
59057
1
59530
1
59764
1
59875
0
59934
0
59967
0
59976
0
59988
870
45865
232
52729
58
56305
7
58126
1
59056
0
59520
0
59760
0
59874
0
59934
0
59967
0
59979
0
59985
0
59991
3721
33717

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 56 questions

Test #7:

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

input:

20000 4 150
19882
19890
5020
45020
1247
61243
311
70301
74
75068
21
77508
315
70309
76
75066
25
77515
5
78743
1
79359
0
79678
0
79830
0
79914
0
79950
0
79970
0
79974
1206
61197
298
70288
73
75063
23
77516
6
78743
0
79366
0
79678
0
79834
0
79910
0
79954
0
79970
0
79978
0
79986

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 60 questions

Test #8:

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

input:

20000 4 150
19966
19969
5049
45043
1261
61251
328
70318
90
75084
25
77511
8
78754
1
79367
1
79679
1
79835
0
79910
0
79950
0
79970
0
79978
0
79986
1288
61281
290
70286
84
75080
21
77510
4966
44956
1298
61289
295
70287
74
75068
24
77514
4
78742
1
79359
0
79682
0
79830
0
79914
0
79954
0
79966
0
79982

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 64 questions

Test #9:

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

input:

20000 5 180
25108
25108
6291
56281
1565
76552
1579
76569
426
87916
111
93846
17
96877
7
98426
369
87859
97
93832
24
96884
9
98429
2
99197
0
99595
0
99785
0
99890
0
99935
0
99960
0
99970
0
99980
6314
56310
1508
76495
391
87877
97
93832
27
96882
7
98435
2
99212
1
99601
1
99786
0
99885
0
99935
0
99965
...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 66 questions

Test #10:

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

input:

20000 5 180
25010
25005
6237
56232
1555
76545
386
87876
90
93825
16
96876
4
98424
0
99200
0
99585
0
99785
0
99885
0
99940
0
99955
0
99975
397
87882
98
93834
6294
56299
1584
76575
385
87873
407
87897
108
93848
25
96883
86
93830
20
96879
11
98436
1
99211
0
99600
0
99790
0
99890
0
99935
0
99960
0
99970...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 66 questions

Test #11:

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

input:

20000 6 210
30027
30026
7529
67517
1916
91904
466
105451
107
112587
1868
91848
456
105439
119
112604
36
116259
8
118115
5
119048
1
119518
0
119745
0
119859
0
119925
0
119949
0
119955
7567
67551
1875
91865
445
105424
113
112598
38
116267
14
118115
1
119032
0
119517
0
119739
0
119859
0
119919
0
119955...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 68 questions

Test #12:

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

input:

20000 6 210
30054
30049
7637
67623
1904
91890
497
105476
115
112597
1868
91848
485
105464
111
112590
31
116260
9
118104
1
119044
1
119512
0
119739
0
119865
0
119919
0
119949
0
119961
0
119967
7432
67422
1842
91832
471
105455
124
112603
30
116253
8
118121
1
119044
0
119517
0
119745
0
119859
0
119919
...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 74 questions

Test #13:

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

input:

20000 7 240
34987
34990
8646
78641
2144
107127
558
123032
131
131359
556
123032
137
131361
2179
107151
575
123047
128
131355
8675
78661
2172
107158
559
123038
145
131374
45
135642
13
137794
6
138879
1
139420
0
139699
0
139839
0
139909
0
139937
0
139951
0
139965
140
131369
38
135635
11
137792
3
13887...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 70 questions

Test #14:

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

input:

20000 7 240
34953
34964
8741
78741
2206
107194
552
123024
126
131348
22
135622
5
137789
2
138871
0
139426
0
139699
0
139832
0
139902
0
139937
0
139944
542
123021
119
131341
42
135632
14
137802
3
138883
1
139434
0
139692
0
139839
0
139909
0
139930
0
139965
2184
107167
555
123032
8781
78764
2213
107191

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 58 questions

Test #15:

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

input:

20000 8 270
39884
39880
9982
89961
2478
122449
635
140599
167
150139
34
154998
5
157465
0
158708
0
159324
0
159652
0
159812
0
159884
0
159924
0
159940
0
159948
2488
122457
628
140602
172
150137
44
155009
11
157472
4
158704
0
159340
0
159653
0
159813
0
159891
9868
89847
2531
122499
641
140605
155
150...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 86 questions

Test #16:

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

input:

20000 8 270
39939
39948
10003
89988
2499
122474
610
140584
162
150130
634
140598
149
150123
36
154992
9
157487
0
158718
1
159349
0
159652
0
159804
0
159884
0
159924
0
159940
0
159956
2544
122517
617
140584
594
140565
159
150123
39
154995
10
157478
2
158718
0
159348
0
159652
0
159804
0
159884
0
15992...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 80 questions

Test #17:

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

input:

20000 9 300
45025
45047
11401
101395
2882
137847
734
158199
179
168894
48
174373
698
158173
155
168873
41
174375
8
177150
2
178535
1
179267
0
179604
0
179775
0
179874
0
179901
0
179946
165
168872
2832
137790
661
158124
154
168876
33
174354
7
177162
1
178552
0
179253
0
179595
0
179784
0
179865
0
1799...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 64 questions

Test #18:

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

input:

20000 9 300
44963
44965
11223
101197
2781
137749
709
158169
2855
137823
718
158173
199
168908
43
174364
9
177165
3
178563
0
179262
0
179595
0
179775
0
179874
0
179901
0
179946
695
158162
165
168876
11157
101140
2780
137747
719
158181
655
158111
190
168904
44
174365
9
177156
6
178557
2
179264
1
17959...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 68 questions

Test #19:

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

input:

20000 10 330
50088
50078
12542
112512
3133
153086
767
175716
186
187631
51
193749
16
196834
6
198384
1
199150
3148
153093
773
175727
189
187634
43
193739
13
196818
3
198388
0
199170
12362
112351
3146
153112
767
175721
187
187632
50
193735
8
196833
4
198389
0
199177
0
199545
0
199745
0
199855
0
19989...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 108 questions

Test #20:

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

input:

20000 10 330
49999
49981
12533
112493
3090
153035
802
175759
177
187626
3185
153139
761
175713
12591
112569
3143
153088
813
175787
206
187658
54
193745
15
196840
3
198404
0
199172
3071
153048
800
175758
208
187653
40
193735
6
196811
1
198396
0
199175
0
199545
0
199745
0
199855
0
199895
0
199915
0
19...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 76 questions

Test #21:

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

input:

20000 1 60
4980
4980
1279
11279
308
15307
73
17573
16
18766
2
19375
1
19689
1
19844
0
19922
0
19960
0
19980
0
19989
0
19993
0
19998
1258
11258
314
15313
83
17582
23
18772
5
19379
1
19686
0
19844
0
19921
0
19959
0
19979
0
19990
0
19994
0
19996
0
19998

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 56 questions

Test #22:

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

input:

20000 1 60
5017
5017
1254
11254
296
15296
70
17570
12
18762
2
19376
0
19685
0
19843
0
19922
0
19960
0
19980
0
19990
0
19993
0
19998
1242
11242
319
15318
86
17586
24
18774
10
19384
1
19686
0
19844
0
19921
0
19960
0
19980
0
19990
0
19994
0
19996
0
19997

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 56 questions

Test #23:

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

input:

20000 1 60
5034
5033
1261
11262
292
15292
69
17569
13
18763
1
19374
0
19688
0
19844
0
19921
0
19960
0
19980
0
19990
0
19993
0
19998
72
17571
19
18769
6
19379
2
19690
0
19844
0
19921
0
19960
0
19979
0
19990
0
19993
0
19997

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 50 questions

Test #24:

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

input:

20000 1 60
5052
5053
1229
11228
302
15302
72
17571
17
18767
3
19377
1
19686
0
19843
0
19921
0
19960
0
19979
0
19989
0
19993
0
19998
83
17582
22
18771
4
19378
2
19687
1
19844
0
19922
0
19960
0
19979
0
19990
0
19994
0
19995

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 50 questions

Test #25:

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

input:

20000 1 60
4964
4965
1252
11252
340
15340
84
17583
16
18766
4
19378
2
19687
0
19843
0
19921
0
19959
0
19979
0
19990
0
19993
0
19998
322
15322
85
17585
18
18768
6
19379
2
19689
0
19843
0
19922
0
19960
0
19979
0
19989
0
19993
0
19997

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 52 questions

Test #26:

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

input:

20000 1 60
4986
4986
1263
11263
326
15325
91
17590
23
18772
4
19377
0
19687
0
19844
0
19922
0
19959
0
19980
0
19990
0
19994
0
19995
1257
11257
323
15322
65
17565
17
18766
6
19379
1
19688
0
19844
0
19921
0
19960
0
19980
0
19990
0
19994
0
19995

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 54 questions

Test #27:

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

input:

20000 1 60
4931
4932
1268
11269
339
15339
98
17598
25
18775
6
19379
2
19690
1
19844
0
19922
0
19960
0
19980
0
19989
0
19994
0
19996
0
19998
78
17577
18
18768
6
19380
2
19688
1
19842
0
19922
0
19960
0
19980
0
19990
0
19994
0
19996
0
19997

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 54 questions

Test #28:

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

input:

20000 1 60
4986
4986
1223
11223
292
15291
69
17569
19
18768
6
19380
3
19689
0
19841
0
19921
0
19960
0
19980
0
19990
0
19994
0
19996
0
19997
1269
11268
301
15300
81
17581
23
18773
6
19379
0
19688
0
19843
0
19921
0
19959
0
19979
0
19990
0
19994
0
19995

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 56 questions

Test #29:

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

input:

20000 1 60
5042
5042
1272
11272
305
15304
90
17589
14
18763
2
19375
0
19687
0
19844
0
19922
0
19959
0
19979
0
19989
0
19995
0
19998
1226
11226
350
15349
69
17568
24
18773
4
19378
0
19686
0
19841
0
19921
0
19960
0
19980
0
19990
0
19994
0
19996
0
19997

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 56 questions

Test #30:

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

input:

20000 1 60
5058
5058
1231
11230
311
15310
81
17581
19
18769
5
19379
1
19687
0
19842
0
19919
0
19960
0
19980
0
19990
0
19994
0
19995
1279
11279
313
15313
82
17581
12
18761
5
19378
3
19690
0
19843
0
19921
0
19959
0
19979
0
19990
0
19994
0
19996
0
19998

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 56 questions

Test #31:

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

input:

20000 10 330
50036
50048
12587
112568
3111
153072
734
175689
175
187620
46
193741
13
196828
3
198378
0
199146
785
175736
207
187661
3062
153009
814
175780
187
187642
35
193728
51
193736
13
196838
2
198394
12508
112483
3135
153102
783
175739
209
187658
171
187626
36
193731
7
196812
1
198386
0
199165
...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 92 questions

Test #32:

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

input:

20000 10 330
49866
49840
12476
112438
3066
153018
812
175757
200
187645
45
193740
8
196813
3
198388
2
199177
0
199545
1
199756
0
199855
0
199885
0
199925
3182
153128
793
175742
12339
112327
2953
152916
747
175692
179
187634
35
193720
12
196847
2
198397
0
199165
0
199555
0
199745
0
199855
0
199894
78...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 100 questions

Test #33:

score: 0
Accepted
time: 5ms
memory: 4224kb

input:

20000 10 330
50082
50083
12537
112507
3151
153111
771
175725
789
175744
193
187638
48
193743
11
196826
3
198378
1
199146
0
199555
0
199755
0
199845
0
199885
0
199925
3088
153041
781
175730
196
187641
49
193753
10
196825
4
198369
2
199177
1
199546
0
199745
0
199855
0
199895
0
199915
0
199935
12481
11...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 70 questions

Test #34:

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

input:

20000 10 330
50058
50067
12432
112408
3194
153148
763
175720
189
187639
186
187641
45
193732
3110
153070
774
175729
180
187625
50
193735
15
196850
4
198389
0
199165
0
199545
0
199745
0
199845
0
199905
0
199925
792
175742
193
187641
51
193746
7
196812
5
198390
4
199169
0
199545
1
199756
0
199845
0
19...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 80 questions

Test #35:

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

input:

20000 10 330
50003
49997
12593
112567
3076
153037
760
175711
215
187660
44
193729
10
196835
2
198387
0
199165
0
199555
0
199745
0
199855
0
199885
0
199925
798
175756
193
187646
3166
153130
771
175732
190
187641
51
193746
18
196823
5
198400
1
199166
1
199546
1
199756
0
199845
0
199895
0
199915
0
1999...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 76 questions

Test #36:

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

input:

20000 10 330
49968
49966
12545
112517
3093
153047
816
175763
184
187637
3072
153036
773
175732
203
187662
66
193756
12407
112375
3122
153073
727
175682
185
187630
37
193722
10
196845
2
198397
1
199176
0
199545
0
199745
0
199845
0
199905
0
199925
3083
153054
752
175712
188
187634
45
193744
16
196821
...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 74 questions

Test #37:

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

input:

20000 10 330
50054
50051
12489
112452
3088
153035
772
175733
174
187635
45
193746
15
196829
3078
153042
745
175708
177
187640
36
193739
9
196820
1
198398
0
199174
819
175764
217
187677
50
193745
14
196829
3
198368
1
199176
1
199556
0
199745
0
199855
0
199885
0
199935
12644
112605
3150
153103
3188
15...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 88 questions

Test #38:

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

input:

20000 10 330
50009
50000
12441
112409
3169
153132
809
175764
214
187669
42
193737
8
196823
5
198370
0
199165
0
199545
0
199745
0
199855
0
199885
0
199925
3036
153003
787
175751
214
187670
62
193754
12500
112486
3113
153076
778
175732
832
175787
208
187663
51
193739
196
187651
55
193740
9
196844
1
19...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 78 questions

Test #39:

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

input:

20000 10 330
49951
49950
12505
112470
3069
153029
771
175731
166
187616
46
193731
15
196840
6
198392
3091
153057
812
175769
213
187660
46
193731
10
196845
1
198396
0
199175
0
199545
0
199755
0
199845
0
199895
0
199915
0
199935
761
175719
196
187649
12404
112381
3134
153089
803
175748
190
187645
51
1...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 90 questions

Test #40:

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

input:

20000 10 330
50021
50014
12331
112293
3146
153098
757
175711
3174
153128
793
175754
188
187633
58
193759
12
196827
5
198370
1
199176
1
199546
0
199755
0
199845
0
199895
0
199915
0
199935
12426
112396
3142
153096
731
175692
185
187639
3174
153136
813
175763
174
187626
787
175750
214
187669
45
193740
...

output:

? 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok 72 questions