QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#748782#5309. Guess Cycle Lengthtzl_Dedicatus545AC ✓19ms4212kbC++232.9kb2024-11-14 21:25:552024-11-14 21:25:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 5ms
memory: 3848kb

input:

1
9
10
6
4
3
3
1
4
1
6
4
5
7
7
1
2
8
1
4
5
5
6
1
7
10
6
10
3
2
2
4
5
5
1
8
1
8
9
10
1
6
4
8
6
2
9
8
1
2
10
8
10
10
1
1
3
2
8
5
4
3
8
10
8
1
5
3
1
1
4
8
4
8
10
2
3
10
3
8
1
7
3
8
1
8
3
5
4
8
10
5
9
2
10
6
6
3
9
7
3
7
3
7
2
10
3
9
9
6
5
7
8
9
7
9
6
1
10
6
7
6
1
5
8
8
5
5
3
5
1
8
3
6
10
10
3
7
8
3
7
10...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=4011

Test #2:

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

input:

16
12
13
3
5
2
2
18
5
16
8
15
10
4
14
16
1
9
18
15
10
20
3
18
4
13
3
6
17
11
11
5
10
10
18
9
18
7
12
6
18
3
15
9
3
1
19
9
16
1
13
9
6
6
18
18
17
1
7
10
5
17
7
13
9
16
10
2
16
16
15
9
5
7
6
11
2
13
2
7
16
14
2
7
18
7
17
20
15
7
13
10
19
1
13
3
8
17
19
4
2
14
17
4
11
6
17
19
12
8
20
4
9
19
14
19
3
16
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=4021

Test #3:

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

input:

4365
2169
1392
670
64
2451
5671
1755
744
3465
1840
6834
7687
9213
3163
2805
8888
8276
7835
9654
3127
637
8070
435
6513
3012
4270
8722
2081
4758
3498
6444
27
3667
3795
7556
8615
2206
5409
9202
1335
4110
1514
136
3410
448
9279
96
65
3408
572
8376
4882
6062
2215
2455
8241
6568
8666
3747
3784
9081
9246
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #4:

score: 0
Accepted
time: 16ms
memory: 4200kb

input:

662124365
578632169
757121392
508290670
639220064
10452451
302845671
410691755
473290744
978583465
924571840
70446834
938987687
207879213
351423163
705862805
815928888
933878276
523187835
124499654
343533127
246920637
850028070
74760435
130176513
198333012
860804270
780128722
789832081
605344758
843...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7049

Test #5:

score: 0
Accepted
time: 12ms
memory: 3996kb

input:

664044175
580551979
759041202
510210480
641139874
12372261
304765481
412611565
475210554
980503275
926491650
72366644
940907497
209799023
353342973
707782615
817848698
935798086
525107645
126419464
345452937
248840447
851947880
76680245
132096323
200252822
862724080
782048532
791751891
607264568
845...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7120

Test #6:

score: 0
Accepted
time: 13ms
memory: 3952kb

input:

636440429
47629737
703693208
828861414
244102152
583733651
877273591
590898459
744972512
610401129
367718504
999530442
443242423
939144525
775573675
962024309
831412000
426129676
468864619
56019582
470665303
229524573
636181214
647414819
907866625
994889948
330968614
483400618
238438161
157010990
20...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7036

Test #7:

score: 0
Accepted
time: 19ms
memory: 3952kb

input:

662124365
578632169
757121392
150703933
639220064
374289424
121464596
248172888
184918475
978583465
924571840
318949057
938987687
445887870
37909256
705862805
815928888
933878276
167739208
295436021
46763892
411565038
850028070
314898624
292691890
488778663
860804270
780128722
789832081
605344758
84...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7049

Test #8:

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

input:

804975569
387208244
709047467
506824172
440363253
122054143
114703624
637498118
63154117
24065492
917295347
682067075
233442051
632232503
327296464
838649870
688283842
438333868
925246307
456117084
250719691
433840582
902383014
216190263
488156672
678050501
740749583
297239461
43884103
624931935
472...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7012

Test #9:

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

input:

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=4002

Test #10:

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

input:

10
2
3
9
1
6
6
10
1
10
9
1
8
4
4
10
5
7
10
1
8
8
9
10
4
3
9
3
6
5
5
1
8
8
10
7
10
7
2
3
10
9
1
7
9
5
2
7
10
5
3
7
3
3
10
10
6
5
7
8
1
6
7
3
7
10
8
6
10
10
1
7
1
7
3
5
6
3
6
7
10
4
6
7
10
7
6
8
1
7
3
8
2
5
3
9
9
6
2
4
6
4
6
4
5
3
6
2
2
9
8
4
7
2
4
2
9
10
3
9
4
9
10
8
7
7
8
8
6
8
10
7
6
9
3
3
6
4
7
6
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=4011

Test #11:

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

input:

695
236
888
166
611
87
14
827
713
1000
588
564
939
836
452
234
132
333
359
795
936
486
307
458
696
826
207
511
772
11
567
366
804
434
673
29
18
610
977
172
683
193
348
73
763
678
583
806
545
603
572
587
208
218
581
47
926
428
680
733
173
772
190
515
741
549
939
857
906
892
348
75
281
820
502
608
52
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=5001

Test #12:

score: 0
Accepted
time: 19ms
memory: 4212kb

input:

7599
6395
9837
1274
9888
2368
2023
8384
8691
9197
7961
6665
7336
6973
8399
7791
4351
6387
7906
8427
6247
9969
4194
9301
2689
5289
1976
6266
9203
940
8495
2116
6764
6630
2422
1984
4621
2067
1071
5205
9187
3766
2880
8934
6708
7058
5415
2901
9134
9357
3521
3210
4312
9416
520
636
3955
9504
9005
7026
989...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #13:

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

input:

16139
90803
65709
90163
9633
66722
69209
596
2430
52900
37696
65909
22320
62
54159
44106
52829
70407
32721
16343
49326
6873
54386
3053
33706
12232
15428
19405
29097
18805
41019
84874
32059
63171
37425
62714
91836
83229
61263
72933
70561
54931
37636
12094
73956
82157
80465
33494
44194
7228
21908
2107...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #14:

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

input:

782190
577737
237150
959787
48287
918240
787165
633477
34022
761733
26104
813161
824391
745399
286596
30376
457601
218793
89567
291650
87083
341954
653475
536267
755483
546549
679052
197716
61014
546116
805921
945657
762409
903412
67651
427830
44193
223740
587115
569998
210884
647308
6593
29192
1353...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #15:

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

input:

4820019
4253497
6602551
707068
366491
8474517
4827331
7186153
4057673
8917752
3294090
5517517
9418215
4073986
3473820
9707638
9038820
459983
2426996
8309057
5487830
1970249
642931
8881666
153884
6806870
2502053
9983863
2932634
2218898
9013238
8644596
3481115
9578295
751821
367354
1614696
7501972
981...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #16:

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

input:

31832686
53279527
71916141
25919493
57212447
78938011
78822716
33169306
63551498
1442112
67623636
76372766
72912959
66586164
1789082
45118830
92178307
62440367
66622565
88007531
45597181
35899072
50971102
15036420
34958941
32759426
95203645
87855364
27076737
13971332
39017111
38440973
64506085
25958...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7003

Test #17:

score: 0
Accepted
time: 18ms
memory: 4032kb

input:

300202164
868417029
76396529
309260291
384642611
777619400
404171369
804244206
209929879
67689851
736438189
97186219
50966370
162513960
437106488
680290771
573435590
950815989
796328350
32787966
543529691
730469876
378564863
148047384
829748925
236163235
688902432
523497127
917884427
136982336
95967...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7195

Test #18:

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

input:

485224084
512612062
709881292
375664707
528916519
58718057
8362724
184450388
113529514
860303621
594636319
136215484
21665255
737700947
208145209
731307890
484064062
723837000
875006040
386205964
316535349
25134544
455701934
870886640
97198867
514143526
33468240
563433618
313905643
600681590
4295859...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7051

Test #19:

score: 0
Accepted
time: 9ms
memory: 3956kb

input:

113131705
203410222
261221993
6667324
164061940
169036349
184611192
142445650
257909902
258492147
43591364
219847783
98306082
55192010
96342899
160912633
140003578
91988924
37018233
126358037
114827637
47631194
31876306
68218474
157633481
217531133
176521768
218034416
151317191
100398994
22946205
41...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7010

Test #20:

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

input:

10558773
150711108
128269198
356136854
245597053
369450696
344466438
273638132
135621823
218712083
215406839
295257014
57197396
45789777
105628494
240700998
116906540
270561771
43159086
13181261
276386603
394573814
166500924
338160847
903738
184612995
371864982
206262828
176435397
159486318
35236330...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7002

Test #21:

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

input:

63139969
55245357
58623494
52210142
70559919
36679691
2188225
3484146
134632404
6579112
70243043
92979808
4772975
42011325
31466446
91909043
38865733
137074232
33653701
116214115
60887608
23876416
36471032
86521501
119643694
58430814
5620546
83470282
67537064
90006075
62886915
67368630
102324819
121...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7034

Test #22:

score: 0
Accepted
time: 13ms
memory: 3952kb

input:

159106191
83906023
122446268
325063156
123198208
14961117
266631621
105424229
258606282
294223060
209929222
160493872
311692266
61110501
291902306
100163821
190463121
262867885
192709063
14735255
212367380
17090154
88780146
113168900
30575422
222946856
5340813
89143295
324434360
316089852
195137674
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7019

Test #23:

score: 0
Accepted
time: 17ms
memory: 3964kb

input:

395878790
912419467
768733492
583268193
953884295
816912143
466728827
116796596
283466061
868187885
809012307
104703452
246257755
123779806
33108919
411962175
249251705
757638367
501670850
147424642
839039811
306982964
530915381
53383985
44943711
148704870
989702110
11350129
34984016
760992543
17065...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7183

Test #24:

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

input:

636610020
249580229
798409296
384770416
159891570
851722062
87634202
985254192
88312556
341536076
783715970
529494102
44897525
941986339
400355449
763305525
784028710
930681359
269205096
838769791
14914796
72657002
990366655
892216951
169852028
241756920
314792096
122673782
575717499
733880155
68772...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7124

Test #25:

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

input:

684814797
163061357
84044373
295151724
376797876
729108896
297886632
67325010
659339804
69218399
264682733
422630385
568336962
462914739
10443121
598757325
135378752
43397877
304573097
425468929
261375337
30391696
449649966
450074081
27529815
152863716
573214592
608101861
477474092
252277064
6987052...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7043

Test #26:

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

input:

81462858
52875672
105563622
9743131
61915088
88412614
35134959
27321445
104964650
78749178
103741842
59268685
104354742
18874829
113129756
19154435
8801010
23037251
93629336
63951665
87060728
4991100
122423907
53222609
11540820
71075672
29508367
71862499
90714018
3122753
95400277
102174704
18573257
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7029

Test #27:

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

input:

619206624
669979243
36163511
916568959
865073068
494960130
130021920
914784139
404057298
177972904
555098054
674993038
859959671
399619617
312358412
92392929
429426032
512615905
662712109
741274183
137990671
806284476
17162994
679147279
130471582
625156281
914724589
777447936
438874835
329615972
538...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7168

Test #28:

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

input:

637242366
788169374
300102348
251268894
61235051
201196775
735902809
621026994
197655124
460542408
795998185
768991183
253886111
26759793
245768049
617802184
61500799
157048164
110227519
155024488
530814937
113654495
24699314
572219258
347072952
700138022
163851590
491134545
303816557
614104003
4566...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7019

Test #29:

score: 0
Accepted
time: 12ms
memory: 4020kb

input:

440123216
823661803
779039245
674163590
200055658
162180437
319113333
797528032
746849998
625598923
593050185
268746914
32545759
560471082
723365038
539539153
929850949
845863296
289003826
627823752
279007375
88588468
594796170
776179476
646147464
804421738
691419927
965788238
392096694
848779261
74...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7025

Test #30:

score: 0
Accepted
time: 15ms
memory: 3996kb

input:

344635618
601696921
811586712
637593
701708449
235666400
676642825
194055799
262924753
209491559
552925549
407606122
539959731
489815470
184573294
556748504
502565258
664919194
228604
133363198
831120951
406505798
52761201
289365853
7266547
682897008
803215939
792075959
699482196
238099685
22576492
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7046

Test #31:

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

input:

88856636
146125746
324614969
216545553
347474947
718707334
151861860
259707944
322306933
827599654
55110641
200985635
210287794
479179320
622723270
117924218
227990301
345939689
76010554
677322373
37117152
81265968
684373401
49867072
105283150
173439649
835910907
36757971
46461330
2735313
241384053
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7015

Test #32:

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

input:

481661411
713684673
140677922
331899633
617926213
908827504
848071377
161545985
969066484
562128880
576374846
554424080
403732747
730700946
114474349
369135923
963437355
605761043
345129775
954267397
103687527
104980731
557799045
933667141
891475585
334979401
673429668
602771685
817450263
157637736
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7032

Test #33:

score: 0
Accepted
time: 9ms
memory: 3904kb

input:

662124365
630273844
808763067
611574020
742503414
165377476
457770696
565616780
628215769
185150165
182780215
328655209
248837737
517729263
661273213
67354530
177420613
295370001
884679560
537633054
756666527
711695712
366444820
591177185
646593263
714749762
428862695
399828822
409532181
276686533
5...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7204

Test #34:

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

input:

1
1
2
2
2
1
1
1
2
1
2
2
1
1
1
1
2
2
1
2
1
1
2
1
1
2
2
2
1
2
2
2
1
1
1
2
1
2
1
2
1
2
2
2
2
2
1
2
1
2
2
2
2
2
1
1
1
2
2
1
2
1
2
2
2
1
1
1
1
1
2
2
2
2
2
2
1
2
1
2
1
1
1
2
1
2
1
1
2
2
2
1
1
2
2
2
2
1
1
1
1
1
1
1
2
2
1
1
1
2
1
1
2
1
1
1
2
1
2
2
1
2
1
1
2
2
1
1
1
1
1
2
1
2
2
2
1
1
2
1
1
2
2
2
2
1
2
1
2
1
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=4003

Test #35:

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

input:

1
3
1
3
2
2
3
1
2
2
1
1
2
3
2
1
3
1
2
2
3
3
3
2
2
2
3
3
3
3
3
1
3
1
3
1
3
2
3
1
2
3
3
2
3
3
1
2
2
2
2
1
2
1
1
2
2
2
3
2
3
2
1
1
2
1
1
1
3
3
3
3
1
2
2
1
3
2
2
2
3
2
3
3
3
1
3
1
3
1
3
2
2
3
2
2
3
2
3
3
1
3
2
2
2
1
1
2
1
3
1
3
1
1
1
3
1
2
1
3
3
3
2
2
1
1
3
1
3
3
2
3
1
3
2
1
3
2
3
3
1
1
3
2
1
2
3
1
1
2
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=4004

Test #36:

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

input:

2
2
4
1
4
3
3
3
4
2
4
1
3
2
3
2
4
4
3
1
3
2
1
3
2
4
1
1
2
1
1
4
3
3
3
4
3
1
2
1
3
1
1
4
1
4
3
4
2
4
4
4
1
1
3
3
2
4
1
3
4
2
1
4
4
2
3
3
2
2
1
4
4
1
1
1
3
4
3
1
2
3
3
1
3
1
2
2
1
1
4
3
3
4
4
1
4
2
3
2
3
3
2
2
1
1
2
3
2
4
2
2
4
3
3
3
1
2
1
4
3
4
2
3
4
4
2
2
3
3
2
4
2
4
4
1
3
2
1
2
3
1
4
4
4
2
4
2
1
3
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=4005

Test #37:

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

input:

5
2
1
5
2
3
3
5
2
5
5
2
1
4
4
5
4
3
5
2
1
1
5
5
4
1
5
1
3
4
4
2
1
1
5
3
5
3
2
1
5
5
2
3
5
4
2
3
5
4
1
3
1
1
5
5
3
4
3
1
2
3
3
1
3
5
1
3
5
5
2
3
2
3
1
4
3
1
3
3
5
4
3
3
5
3
3
1
2
3
1
1
2
4
1
5
5
3
2
4
3
4
3
4
4
1
3
2
2
5
1
4
3
2
4
2
5
5
1
5
4
5
5
1
3
3
1
1
3
1
5
3
3
5
1
1
3
4
3
3
4
1
3
3
5
5
2
2
4
1
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=4006

Test #38:

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

input:

5
1
4
6
2
3
1
5
2
3
4
4
3
1
3
5
6
4
3
2
1
1
6
3
3
2
6
6
1
6
6
4
1
5
1
4
1
2
1
4
3
6
6
2
6
6
5
2
3
2
2
4
2
4
5
3
3
2
6
3
6
3
4
4
2
5
5
5
1
1
6
6
4
2
2
4
1
2
3
2
1
3
1
6
1
4
1
5
6
4
6
3
3
6
2
2
6
3
1
1
5
1
3
3
2
4
5
3
5
6
5
1
4
5
5
1
4
3
4
6
1
6
3
3
4
4
1
5
1
1
3
6
5
6
2
4
1
3
6
1
5
4
6
2
4
3
6
5
4
3
...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=4007

Test #39:

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

input:

1285
677
2206
2437
2705
2253
1622
2388
1094
750
2329
2030
1257
2881
2102
2730
548
819
2907
1732
94
369
2214
2842
1882
695
858
2315
2031
611
1419
2497
1410
2071
2836
1372
920
1069
948
617
2083
777
2137
833
1493
532
1502
314
1746
198
1934
1832
668
407
590
205
2261
2983
2318
3000
2737
941
1103
2467
132...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #40:

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

input:

695
686
1143
1170
713
615
559
1723
1167
1217
1974
536
1107
245
1422
768
1908
753
1801
1480
1627
286
1259
239
888
40
1385
1130
1708
1210
1878
809
1113
730
1394
1904
1131
1729
1618
1423
722
985
1066
1329
460
673
1284
1327
324
785
1198
1456
1300
1396
244
1500
1763
1091
1180
463
415
1470
1374
848
665
10...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=6001

Test #41:

score: 0
Accepted
time: 11ms
memory: 3956kb

input:

1765
2974
2501
3031
2754
1504
1356
2811
688
1429
3452
1400
3123
1446
3207
3901
1009
366
1281
2953
1631
2281
3451
1927
1647
1547
2523
601
368
3509
2759
1441
1653
1942
932
1407
3008
1263
1021
21
2185
2371
3217
3347
565
710
2850
1960
1120
2499
2914
2559
2388
1744
2867
2381
1415
3744
692
420
3541
1879
1...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #42:

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

input:

2433
4290
619
2078
574
5940
3571
5316
701
503
826
3491
1095
2231
6666
2651
5560
3387
5373
2355
5708
4629
2892
5334
253
3211
2869
4325
5575
91
2573
903
4229
4587
2735
5674
5208
53
5884
518
2585
4498
912
961
64
5399
2257
4715
6005
3340
3485
1744
5621
1504
1587
5592
5361
1609
5074
3648
2534
4146
6348
1...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #43:

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

input:

2447
3255
2319
2870
3012
41
409
6387
6412
3945
591
4124
1048
3763
5343
199
5679
5441
6504
826
1300
2873
4515
2969
1075
254
305
4156
1644
175
4040
4747
1276
2975
3056
5572
4855
2077
6431
1663
2284
3511
5836
531
4689
3322
6289
165
3660
5789
1647
1986
1006
5923
2396
837
6351
1540
6515
50
1577
2644
2864...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #44:

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

input:

573138
3612524
2031538
2785750
5846560
7426813
2198810
1287235
5528904
6717853
4169300
8959268
3497237
1435608
5262732
7345923
447533
7963421
7222978
2268412
1001883
7468481
3844693
6376535
14868
6485822
4314653
8865634
7550053
6978634
1781267
5165790
1942167
822863
3116527
426288
4942584
2845424
76...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7002

Test #45:

score: 0
Accepted
time: 13ms
memory: 3952kb

input:

5655428
8043978
9224051
3288577
2512949
9498159
2162637
5241806
4602596
1714279
4942763
4938297
4360126
6671738
5500719
6476768
9261421
6304371
10893012
5646304
2378316
8869077
9762529
3436703
1053249
7906473
9117251
9193074
9256058
5223104
7339666
7944634
4332050
5859337
143212
2502167
5545574
8885...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #46:

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

input:

14674107
4608465
6537631
6472332
3826729
5692782
15024546
7059116
13711204
6680205
7699693
14463391
17951378
4077783
1949085
18020509
9585653
18719822
18262236
5690642
4350093
14841364
7867220
17692569
10897871
10870337
18512980
6250259
1636274
13697531
11838768
2762666
17991654
17477814
18984461
10...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #47:

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

input:

353534
394721
379578
213876
144567
291049
22577
658526
577981
635953
165883
194266
265034
198849
567279
456091
136895
309022
13620
474787
391707
214447
354509
311705
87021
433252
537147
757676
469923
9488
470399
458793
452150
450687
295540
259532
355781
760605
46421
106592
558228
482726
33275
686232...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7001

Test #48:

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

input:

58188986
27877109
4517778
43409094
39739548
40167291
25187430
37233442
57882938
19868035
50250097
3001874
9381075
902644
28847157
53465866
40385740
30170410
43959550
46791761
4451563
55618443
55537350
8878453
57266601
48623489
14264253
44652311
47245127
18533185
46038273
7443895
28205989
55190978
31...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7002

Test #49:

score: 0
Accepted
time: 11ms
memory: 4048kb

input:

93980786
238021195
42393286
26597712
230406594
57781974
94988562
56323889
174854553
153416068
227650777
104166494
56426442
176456673
119494780
93079283
41414088
119825395
111939999
72318714
44791015
107477089
33539713
48940107
138775091
91242441
79271519
83536847
13011426
207149052
3996289
180235249...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7023

Test #50:

score: 0
Accepted
time: 12ms
memory: 3884kb

input:

51418071
335329140
78965246
121099396
328559767
73254667
360576954
299697464
207370107
492194275
329974468
13726973
460789430
275134532
391534447
426693174
133300883
462733121
331319546
253368131
300322215
39421323
261606473
329700785
96265471
281894327
222384567
412169006
270107838
118636797
429263...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7038

Test #51:

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

input:

662124365
655053934
833543157
661134200
792063594
239717746
532110966
639957050
702556039
284270525
306680665
452555659
397518277
666409803
809953753
240815160
350881243
468830631
134561955
735873774
31329012
11138287
614245720
838978085
894394163
38972427
701443685
697189902
706893261
598827703
837...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7070

Test #52:

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

input:

191650203
141866542
127097472
105233578
42904679
27620480
126755407
41343198
103942187
29460029
9156939
155031933
57281321
132914554
83200211
51123267
161189350
85880445
95415125
116952065
142727245
79823290
103155844
134629916
190045994
64944200
147640579
100673566
110376925
152856430
4988584
60756...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7006

Test #53:

score: 0
Accepted
time: 9ms
memory: 4080kb

input:

112162740
82476584
155611643
83788815
73159666
126317309
237745195
95546463
194225858
229774865
92991010
80081205
55908041
29416390
151845453
93567105
126678382
77620665
102578028
107108568
1712698
219661083
132593575
72138578
165905857
34947891
5825838
146255156
204685552
162652682
28239597
1046299...

output:

walk 662124364
walk 916507804
walk 178489223
walk 751169278
walk 130929394
walk 371232387
walk 292393220
walk 107846084
walk 62598989
walk 505292721
walk 945988375
walk 145874994
walk 868540853
walk 268891526
walk 143543950
walk 354439642
walk 110066083
walk 117949388
walk 589309559
walk 601311819
w...

result:

ok OK, guesses=7047