QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#751638#5309. Guess Cycle LengthjimmyFAC ✓21ms4124kbC++141.2kb2024-11-15 19:57:382024-11-15 19:57:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3816kb

input:

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

output:

walk 298038712
walk 862139774
walk 989734238
walk 487793339
walk 593117585
walk 807258011
walk 208702417
walk 866864835
walk 98835804
walk 602315455
walk 19974765
walk 792743666
walk 777586189
walk 495518952
walk 251723808
walk 717002671
walk 382810875
walk 161445880
walk 597220331
walk 434104675
wa...

result:

ok OK, guesses=3344

Test #2:

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

input:

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

output:

walk 298038712
walk 862139774
walk 989734238
walk 487793339
walk 593117585
walk 807258011
walk 208702417
walk 866864835
walk 98835804
walk 602315455
walk 19974765
walk 792743666
walk 777586189
walk 495518952
walk 251723808
walk 717002671
walk 382810875
walk 161445880
walk 597220331
walk 434104675
wa...

result:

ok OK, guesses=3354

Test #3:

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

input:

8713
8487
2725
6064
3649
1660
4077
8912
4716
171
4936
8602
4791
3743
7551
222
1097
6977
7308
1983
212
5866
9093
5198
6718
2201
366
943
8654
1258
1239
9634
7257
7270
1664
7322
5731
4488
1828
9040
1978
1654
3243
5314
9727
7041
3721
7941
5751
6245
5932
6474
5136
2114
6185
7602
7786
422
8138
9559
9197
8...

output:

walk 298038712
walk 862139774
walk 989734238
walk 487793339
walk 593117585
walk 807258011
walk 208702417
walk 866864835
walk 98835804
walk 602315455
walk 19974765
walk 792743666
walk 777586189
walk 495518952
walk 251723808
walk 717002671
walk 382810875
walk 161445880
walk 597220331
walk 434104675
wa...

result:

ok OK, guesses=6667

Test #4:

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

input:

682192008
591175050
426988273
100703157
502303313
388924655
524479218
501726246
212064690
640960479
741920305
643942089
726915868
697467362
223894928
859791134
769765442
471641505
642268593
23170438
311463215
556443122
783865779
440643571
827664915
669785520
205707081
364930972
893060416
664235999
3...

output:

walk 682192007
walk 908983042
walk 835813223
walk 673714884
walk 401600156
walk 886621342
walk 135554563
walk 977247028
walk 710338444
walk 428895789
walk 100959826
walk 902021784
walk 82973779
walk 970551494
walk 526427566
walk 635896206
walk 909974308
walk 701876063
walk 170627088
walk 380901845
w...

result:

ok OK, guesses=6770

Test #5:

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

input:

684111818
593094860
428908083
102622967
504223123
390844465
526399028
503646056
213984500
642880289
743840115
645861899
728835678
699387172
225814738
861710944
771685252
473561315
644188403
25090248
313383025
558362932
785785589
442563381
829584725
671705330
207626891
366850782
894980226
666155809
3...

output:

walk 682192007
walk 908983042
walk 835813223
walk 673714884
walk 401600156
walk 886621342
walk 135554563
walk 977247028
walk 710338444
walk 428895789
walk 100959826
walk 902021784
walk 82973779
walk 970551494
walk 526427566
walk 635896206
walk 909974308
walk 701876063
walk 170627088
walk 380901845
w...

result:

ok OK, guesses=6704

Test #6:

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

input:

972224240
294656674
645068145
895070613
817910225
261421759
63230410
715910366
938402954
60610607
21701809
303325577
231567460
71619898
110481080
754571542
788540058
234754209
6324785
617516350
995866879
339849418
692948707
795801891
964467779
451899864
723313161
241648868
220148456
987417647
203594...

output:

walk 682192007
walk 908983042
walk 835813223
walk 673714884
walk 401600156
walk 886621342
walk 135554563
walk 977247028
walk 710338444
walk 428895789
walk 100959826
walk 902021784
walk 82973779
walk 970551494
walk 526427566
walk 635896206
walk 909974308
walk 701876063
walk 170627088
walk 380901845
w...

result:

ok OK, guesses=6902

Test #7:

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

input:

682192008
591175050
264448706
321970694
188756898
33434812
166892225
186119637
441688065
640960479
741920305
643942089
726915868
697467362
464000099
859791134
769765442
183305298
642268593
395437109
73458812
556443122
783865779
217319872
827664915
669785520
452107898
57675343
893060416
664235999
768...

output:

walk 682192007
walk 908983042
walk 835813223
walk 673714884
walk 401600156
walk 886621342
walk 135554563
walk 977247028
walk 710338444
walk 428895789
walk 100959826
walk 902021784
walk 82973779
walk 970551494
walk 526427566
walk 635896206
walk 909974308
walk 701876063
walk 170627088
walk 380901845
w...

result:

ok OK, guesses=6770

Test #8:

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

input:

196409592
221054492
496449205
456947605
431038256
273719019
713428845
349806422
437762666
938648334
795936047
955784798
728274743
808953186
440375099
362838905
63355553
736604469
171579593
939000362
164336424
177093714
59624692
447319079
582956163
965521286
903827810
871468233
14113880
735786151
201...

output:

walk 682192007
walk 908983042
walk 835813223
walk 673714884
walk 401600156
walk 886621342
walk 135554563
walk 977247028
walk 710338444
walk 428895789
walk 100959826
walk 902021784
walk 82973779
walk 970551494
walk 526427566
walk 635896206
walk 909974308
walk 701876063
walk 170627088
walk 380901845
w...

result:

ok OK, guesses=6673

Test #9:

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

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 156389915
walk 282009254
walk 206001523
walk 936100060
walk 251945346
walk 863536656
walk 949763694
walk 992467043
walk 732614376
walk 135758749
walk 504893979
walk 182215001
walk 268360785
walk 819291356
walk 295895668
walk 479308062
walk 850138586
walk 845871604
walk 848262646
walk 92648689
w...

result:

ok OK, guesses=3335

Test #10:

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

input:

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

output:

walk 156389915
walk 282009254
walk 206001523
walk 936100060
walk 251945346
walk 863536656
walk 949763694
walk 992467043
walk 732614376
walk 135758749
walk 504893979
walk 182215001
walk 268360785
walk 819291356
walk 295895668
walk 479308062
walk 850138586
walk 845871604
walk 848262646
walk 92648689
w...

result:

ok OK, guesses=3344

Test #11:

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

input:

638
444
532
553
161
827
375
341
963
422
154
134
722
308
358
465
330
844
389
97
156
608
329
621
852
149
128
232
494
68
962
786
193
896
123
548
867
39
578
547
336
491
876
642
883
975
586
721
633
689
301
194
326
887
661
432
812
487
525
938
839
887
559
591
866
346
955
807
871
819
36
466
527
745
529
332
...

output:

walk 156389915
walk 282009254
walk 206001523
walk 936100060
walk 251945346
walk 863536656
walk 949763694
walk 992467043
walk 732614376
walk 135758749
walk 504893979
walk 182215001
walk 268360785
walk 819291356
walk 295895668
walk 479308062
walk 850138586
walk 845871604
walk 848262646
walk 92648689
w...

result:

ok OK, guesses=4334

Test #12:

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

input:

710
5264
3157
1601
8189
4433
4717
132
3695
2888
8584
6965
3115
8640
7999
7512
3529
4595
3174
3822
4285
5857
2737
5077
9091
8618
4384
1480
3526
8273
6737
3669
3766
9021
5293
4254
1055
6871
7243
8705
6414
6662
2705
3293
6225
2057
826
880
5374
1649
3778
1236
7965
2430
2345
8361
6020
570
9654
4140
6024
...

output:

walk 156389915
walk 282009254
walk 206001523
walk 936100060
walk 251945346
walk 863536656
walk 949763694
walk 992467043
walk 732614376
walk 135758749
walk 504893979
walk 182215001
walk 268360785
walk 819291356
walk 295895668
walk 479308062
walk 850138586
walk 845871604
walk 848262646
walk 92648689
w...

result:

ok OK, guesses=6667

Test #13:

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

input:

37119
34586
83412
60528
88442
64228
21282
6293
31153
59126
39863
52203
39548
54820
38211
10863
72608
96964
88343
72722
17058
40331
16248
89788
9370
52961
35170
68339
36113
1892
63790
31085
99293
93485
49504
10687
18564
53673
7757
65075
91854
21408
74812
83940
89586
58160
39892
24753
974
63786
69587
...

output:

walk 156389915
walk 282009254
walk 206001523
walk 936100060
walk 251945346
walk 863536656
walk 949763694
walk 992467043
walk 732614376
walk 135758749
walk 504893979
walk 182215001
walk 268360785
walk 819291356
walk 295895668
walk 479308062
walk 850138586
walk 845871604
walk 848262646
walk 92648689
w...

result:

ok OK, guesses=6667

Test #14:

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

input:

84800
204912
520237
885990
453883
312636
156783
870997
420976
995514
25651
569505
380279
231984
609081
377623
827082
143850
407846
837161
172662
208572
311714
855371
798762
210278
4698
29212
109974
646874
398126
777050
289912
740949
757159
339983
703724
650584
794837
99997
361314
393476
140695
64991...

output:

walk 353871154
walk 828279365
walk 132632134
walk 565454278
walk 68191435
walk 100068170
walk 210576824
walk 877097205
walk 111156768
walk 805915444
walk 103602136
walk 30842454
walk 484593226
walk 404362672
walk 689260463
walk 755208324
walk 468550453
walk 53737567
walk 560137340
walk 934584693
wal...

result:

ok OK, guesses=6667

Test #15:

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

input:

6418051
7647261
9961582
1423462
3356679
4291917
4566331
8998414
2342219
6406733
1732066
9193934
1005156
3840768
469811
7559091
3380473
9146098
4393508
877766
3306930
7832898
9784437
8412875
2107396
2463320
5282098
4839586
4439790
6115851
2933040
5469534
8501652
8315911
7341299
961768
7378356
975281
...

output:

walk 353871154
walk 828279365
walk 132632134
walk 565454278
walk 68191435
walk 100068170
walk 210576824
walk 877097205
walk 111156768
walk 805915444
walk 103602136
walk 30842454
walk 484593226
walk 404362672
walk 689260463
walk 755208324
walk 468550453
walk 53737567
walk 560137340
walk 934584693
wal...

result:

ok OK, guesses=6667

Test #16:

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

input:

62912329
86047978
50586096
93607725
34173144
70268944
88846373
26083811
97941227
77912417
67874426
49221434
853987
81108739
45889495
72549554
44582049
46187682
60349853
27250311
32092648
71917681
22756546
19016796
86412633
44551905
68944820
21448752
93525859
87222972
34553149
1372146
58901751
600169...

output:

walk 353871154
walk 828279365
walk 132632134
walk 565454278
walk 68191435
walk 100068170
walk 210576824
walk 877097205
walk 111156768
walk 805915444
walk 103602136
walk 30842454
walk 484593226
walk 404362672
walk 689260463
walk 755208324
walk 468550453
walk 53737567
walk 560137340
walk 934584693
wal...

result:

ok OK, guesses=6674

Test #17:

score: 0
Accepted
time: 21ms
memory: 4068kb

input:

242271843
321665583
839781071
297095727
508421150
268931090
821850488
121050799
742226484
181054287
174746405
836085101
7579973
372670440
919621247
681002681
851532816
274353421
714653259
426248135
320602155
616552605
363612473
395018637
543975647
635747970
716304049
574627233
257376502
28809095
883...

output:

walk 353871154
walk 828279365
walk 132632134
walk 565454278
walk 68191435
walk 100068170
walk 210576824
walk 877097205
walk 111156768
walk 805915444
walk 103602136
walk 30842454
walk 484593226
walk 404362672
walk 689260463
walk 755208324
walk 468550453
walk 53737567
walk 560137340
walk 934584693
wal...

result:

ok OK, guesses=6667

Test #18:

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

input:

342145052
604939845
234843223
108281282
454813961
60004454
153324946
63689007
657429287
235862862
380961311
15235243
400133127
255264000
577179296
489882609
822252780
520334125
698734615
800892605
629320685
910967203
422315425
886822595
501641346
874398043
62338574
855912433
860834381
607908780
5393...

output:

walk 353871154
walk 828279365
walk 132632134
walk 565454278
walk 68191435
walk 100068170
walk 210576824
walk 877097205
walk 111156768
walk 805915444
walk 103602136
walk 30842454
walk 484593226
walk 404362672
walk 689260463
walk 755208324
walk 468550453
walk 53737567
walk 560137340
walk 934584693
wal...

result:

ok OK, guesses=6712

Test #19:

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

input:

98300816
269417374
88800813
157999769
193627429
210947694
44637570
173479073
178386172
64297402
255138301
206678819
70204744
49821667
109292783
144704178
268227714
132067959
49980554
65961268
219270460
142437043
81750852
254044794
84991706
136753712
272873946
197662339
74762644
99742021
80878791
136...

output:

walk 450678438
walk 822957821
walk 782330108
walk 346585253
walk 279991746
walk 948652007
walk 345212825
walk 876693804
walk 928245010
walk 459041290
walk 831874238
walk 780011024
walk 999563936
walk 754438486
walk 396203340
walk 677568612
walk 95302623
walk 296793139
walk 50838242
walk 688911592
wa...

result:

ok OK, guesses=6680

Test #20:

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

input:

337475391
178733943
184124439
7904425
28388750
166479529
43470218
270347678
389510358
10275099
217807440
195689850
144988495
201392931
50521624
158790465
288520913
21634364
21291608
179174857
335857270
39355428
59747666
386968197
350538534
241501966
240686508
235103107
116850082
214460382
181559487
...

output:

walk 450678438
walk 822957821
walk 782330108
walk 346585253
walk 279991746
walk 948652007
walk 345212825
walk 876693804
walk 928245010
walk 459041290
walk 831874238
walk 780011024
walk 999563936
walk 754438486
walk 396203340
walk 677568612
walk 95302623
walk 296793139
walk 50838242
walk 688911592
wa...

result:

ok OK, guesses=6668

Test #21:

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

input:

149487252
22659740
54483277
19540429
148307561
66283749
141200064
75531498
99685967
43949997
77743622
4242145
125893964
118117205
61644961
82754964
67742214
72310703
129652018
90945968
32950626
25162194
85634733
16129562
8970823
89096944
149149653
13795859
57536630
32769687
111244417
38740714
109294...

output:

walk 450678438
walk 822957821
walk 782330108
walk 346585253
walk 279991746
walk 948652007
walk 345212825
walk 876693804
walk 928245010
walk 459041290
walk 831874238
walk 780011024
walk 999563936
walk 754438486
walk 396203340
walk 677568612
walk 95302623
walk 296793139
walk 50838242
walk 688911592
wa...

result:

ok OK, guesses=6682

Test #22:

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

input:

189924661
70989905
121103743
181740930
235566257
316040124
171332180
14727054
43837702
180270819
84462069
225076597
150308108
112707722
256509912
207036714
39766473
270915276
279611416
218062500
173106129
315264803
98728281
122964852
222844748
38185898
108733564
111988246
147813450
158042402
1972007...

output:

walk 450678438
walk 822957821
walk 782330108
walk 346585253
walk 279991746
walk 948652007
walk 345212825
walk 876693804
walk 928245010
walk 459041290
walk 831874238
walk 780011024
walk 999563936
walk 754438486
walk 396203340
walk 677568612
walk 95302623
walk 296793139
walk 50838242
walk 688911592
wa...

result:

ok OK, guesses=6706

Test #23:

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

input:

76417244
969158909
488007317
36322597
518514823
196335790
370947660
597219508
682840280
740863352
82526683
653139283
370058752
735981297
724132195
200408443
260265500
21468342
582351202
498057394
297465127
967748435
711658642
291530401
237614831
655561889
760123569
735517483
947501284
869482027
6998...

output:

walk 36494965
walk 854917893
walk 99642808
walk 729383039
walk 400779417
walk 137026594
walk 87064902
walk 292229234
walk 710682423
walk 864444033
walk 554057388
walk 139255865
walk 179097480
walk 432201456
walk 354772167
walk 878017283
walk 985719900
walk 630019329
walk 889672998
walk 266608246
wal...

result:

ok OK, guesses=6727

Test #24:

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

input:

115171636
919777391
416720286
167186122
348098695
36380045
323730302
992227007
649717204
471574960
664438231
147837602
499821355
351882122
28118677
234108407
715734328
486471450
603325952
948397822
599083765
474088277
800026798
209840036
25856707
972984416
945657842
733546884
431513456
218632574
455...

output:

walk 36494965
walk 854917893
walk 99642808
walk 729383039
walk 400779417
walk 137026594
walk 87064902
walk 292229234
walk 710682423
walk 864444033
walk 554057388
walk 139255865
walk 179097480
walk 432201456
walk 354772167
walk 878017283
walk 985719900
walk 630019329
walk 889672998
walk 266608246
wal...

result:

ok OK, guesses=6709

Test #25:

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

input:

10523914
407708782
151589239
245939167
490108239
205939896
302940071
626370960
393211251
732590918
144901448
15841963
502383895
702433123
98982152
352682714
112750303
386357910
89513401
736545952
408387812
350064593
723618015
572556358
493721748
1281631
639252278
482327402
566919865
259556670
142049...

output:

walk 36494965
walk 854917893
walk 99642808
walk 729383039
walk 400779417
walk 137026594
walk 87064902
walk 292229234
walk 710682423
walk 864444033
walk 554057388
walk 139255865
walk 179097480
walk 432201456
walk 354772167
walk 878017283
walk 985719900
walk 630019329
walk 889672998
walk 266608246
wal...

result:

ok OK, guesses=6706

Test #26:

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

input:

1140659
57817167
82984670
39706262
17954097
14597531
70548545
105595537
55874393
71769616
52868918
12000488
80148831
105237569
85221080
104654372
123027874
96330526
100570176
112122706
109994880
22453021
26328645
90028165
80188266
44242542
72088132
45934323
23084156
31816079
19656512
31409102
808479...

output:

walk 36494965
walk 854917893
walk 99642808
walk 729383039
walk 400779417
walk 137026594
walk 87064902
walk 292229234
walk 710682423
walk 864444033
walk 554057388
walk 139255865
walk 179097480
walk 432201456
walk 354772167
walk 878017283
walk 985719900
walk 630019329
walk 889672998
walk 266608246
wal...

result:

ok OK, guesses=6674

Test #27:

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

input:

84776997
246586879
200121082
72846134
489554029
907818443
614702665
579356114
389193112
412205042
590249106
759905214
562855407
436582937
93157316
808809656
93301360
714873898
929325751
245318868
481838967
894686307
818144840
703742173
753656245
366091304
602184156
857060664
543940461
331127011
7595...

output:

walk 94185702
walk 696656992
walk 901719728
walk 76991247
walk 809886345
walk 129702889
walk 399265352
walk 896577624
walk 133850933
walk 61631840
walk 59162749
walk 847069453
walk 227759613
walk 661882730
walk 717411954
walk 855652725
walk 717010939
walk 960651208
walk 886268418
walk 342189022
walk...

result:

ok OK, guesses=6817

Test #28:

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

input:

338976346
821634303
619392310
349052551
612120242
723288959
464297575
665771747
735802575
618905212
283691226
339061442
393716723
33123648
428512128
389606012
742508144
646744276
351153187
71263367
99947318
722210650
802785748
702603424
305160718
567078531
129389435
514719380
232557192
114125344
193...

output:

walk 94185702
walk 696656992
walk 901719728
walk 76991247
walk 809886345
walk 129702889
walk 399265352
walk 896577624
walk 133850933
walk 61631840
walk 59162749
walk 847069453
walk 227759613
walk 661882730
walk 717411954
walk 855652725
walk 717010939
walk 960651208
walk 886268418
walk 342189022
walk...

result:

ok OK, guesses=6748

Test #29:

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

input:

185670152
369123313
671178826
797788561
641506828
505745071
943654506
53292896
115379464
430841047
417218084
56909432
422635180
852825637
994763469
791780522
473598320
358858497
260392239
274924611
731169255
523033123
703178474
659611088
547837649
843576977
53157849
54337630
666745723
575411452
1068...

output:

walk 94185702
walk 696656992
walk 901719728
walk 76991247
walk 809886345
walk 129702889
walk 399265352
walk 896577624
walk 133850933
walk 61631840
walk 59162749
walk 847069453
walk 227759613
walk 661882730
walk 717411954
walk 855652725
walk 717010939
walk 960651208
walk 886268418
walk 342189022
walk...

result:

ok OK, guesses=6691

Test #30:

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

input:

63484621
823127090
282506312
656343159
438894745
787228065
179061838
209699611
399766415
288133021
513180848
373136545
92393370
409010335
417158675
402319270
303406986
556486225
113704694
596045064
269150521
56179443
734484039
374710967
653927165
533693854
291222470
437998292
305330779
304034270
122...

output:

walk 94185702
walk 696656992
walk 901719728
walk 76991247
walk 809886345
walk 129702889
walk 399265352
walk 896577624
walk 133850933
walk 61631840
walk 59162749
walk 847069453
walk 227759613
walk 661882730
walk 717411954
walk 855652725
walk 717010939
walk 960651208
walk 886268418
walk 342189022
walk...

result:

ok OK, guesses=6733

Test #31:

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

input:

380156668
217574966
260056000
337047247
287694898
417397787
816663139
854002069
128614308
190246148
249408897
237239656
464999269
267643305
125816565
122230596
839241535
81415355
108445079
450634101
576845436
210333497
634472595
142412754
857062261
773110911
784075014
796120858
448012696
603011341
2...

output:

walk 94185702
walk 696656992
walk 901719728
walk 76991247
walk 809886345
walk 129702889
walk 399265352
walk 896577624
walk 133850933
walk 61631840
walk 59162749
walk 847069453
walk 227759613
walk 661882730
walk 717411954
walk 855652725
walk 717010939
walk 960651208
walk 886268418
walk 342189022
walk...

result:

ok OK, guesses=6703

Test #32:

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

input:

423050760
714871232
361876174
929993332
23166484
468518190
784901368
251837316
739093397
126867506
777225266
557114904
70994994
377100212
872440568
456876830
976514211
24827302
788829358
750137276
169792172
283080019
23634874
298640070
901150663
103210167
38796970
424278175
547148272
447077883
92620...

output:

walk 987683909
walk 881405267
walk 606206744
walk 544581678
walk 163612950
walk 316127900
walk 954333919
walk 985303487
walk 86261885
walk 635729652
walk 962362089
walk 669184789
walk 605544030
walk 976430774
walk 955248336
walk 646667235
walk 239799391
walk 960712720
walk 13446426
walk 175356883
wa...

result:

ok OK, guesses=6757

Test #33:

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

input:

39325585
920730852
578579271
174802624
338415574
654543474
660519068
697464230
783726115
471097442
485101206
205927670
811471700
839544149
846434160
544743070
784542461
796896856
810343282
37341840
277251387
616288280
147173271
413765081
427555840
666255873
351389576
706754591
153264324
13414236
563...

output:

walk 987683909
walk 881405267
walk 606206744
walk 544581678
walk 163612950
walk 316127900
walk 954333919
walk 985303487
walk 86261885
walk 635729652
walk 962362089
walk 669184789
walk 605544030
walk 976430774
walk 955248336
walk 646667235
walk 239799391
walk 960712720
walk 13446426
walk 175356883
wa...

result:

ok OK, guesses=6791

Test #34:

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

input:

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

output:

walk 987683909
walk 881405267
walk 606206744
walk 544581678
walk 163612950
walk 316127900
walk 954333919
walk 985303487
walk 86261885
walk 635729652
walk 962362089
walk 669184789
walk 605544030
walk 976430774
walk 955248336
walk 646667235
walk 239799391
walk 960712720
walk 13446426
walk 175356883
wa...

result:

ok OK, guesses=3336

Test #35:

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

input:

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

output:

walk 987683909
walk 881405267
walk 606206744
walk 544581678
walk 163612950
walk 316127900
walk 954333919
walk 985303487
walk 86261885
walk 635729652
walk 962362089
walk 669184789
walk 605544030
walk 976430774
walk 955248336
walk 646667235
walk 239799391
walk 960712720
walk 13446426
walk 175356883
wa...

result:

ok OK, guesses=3337

Test #36:

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

input:

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

output:

walk 987683909
walk 881405267
walk 606206744
walk 544581678
walk 163612950
walk 316127900
walk 954333919
walk 985303487
walk 86261885
walk 635729652
walk 962362089
walk 669184789
walk 605544030
walk 976430774
walk 955248336
walk 646667235
walk 239799391
walk 960712720
walk 13446426
walk 175356883
wa...

result:

ok OK, guesses=3338

Test #37:

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

input:

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

output:

walk 987683909
walk 881405267
walk 606206744
walk 544581678
walk 163612950
walk 316127900
walk 954333919
walk 985303487
walk 86261885
walk 635729652
walk 962362089
walk 669184789
walk 605544030
walk 976430774
walk 955248336
walk 646667235
walk 239799391
walk 960712720
walk 13446426
walk 175356883
wa...

result:

ok OK, guesses=3339

Test #38:

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

input:

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

output:

walk 282497279
walk 601127895
walk 924692090
walk 357020902
walk 530780493
walk 235248833
walk 847340907
walk 70570909
walk 599205004
walk 627185431
walk 382692449
walk 508916807
walk 190311319
walk 706452914
walk 354855074
walk 552810713
walk 613992533
walk 732798468
walk 829266529
walk 141916544
w...

result:

ok OK, guesses=3340

Test #39:

score: 0
Accepted
time: 14ms
memory: 4044kb

input:

2095
636
1580
176
2066
530
2621
707
1403
2841
543
1452
2006
990
1992
2164
619
1179
2905
255
1996
2940
2888
2934
1036
691
725
2387
1297
38
1500
370
2278
2019
1809
698
333
308
1367
1806
103
934
690
2850
2408
1291
2761
1330
1117
2925
129
1129
634
2427
743
2323
699
1465
330
531
1686
1351
1216
2457
1474
...

output:

walk 282497279
walk 601127895
walk 924692090
walk 357020902
walk 530780493
walk 235248833
walk 847340907
walk 70570909
walk 599205004
walk 627185431
walk 382692449
walk 508916807
walk 190311319
walk 706452914
walk 354855074
walk 552810713
walk 613992533
walk 732798468
walk 829266529
walk 141916544
w...

result:

ok OK, guesses=6334

Test #40:

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

input:

1710
1089
215
269
1565
334
450
250
592
372
1185
952
357
907
934
1811
668
287
609
644
478
1434
882
489
354
1219
1884
1206
203
1406
1620
783
1040
434
459
267
1815
759
1070
980
445
1340
1049
1990
952
1053
1513
1502
1974
437
661
553
1344
1909
362
1183
794
471
1137
635
657
859
1405
196
1833
1967
720
1553...

output:

walk 282497279
walk 601127895
walk 924692090
walk 357020902
walk 530780493
walk 235248833
walk 847340907
walk 70570909
walk 599205004
walk 627185431
walk 382692449
walk 508916807
walk 190311319
walk 706452914
walk 354855074
walk 552810713
walk 613992533
walk 732798468
walk 829266529
walk 141916544
w...

result:

ok OK, guesses=5334

Test #41:

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

input:

2633
917
2608
2080
1715
3205
3701
1467
180
3847
1837
1686
3715
1352
3729
2305
3607
3165
2902
3351
855
646
2202
82
2039
2970
3126
3968
3893
3201
2818
1336
3886
1479
13
3428
2182
2105
1202
2957
992
2298
835
475
1686
285
1699
2705
3892
2719
3923
690
2058
3823
1177
1478
1309
2086
3941
2920
1572
3486
249...

output:

walk 282497279
walk 601127895
walk 924692090
walk 357020902
walk 530780493
walk 235248833
walk 847340907
walk 70570909
walk 599205004
walk 627185431
walk 382692449
walk 508916807
walk 190311319
walk 706452914
walk 354855074
walk 552810713
walk 613992533
walk 732798468
walk 829266529
walk 141916544
w...

result:

ok OK, guesses=6667

Test #42:

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

input:

1203
4212
1718
3612
4648
2977
2223
5236
6331
1564
2108
4842
3974
5341
1444
2236
3291
490
6470
1303
3099
2546
4109
3363
3225
765
938
6462
2893
4918
2569
5265
167
5562
6047
1284
4470
869
5999
5855
2609
1948
6611
4673
2636
5667
5627
5666
1227
2259
3645
676
1260
4374
2677
67
5389
3221
999
6301
1435
3247...

output:

walk 282497279
walk 601127895
walk 924692090
walk 357020902
walk 530780493
walk 235248833
walk 847340907
walk 70570909
walk 599205004
walk 627185431
walk 382692449
walk 508916807
walk 190311319
walk 706452914
walk 354855074
walk 552810713
walk 613992533
walk 732798468
walk 829266529
walk 141916544
w...

result:

ok OK, guesses=6667

Test #43:

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

input:

6422
4089
1311
2009
200
4434
1761
2132
2647
1722
329
6307
522
6202
2021
636
5741
3136
1435
2976
2764
3065
2875
1575
1083
3692
2004
1536
1046
3184
2144
6036
5873
5987
3016
5207
2688
929
163
171
5570
4678
3071
1349
3234
1776
3373
1160
4390
4637
2742
6609
3860
6140
2932
5975
5523
1311
478
4603
1398
128...

output:

walk 282497279
walk 601127895
walk 924692090
walk 357020902
walk 530780493
walk 235248833
walk 847340907
walk 70570909
walk 599205004
walk 627185431
walk 382692449
walk 508916807
walk 190311319
walk 706452914
walk 354855074
walk 552810713
walk 613992533
walk 732798468
walk 829266529
walk 141916544
w...

result:

ok OK, guesses=6667

Test #44:

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

input:

2883525
5116414
8526044
2069750
5531435
4788328
8686189
8413116
7869482
7886136
3395002
3765058
4578912
5372496
5860223
7153968
5796429
3095492
2025536
4266741
1458068
2681424
8302198
4294983
7912802
6994783
8808359
5168036
2515422
7128351
3251754
6049611
2218507
8366060
1255863
2921907
5185474
5282...

output:

walk 672381594
walk 413574623
walk 3872629
walk 831573765
walk 336701845
walk 429878852
walk 142031716
walk 675233136
walk 599213258
walk 582615201
walk 2956491
walk 671545489
walk 963168376
walk 676947416
walk 52047021
walk 868915479
walk 162609321
walk 247599121
walk 862372324
walk 626278791
walk ...

result:

ok OK, guesses=6667

Test #45:

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

input:

8832921
3145347
10248564
10488952
1543940
6770364
7156428
7032290
4452307
10807444
7786426
8675198
2550137
2676162
10253674
7128782
4171567
4657191
6736288
9043799
6005100
4868560
11000556
5783425
942900
6625278
1450413
7041542
2802060
3459443
3004141
6048596
6577248
3883338
1840462
2920972
10463039...

output:

walk 672381594
walk 413574623
walk 3872629
walk 831573765
walk 336701845
walk 429878852
walk 142031716
walk 675233136
walk 599213258
walk 582615201
walk 2956491
walk 671545489
walk 963168376
walk 676947416
walk 52047021
walk 868915479
walk 162609321
walk 247599121
walk 862372324
walk 626278791
walk ...

result:

ok OK, guesses=6667

Test #46:

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

input:

1775593
11949489
1632016
19223985
7742614
12462621
4172743
10215272
1257031
7594316
1855916
4074766
10817435
1603192
12491225
1590249
12734933
4257374
4365707
6104230
127707
15902624
15109100
5087377
12974746
14048108
18324293
11458243
18796176
14817721
927538
15522348
11313484
17217486
2801507
6865...

output:

walk 672381594
walk 413574623
walk 3872629
walk 831573765
walk 336701845
walk 429878852
walk 142031716
walk 675233136
walk 599213258
walk 582615201
walk 2956491
walk 671545489
walk 963168376
walk 676947416
walk 52047021
walk 868915479
walk 162609321
walk 247599121
walk 862372324
walk 626278791
walk ...

result:

ok OK, guesses=6672

Test #47:

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

input:

428094
649461
273739
41576
461262
244980
687079
807771
502954
35983
650656
411177
470450
677409
375069
282224
505046
235203
390821
195632
425023
452595
306972
45497
348493
224722
553422
681475
8775
532140
727639
530123
116658
57375
536441
426422
467766
34657
70693
19299
421115
459012
754443
504829
7...

output:

walk 672381594
walk 413574623
walk 3872629
walk 831573765
walk 336701845
walk 429878852
walk 142031716
walk 675233136
walk 599213258
walk 582615201
walk 2956491
walk 671545489
walk 963168376
walk 676947416
walk 52047021
walk 868915479
walk 162609321
walk 247599121
walk 862372324
walk 626278791
walk ...

result:

ok OK, guesses=6667

Test #48:

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

input:

16704836
38118291
27632463
7878802
17290088
42513415
23092201
51089564
32063739
53390472
57209429
2065331
44160206
50616197
1544132
50880429
38656238
30160905
22924501
27614860
40482217
39594380
9582824
12520687
55179654
40540773
34919646
17160286
26872750
21772796
46450938
31737014
32832281
2804971...

output:

walk 867186346
walk 629878431
walk 539498386
walk 458885619
walk 351355533
walk 718850158
walk 213722544
walk 978560148
walk 994517404
walk 770225547
walk 650625591
walk 218649029
walk 337260811
walk 252696550
walk 946775313
walk 591142741
walk 13825238
walk 50159136
walk 655223830
walk 204552280
wa...

result:

ok OK, guesses=6674

Test #49:

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

input:

85207554
92832764
103199722
237590628
204005657
126740320
162989607
127459937
211913759
128672775
99812115
203936454
64578008
192344075
65838580
62751628
192300115
192090053
6648244
112770152
181533077
160093365
192589690
167545557
101327285
41593173
206651575
65848042
70193553
60431481
65743018
189...

output:

walk 867186346
walk 629878431
walk 539498386
walk 458885619
walk 351355533
walk 718850158
walk 213722544
walk 978560148
walk 994517404
walk 770225547
walk 650625591
walk 218649029
walk 337260811
walk 252696550
walk 946775313
walk 591142741
walk 13825238
walk 50159136
walk 655223830
walk 204552280
wa...

result:

ok OK, guesses=6714

Test #50:

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

input:

294393826
85125787
40734849
172224136
290568244
458775848
460426998
435147173
394446216
330181489
489906572
482291456
186615775
489830092
329730667
55396141
304356185
91150187
208826788
86999824
229508053
200599342
162303587
51064139
249209696
303309488
176452181
301099573
421776956
82428408
4486525...

output:

walk 867186346
walk 629878431
walk 539498386
walk 458885619
walk 351355533
walk 718850158
walk 213722544
walk 978560148
walk 994517404
walk 770225547
walk 650625591
walk 218649029
walk 337260811
walk 252696550
walk 946775313
walk 591142741
walk 13825238
walk 50159136
walk 655223830
walk 204552280
wa...

result:

ok OK, guesses=6684

Test #51:

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

input:

867186347
573486543
189406694
648292313
76069611
794919769
85064078
140045991
210985160
57632472
708258063
3328857
340589668
593286218
616483296
284047802
297873040
348032176
79677771
284230051
594902324
793895293
874161382
758347029
794039095
809882334
368788999
402185437
72068371
116057170
5921107...

output:

walk 867186346
walk 629878431
walk 539498386
walk 458885619
walk 351355533
walk 718850158
walk 213722544
walk 978560148
walk 994517404
walk 770225547
walk 650625591
walk 218649029
walk 337260811
walk 252696550
walk 946775313
walk 591142741
walk 13825238
walk 50159136
walk 655223830
walk 204552280
wa...

result:

ok OK, guesses=6804

Test #52:

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

input:

10195599
60299151
20022658
92391691
57230638
3047624
23511875
35780558
64006497
61198872
132049584
157440320
108184545
167622802
148106650
159474512
173299750
30200593
105649544
116943531
41099218
46833894
127099983
161830693
4264466
20107705
116076019
149472457
163158747
164434316
60713029
52679940...

output:

walk 867186346
walk 629878431
walk 539498386
walk 458885619
walk 351355533
walk 718850158
walk 213722544
walk 978560148
walk 994517404
walk 770225547
walk 650625591
walk 218649029
walk 337260811
walk 252696550
walk 946775313
walk 591142741
walk 13825238
walk 50159136
walk 655223830
walk 204552280
wa...

result:

ok OK, guesses=6687

Test #53:

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

input:

24016565
165786133
71244675
114191292
42985385
236116711
150665773
198286128
16572258
5580215
10970448
71363992
167574080
93784397
95968044
96084193
230640747
60905995
226646270
146679800
172626383
47808844
43394380
181134761
72982856
214198669
110829874
113664390
229626855
21547337
116134343
213130...

output:

walk 276270291
walk 291089617
walk 256722798
walk 229771365
walk 8458565
walk 559457070
walk 903627252
walk 175126705
walk 636465569
walk 63880128
walk 41702689
walk 846659844
walk 60121850
walk 877213355
walk 202346298
walk 321836522
walk 278481988
walk 644733980
walk 964986231
walk 469794527
walk ...

result:

ok OK, guesses=6696