QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#815156#9883. Near Pairucup-team1878#AC ✓2ms3992kbC++232.2kb2024-12-15 05:54:522024-12-15 05:54:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

20000 1 60
5057
5058
1250
11250
309
15309
69
17569
18
18767
2
19378
0
19688
0
19843
0
19921
0
19962
0
19981
0
19989
0
19996
0
19997
318
15317
75
17575
17
18766
3
19378
2
19689
0
19844
0
19922
0
19961
0
19980
0
19989
0
19996
0
19997

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 52 questions

Test #2:

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

input:

20000 1 60
5029
5029
1262
11262
328
15328
86
17585
25
18774
6
19381
2
19690
2
19845
0
19922
0
19961
0
19980
0
19989
0
19995
0
19998
1255
11255
314
15314
80
17580
17
18767
7
19382
3
19690
0
19844
0
19922
0
19962
0
19982
0
19992
0
19995
0
19998

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 54 questions

Test #3:

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

input:

20000 2 90
10072
10074
2502
22500
617
30618
159
35160
37
37536
15
38764
2
39377
1
39686
1
39844
0
39921
0
39959
0
39977
0
39989
0
39995
6
38755
6
39381
2
39687
1
39842
0
39923
0
39963
0
39981
0
39989
0
39993
0
39993

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 48 questions

Test #4:

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

input:

20000 2 90
9851
9852
2459
22457
620
30619
170
35169
44
37541
7
38756
3
39376
0
39685
0
39843
0
39921
0
39959
0
39979
0
39989
0
39995
2466
22465
625
30624
156
35153
44
37543
10
38761
3
39378
1
39686
0
39843
0
39921
0
39957
0
39979
0
39991
0
39995

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 54 questions

Test #5:

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

input:

20000 3 120
15010
15008
3743
33737
934
45929
253
52747
65
56312
21
58143
5
59063
0
59529
0
59762
3710
33710
901
45901
220
52720
51
56298
13
58138
4
59065
2
59531
2
59765
0
59880
0
59937
0
59967
0
59982
0
59991
11
58133
5
59066
3
59529
0
59760
0
59883
0
59940
0
59964
0
59982
0
59991

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 62 questions

Test #6:

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

input:

20000 3 120
15103
15104
3738
33738
959
45958
247
52746
75
56322
24
58146
4
59062
1
59527
1
59764
0
59883
0
59943
0
59973
0
59985
0
59991
3767
33766
927
45926
251
52747
48
56295
8
58133
1
59062
0
59529
0
59760
0
59883
0
59943
0
59973
0
59985
0
59988

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 54 questions

Test #7:

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

input:

20000 4 150
20024
20022
5038
45033
1237
61228
318
70312
75
75065
24
77522
9
78751
0
79366
0
79682
0
79838
0
79910
0
79954
0
79974
0
79982
0
79986
5007
45001
1276
61268
1238
61231
336
70331
83
75078
31
77526
4
78750
1
79367
0
79682
0
79842
0
79918
0
79950
0
79974
0
79982
0
79982

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 60 questions

Test #8:

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

input:

20000 4 150
19983
19987
4948
44940
1254
61244
329
70328
73
75072
14
77515
2
78748
0
79366
1
79679
1
79839
0
79914
0
79950
0
79974
0
79986
4937
44932
1240
61231
296
70290
62
75056
16
77514
4
78750
2
79368
0
79678
0
79842
0
79918
0
79954
0
79978
0
79986

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 54 questions

Test #9:

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

input:

20000 5 180
25078
25068
6291
56277
6143
56141
1497
76490
369
87858
395
87880
108
93848
27
96897
10
98440
4
99209
0
99595
0
99795
0
99885
0
99940
0
99965
0
99975
0
99975
1575
76569
397
87885
99
93835
20
96890
5
98430
1
99211
0
99600
0
99795
0
99885
0
99935
0
99965
0
99975
0
99980

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 60 questions

Test #10:

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

input:

20000 5 180
25003
25006
6196
56192
1513
76501
385
87874
1562
76547
425
87917
97
93839
24
96896
4
98434
1
99211
1
99601
1
99796
0
99890
0
99935
0
99970
0
99980
6243
56228
1569
76561
382
87869
85
93824
368
87858
92
93827
19
96884
8
98433
2
99207
1
99596
0
99785
0
99890
0
99940
0
99970
0
99980

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 62 questions

Test #11:

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

input:

20000 6 210
30005
30016
7484
67474
1885
91875
494
105474
109
112595
27
116267
1919
91898
434
105417
118
112603
27
116268
6
118119
2
119045
0
119511
0
119757
0
119871
0
119919
0
119955
0
119967
0
119967
39
116285
5
118117
2
119045
1
119512
0
119751
0
119859
0
119925
0
119961
0
119973

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 56 questions

Test #12:

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

input:

20000 6 210
29970
29974
7452
67450
1909
91907
464
105446
108
112597
28
116273
7
118119
32
116273
14
118127
4
119053
1
119518
0
119751
0
119859
0
119925
0
119961
0
119967
1841
91824
7560
67548
1917
91896
474
105459
114
112593
33
116274
6
118119
2
119051
0
119517
0
119751
0
119865
0
119919
0
119955
0
...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 60 questions

Test #13:

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

input:

20000 7 240
35132
35126
8908
78895
2210
107186
549
123021
139
131361
30
135640
2238
107216
8776
78772
2214
107204
533
123015
115
131346
19
135623
3
137800
0
138889
0
139433
0
139706
0
139832
0
139902
0
139951
0
139965
146
131373
2182
107157
545
123024
140
131362
37
135641
4
137799
0
138880
1
139427
...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 68 questions

Test #14:

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

input:

20000 7 240
34918
34913
8716
78701
2182
107164
549
123027
2153
107125
548
123021
129
131359
32
135641
8744
78730
2207
107193
561
123040
133
131362
32
135643
10
137798
0
138880
0
139426
0
139713
0
139853
0
139923
0
139951
0
139965
136
131363
2125
107097
572
123056
117
131345
126
131355
30
135641
4
13...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 70 questions

Test #15:

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

input:

20000 8 270
39979
39985
9944
89929
2534
122504
596
140565
154
150118
38
155014
2495
122470
585
140553
583
140551
10082
90066
2528
122505
656
140625
147
150119
38
155018
10
157486
3
158727
1
159349
0
159660
0
159812
0
159892
0
159940
0
159948
2509
122475
622
140586
172
150136
43
155023
9
157477
2
158...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 68 questions

Test #16:

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

input:

20000 8 270
39913
39909
9988
89966
2461
122435
626
140598
145
150109
44
155016
11
157487
3
158727
0
159348
0
159660
0
159804
0
159890
2576
122550
672
140636
164
150138
43
155015
8
157481
623
140587
190
150162
45
155017
14
157482
7
158723
1
159341
0
159644
0
159804
0
159884
0
159940
0
159948
9912
899...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 82 questions

Test #17:

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

input:

20000 9 300
45045
45045
11174
101149
2841
137802
706
158175
169
168880
2803
137776
675
158141
168
168878
11287
101262
2767
137733
668
158126
675
158139
169
168874
47
174395
8
177162
2837
137801
685
158149
163
168868
46
174385
11
177158
3
178563
2
179264
0
179622
0
179793
0
179865
0
179919
0
179937
0...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 80 questions

Test #18:

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

input:

20000 9 300
45050
45055
11145
101135
2736
137715
693
158162
186
168892
40
174384
173
168881
729
158195
174
168879
43
174382
7
177156
6
178557
0
179253
0
179604
0
179775
0
179874
0
179928
0
179946
2816
137786
710
158175
182
168887
44
174386
11376
101335
2769
137746
698
158153
172
168894
44
174385
5
1...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 72 questions

Test #19:

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

input:

20000 10 330
49932
49920
12556
112508
3166
153127
774
175730
175
187631
48
193759
758
175713
194
187639
45
193750
9
196844
3
198398
1
199166
0
199565
0
199745
0
199845
0
199905
0
199935
207
187662
59
193764
16
196841
2
198387
2
199167
0
199545
0
199755
0
199845
0
199905
0
199925
0
199935

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 56 questions

Test #20:

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

input:

20000 10 330
49897
49911
12415
112395
3148
153110
799
175744
204
187649
43
193751
8
196838
766
175711
213
187676
51
193758
9
196840
4
198389
1
199166
0
199555
0
199745
0
199845
0
199905
0
199925
0
199935
3242
153212
798
175753
203
187651
194
187648
12384
112340
3101
153046
774
175723
3081
153033
792...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 76 questions

Test #21:

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

input:

20000 1 60
5014
5013
1252
11251
311
15311
80
17579
17
18766
6
19382
1
19689
0
19844
0
19921
0
19962
0
19981
0
19990
0
19996
0
19998
84
17584
23
18773
6
19381
2
19689
1
19845
0
19921
0
19962
0
19981
0
19989
0
19996
0
19998

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 50 questions

Test #22:

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

input:

20000 1 60
4974
4974
1262
11261
336
15335
71
17570
14
18763
1
19377
0
19688
0
19844
0
19922
0
19961
0
19979
0
19990
0
19996
0
19998
1227
11226
301
15300
85
17584
20
18770
3
19379
2
19690
0
19844
0
19921
0
19962
0
19982
0
19992
0
19996
0
19997

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 54 questions

Test #23:

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

input:

20000 1 60
5013
5012
1285
11285
314
15313
72
17572
21
18771
4
19379
3
19691
1
19844
0
19922
0
19961
0
19979
0
19990
0
19996
0
19997
292
15292
62
17562
17
18767
3
19379
0
19687
0
19843
0
19922
0
19961
0
19979
0
19990
0
19996
0
19998

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 52 questions

Test #24:

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

input:

20000 1 60
5023
5024
1276
11276
328
15328
74
17574
23
18772
6
19381
0
19687
0
19843
0
19922
0
19962
0
19981
0
19989
0
19996
0
19998
307
15307
87
17586
16
18766
4
19379
2
19689
0
19843
0
19921
0
19959
0
19980
0
19989
0
19995
0
19998

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 52 questions

Test #25:

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

input:

20000 1 60
5007
5008
1203
11204
300
15300
80
17579
17
18766
7
19383
2
19689
0
19844
0
19922
0
19961
0
19980
0
19990
0
19995
0
19997
0
19997
68
17567
23
18772
4
19379
1
19688
1
19845
0
19921
0
19962
0
19981
0
19989
0
19995
0
19998

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 52 questions

Test #26:

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

input:

20000 1 60
5024
5024
1279
11279
306
15305
80
17580
17
18767
2
19378
0
19687
1
19845
1
19923
1
19962
0
19980
0
19989
0
19996
0
19997
1253
11253
323
15322
80
17579
23
18773
5
19380
2
19690
1
19845
0
19921
0
19962
0
19981
0
19989
0
19996
0
19997

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 54 questions

Test #27:

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

input:

20000 1 60
4954
4954
1225
11225
337
15336
81
17580
19
18769
5
19381
1
19688
0
19844
0
19922
0
19961
0
19979
0
19989
0
19995
0
19997
0
19997
1271
11270
302
15302
84
17584
22
18771
6
19381
0
19688
0
19843
0
19921
0
19962
0
19982
0
19991
0
19996
0
19997

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 56 questions

Test #28:

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

input:

20000 1 60
5037
5036
1284
11285
313
15313
64
17564
15
18764
0
19375
1
19688
0
19844
0
19922
0
19961
0
19979
0
19989
0
19995
0
19997
0
19997
74
17574
24
18773
5
19381
2
19690
0
19844
0
19921
0
19961
0
19980
0
19990
0
19996
0
19997

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 52 questions

Test #29:

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

input:

20000 1 60
5010
5010
1254
11253
325
15325
81
17581
25
18774
2
19377
3
19691
0
19844
0
19921
0
19962
0
19981
0
19989
0
19996
0
19997
1243
11242
302
15302
68
17568
16
18765
1
19376
1
19688
0
19843
0
19922
0
19962
0
19982
0
19992
0
19995
0
19998

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 54 questions

Test #30:

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

input:

20000 1 60
4947
4947
1225
11225
319
15319
89
17589
19
18768
10
19385
3
19690
0
19843
0
19921
0
19959
0
19980
0
19990
0
19995
0
19997
0
19998
1261
11261
323
15323
73
17572
21
18770
4
19379
2
19689
0
19843
0
19922
0
19962
0
19981
0
19990
0
19995
0
19997
0
19998

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 58 questions

Test #31:

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

input:

20000 10 330
49969
49983
12538
112529
3177
153151
771
175729
193
187651
48
193761
188
187639
50
193765
13
196848
3
198388
0
199165
0
199565
0
199755
0
199855
0
199905
0
199925
0
199925
788
175744
191
187638
3173
153136
815
175771
214
187663
12527
112488
3096
153048
3117
153087
801
175771
221
187673
...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 72 questions

Test #32:

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

input:

20000 10 330
50093
50093
12632
112595
3211
153159
776
175730
3104
153066
782
175742
206
187651
57
193770
736
175686
194
187652
52
193757
10
196845
3
198388
1
199166
1
199566
0
199755
0
199845
0
199915
0
199925
12519
112494
3016
152979
769
175714
205
187668
42
193757
12
196837
2
198387
0
199165
1
199...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 66 questions

Test #33:

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

input:

20000 10 330
49932
49935
12458
112414
3104
153060
798
175754
188
187644
52
193759
3147
153095
786
175754
223
187681
51
193769
8
196846
1
198389
0
199175
0
199565
0
199755
0
199845
0
199905
0
199925
0
199925
41
193756
15
196840
0
198395
0
199165
0
199575
0
199775
0
199875
0
199905
0
199925

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 56 questions

Test #34:

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

input:

20000 10 330
49872
49871
12438
112427
3148
153130
761
175723
187
187632
50
193762
13
196848
3
198388
0
199175
0
199565
0
199755
0
199855
0
199915
0
199925
202
187650
51
193773
13
196845
5
198400
3
199168
0
199575
0
199773
3114
153069
795
175750
187
187642
36
193751
4
196839
1
198386
0
199165
0
19957...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 66 questions

Test #35:

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

input:

20000 10 330
49852
49856
12517
112499
3109
153065
742
175691
799
175762
205
187659
3200
153151
783
175728
225
187676
43
193748
10
196835
4
198399
0
199175
0
199575
0
199765
0
199845
0
199915
0
199925
12585
112556
3140
153096
763
175710
760
175709
188
187633
51
193759
3066
153017
743
175698
211
18766...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 72 questions

Test #36:

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

input:

20000 10 330
49881
49875
12452
112417
3081
153039
787
175734
179
187627
3099
153059
781
175726
198
187643
50
193755
10
196850
3
198394
812
175771
188
187642
12376
112353
3091
153036
810
175782
209
187681
57
193785
12
196850
4
198389
0
199178
0
199578
0
199771
5
198400
1
199176
0
199575
0
199775
0
19...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 86 questions

Test #37:

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

input:

20000 10 330
50026
49998
12571
112539
3126
153085
779
175728
192
187637
48
193753
12
196837
2
198387
0
199175
0
199575
0
199775
0
199875
0
199915
0
199935
12543
112541
3188
153170
811
175793
197
187656
51
193762
57
193781
19
196844
2
198387
1
199176
0
199575
0
199775
0
199875
0
199915
0
199925

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 56 questions

Test #38:

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

input:

20000 10 330
49745
49773
12515
112509
3195
153149
789
175760
198
187661
47
193758
9
196842
195
187645
3028
152992
727
175681
195
187640
50
193765
15
196840
3
198398
2
199177
0
199565
0
199745
0
199845
0
199915
0
199935
742
175694
12467
112428
3134
153089
817
175762
194
187649
50
193755
13
196848
3
1...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 68 questions

Test #39:

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

input:

20000 10 330
49822
49799
12528
112480
3115
153075
781
175726
178
187638
50
193770
16
196850
849
175797
12517
112505
3185
153147
786
175743
202
187647
57
193774
13
196842
781
175737
190
187636
55
193770
18
196853
1
198386
0
199175
0
199575
0
199765
0
199855
0
199905
0
199925
0
199925
185
187645
41
19...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 86 questions

Test #40:

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

input:

20000 10 330
50082
50055
12552
112524
3167
153129
809
175763
835
175784
12577
112553
3234
153194
804
175758
787
175742
191
187646
48
193753
11
196846
2
198397
1
199176
0
199565
1
199746
0
199855
0
199915
0
199935
3132
153108
794
175763
203
187658
60
193768
54
193759
11
196850
2
198392
732
175697
186...

output:

? 1000100101000011101000000010110111111111110001111010100001110111000010011000110001111100001000100100111100001110001100101100010011001111101010101101001010101111111000011001101001110000000001011100111001110000111110100010011101111000101110001011111010001001110001011001111010111000100100001001100010...

result:

ok 74 questions