QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#707129#5309. Guess Cycle LengthxyjAC ✓24ms4168kbC++201.4kb2024-11-03 14:47:282024-11-03 14:47:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

walk 960424691
walk 462864055
walk 298529480
walk 772182183
walk 744935978
walk 937003277
walk 378037436
walk 244384881
walk 113181029
walk 611636385
walk 106406871
walk 773974342
walk 635711174
walk 87616696
walk 517726093
walk 801753868
walk 623588775
walk 22670455
walk 74114400
walk 356249740
wal...

result:

ok OK, guesses=3343

Test #2:

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

input:

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

output:

walk 960424691
walk 462864055
walk 298529480
walk 772182183
walk 744935978
walk 937003277
walk 378037436
walk 244384881
walk 113181029
walk 611636385
walk 106406871
walk 773974342
walk 635711174
walk 87616696
walk 517726093
walk 801753868
walk 623588775
walk 22670455
walk 74114400
walk 356249740
wal...

result:

ok OK, guesses=3353

Test #3:

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

input:

3039
7876
5320
3172
1081
2632
7901
148
1442
4417
9892
6583
8332
8674
333
5158
8001
3333
3999
6127
6472
454
8692
1715
819
4305
5126
1066
2172
7643
2238
2735
3043
1434
9783
8001
7943
7913
4730
5966
8912
7556
1836
2883
8222
4161
33
8215
9486
2376
9039
7007
3879
8780
9771
5748
4135
2300
569
6414
50
9266...

output:

walk 664123038
walk 275494837
walk 951667444
walk 395447852
walk 676787909
walk 266691551
walk 91165269
walk 878502247
walk 771791294
walk 807312975
walk 128455475
walk 123686691
walk 513881749
walk 202170342
walk 501051659
walk 734204825
walk 945492843
walk 443215332
walk 585000666
walk 712492128
w...

result:

ok OK, guesses=6667

Test #4:

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

input:

664123039
939617876
891285320
286733172
963521081
230212632
321377901
199880148
971671442
778984417
907439892
31126583
545008332
747178674
248230333
982435158
927928001
371143333
956143999
668636127
876506472
564680454
594108692
14051715
197710819
891104305
714475126
797491066
757782172
940507643
96...

output:

walk 664123038
walk 275494837
walk 951667444
walk 395447852
walk 676787909
walk 266691551
walk 91165269
walk 878502247
walk 771791294
walk 807312975
walk 128455475
walk 123686691
walk 513881749
walk 202170342
walk 501051659
walk 734204825
walk 945492843
walk 443215332
walk 585000666
walk 712492128
w...

result:

ok OK, guesses=6682

Test #5:

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

input:

666042849
941537686
893205130
288652982
965440891
232132442
323297711
201799958
973591252
780904227
909359702
33046393
546928142
749098484
250150143
984354968
929847811
373063143
958063809
670555937
878426282
566600264
596028502
15971525
199630629
893024115
716394936
799410876
759701982
942427453
96...

output:

walk 664123038
walk 275494837
walk 951667444
walk 395447852
walk 676787909
walk 266691551
walk 91165269
walk 878502247
walk 771791294
walk 807312975
walk 128455475
walk 123686691
walk 513881749
walk 202170342
walk 501051659
walk 734204825
walk 945492843
walk 443215332
walk 585000666
walk 712492128
w...

result:

ok OK, guesses=7008

Test #6:

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

input:

53503727
551238876
721964464
790038268
934391161
70322688
72188301
183805020
887902058
753873633
184567708
928419015
528061588
996746122
469532765
702811790
499256001
826133765
371133647
244896303
154012368
569621182
702545308
18531379
595600787
995269809
684222126
579423506
838711268
956486635
1861...

output:

walk 664123038
walk 275494837
walk 951667444
walk 395447852
walk 676787909
walk 266691551
walk 91165269
walk 878502247
walk 771791294
walk 807312975
walk 128455475
walk 123686691
walk 513881749
walk 202170342
walk 501051659
walk 734204825
walk 945492843
walk 443215332
walk 585000666
walk 712492128
w...

result:

ok OK, guesses=6753

Test #7:

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

input:

102002425
206417342
337305274
290966167
590156540
251869391
422719415
633119252
361589127
337924093
336528586
210176017
745206104
362326383
617109984
86557075
592409342
607080095
601320938
657804713
398128891
62649068
821344881
340672826
788467819
66213214
201172754
839158655
915042422
779032979
974...

output:

walk 283395785
walk 163167523
walk 602365212
walk 79518811
walk 461709208
walk 815872032
walk 862572264
walk 364518416
walk 429602848
walk 984736634
walk 688971
walk 400033001
walk 297025398
walk 311994596
walk 559909284
walk 715876480
walk 259422878
walk 14670753
walk 994240843
walk 56483775
walk 3...

result:

ok OK, guesses=6669

Test #8:

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

input:

208059996
966003286
439746024
384773435
608092604
432028140
196455373
224419392
141930601
576969114
355444725
341821950
77520105
424985558
441290856
691013094
840277064
125552018
562428983
412353713
192737135
670817528
482806839
223597377
654989283
580106861
893874336
530422211
691163171
217967589
2...

output:

walk 283395785
walk 163167523
walk 602365212
walk 79518811
walk 461709208
walk 815872032
walk 862572264
walk 364518416
walk 429602848
walk 984736634
walk 688971
walk 400033001
walk 297025398
walk 311994596
walk 559909284
walk 715876480
walk 259422878
walk 14670753
walk 994240843
walk 56483775
walk 3...

result:

ok OK, guesses=6790

Test #9:

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

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 283395785
walk 163167523
walk 602365212
walk 79518811
walk 461709208
walk 815872032
walk 862572264
walk 364518416
walk 429602848
walk 984736634
walk 688971
walk 400033001
walk 297025398
walk 311994596
walk 559909284
walk 715876480
walk 259422878
walk 14670753
walk 994240843
walk 56483775
walk 3...

result:

ok OK, guesses=3334

Test #10:

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

input:

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

output:

walk 283395785
walk 163167523
walk 602365212
walk 79518811
walk 461709208
walk 815872032
walk 862572264
walk 364518416
walk 429602848
walk 984736634
walk 688971
walk 400033001
walk 297025398
walk 311994596
walk 559909284
walk 715876480
walk 259422878
walk 14670753
walk 994240843
walk 56483775
walk 3...

result:

ok OK, guesses=3343

Test #11:

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

input:

559
410
340
684
96
572
146
25
114
623
140
179
541
191
920
246
337
152
443
62
175
874
861
897
291
912
405
71
837
86
76
139
265
890
511
552
820
252
18
954
391
128
681
408
388
993
561
120
383
162
987
99
652
294
742
907
913
283
455
718
872
131
377
949
973
500
406
457
781
650
376
923
336
364
338
824
973
...

output:

walk 283395785
walk 163167523
walk 602365212
walk 79518811
walk 461709208
walk 815872032
walk 862572264
walk 364518416
walk 429602848
walk 984736634
walk 688971
walk 400033001
walk 297025398
walk 311994596
walk 559909284
walk 715876480
walk 259422878
walk 14670753
walk 994240843
walk 56483775
walk 3...

result:

ok OK, guesses=4333

Test #12:

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

input:

9524
8507
3643
8401
1133
9727
6698
9836
2427
9519
4782
8059
3534
7574
9065
3719
2932
3096
2104
1376
2434
9396
1087
1033
2508
6124
9508
643
9003
4673
1694
7501
921
6725
3387
5221
5940
3201
9816
6993
3848
3478
4977
1424
3903
9213
8944
1697
8199
1501
8581
1436
5351
1793
1101
8688
1431
6690
6818
2960
36...

output:

walk 283395785
walk 163167523
walk 602365212
walk 79518811
walk 461709208
walk 815872032
walk 862572264
walk 364518416
walk 429602848
walk 984736634
walk 688971
walk 400033001
walk 297025398
walk 311994596
walk 559909284
walk 715876480
walk 259422878
walk 14670753
walk 994240843
walk 56483775
walk 3...

result:

ok OK, guesses=6667

Test #13:

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

input:

5894
5699
40620
6258
70646
5326
7683
4104
76000
38169
32476
47018
53677
14227
6525
11522
18056
55698
67282
810
60694
99463
61871
47228
63342
36753
26549
11974
76138
39199
86345
47130
73775
12171
77926
90844
54172
5518
12461
8013
32391
33199
67798
88511
77908
82778
21861
99870
15087
86964
7806
17275
...

output:

walk 120417519
walk 44724250
walk 175539600
walk 612184214
walk 386860248
walk 212769321
walk 555793824
walk 63199993
walk 81340759
walk 157094830
walk 84095783
walk 816205446
walk 74349749
walk 410069710
walk 535411502
walk 543317518
walk 633423173
walk 500370324
walk 248094577
walk 310891453
walk ...

result:

ok OK, guesses=6667

Test #14:

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

input:

905329
625175
976618
483259
853503
262344
50055
313352
218641
544410
359939
22471
602337
702057
913156
304255
714180
192665
476105
68443
234977
320752
468179
730306
891682
55254
730515
95141
722873
410228
794511
264927
928177
829454
226918
646837
425403
221853
820990
101535
414402
634993
93039
84894...

output:

walk 120417519
walk 44724250
walk 175539600
walk 612184214
walk 386860248
walk 212769321
walk 555793824
walk 63199993
walk 81340759
walk 157094830
walk 84095783
walk 816205446
walk 74349749
walk 410069710
walk 535411502
walk 543317518
walk 633423173
walk 500370324
walk 248094577
walk 310891453
walk ...

result:

ok OK, guesses=6667

Test #15:

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

input:

5416533
9006241
1778844
3524403
8646620
135113
615919
1095212
4047853
9286143
4219379
3485963
1423694
9882516
2433717
8124563
8983641
8483020
8505035
1160255
1974936
5872959
3159832
9565015
1747339
4977762
2466313
1886312
3201407
5452067
3302570
5343847
8639459
8643620
5742809
6795766
9285634
962785...

output:

walk 120417519
walk 44724250
walk 175539600
walk 612184214
walk 386860248
walk 212769321
walk 555793824
walk 63199993
walk 81340759
walk 157094830
walk 84095783
walk 816205446
walk 74349749
walk 410069710
walk 535411502
walk 543317518
walk 633423173
walk 500370324
walk 248094577
walk 310891453
walk ...

result:

ok OK, guesses=6667

Test #16:

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

input:

80665179
60662112
36397445
42044516
80179819
13382241
15093393
7702340
6894474
30363924
64427662
72336109
6433038
67160839
42493851
93828042
49572523
24949118
66288589
21373425
84657259
99497340
46889381
31209559
76985242
49610759
86146108
68212433
64905449
36262562
79975500
37588013
9072307
6104465...

output:

walk 120417519
walk 44724250
walk 175539600
walk 612184214
walk 386860248
walk 212769321
walk 555793824
walk 63199993
walk 81340759
walk 157094830
walk 84095783
walk 816205446
walk 74349749
walk 410069710
walk 535411502
walk 543317518
walk 633423173
walk 500370324
walk 248094577
walk 310891453
walk ...

result:

ok OK, guesses=6675

Test #17:

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

input:

884116205
366969106
396811558
635069302
532714291
886038258
396516115
750079106
160350375
854983209
947642066
492732574
468323613
179656528
319352467
566764095
551294512
612600389
60288694
483252506
133251486
884868041
181261499
455173663
481445843
154079137
212393637
850619377
223510862
975860134
7...

output:

walk 120417519
walk 44724250
walk 175539600
walk 612184214
walk 386860248
walk 212769321
walk 555793824
walk 63199993
walk 81340759
walk 157094830
walk 84095783
walk 816205446
walk 74349749
walk 410069710
walk 535411502
walk 543317518
walk 633423173
walk 500370324
walk 248094577
walk 310891453
walk ...

result:

ok OK, guesses=6927

Test #18:

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

input:

356879935
547822492
717651015
99591134
555284807
73151165
305925594
753413126
464779828
768009727
844473241
811237389
809955205
69844018
88077314
556409353
522575095
805799758
454388134
381316882
713681408
892616578
465904461
427325128
290505222
158621881
156578372
437204683
770718704
122825128
3940...

output:

walk 819686331
walk 862117951
walk 828351405
walk 229802613
walk 250090420
walk 616757398
walk 261892638
walk 555170005
walk 594204831
walk 344206195
walk 37749445
walk 95436002
walk 868543467
walk 455955199
walk 450168283
walk 463765288
walk 107234978
walk 2177679
walk 745164331
walk 744166259
walk...

result:

ok OK, guesses=6763

Test #19:

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

input:

31613853
261133330
26206664
21380530
114934114
46639371
10533574
116826179
237280387
205267390
126729335
140210312
170587611
199428470
126093172
163940769
95135123
89206918
34013383
223470912
44890259
255347562
73699896
119553525
171753563
9756145
231765178
58888420
103211957
144428516
25066755
2527...

output:

walk 819686331
walk 862117951
walk 828351405
walk 229802613
walk 250090420
walk 616757398
walk 261892638
walk 555170005
walk 594204831
walk 344206195
walk 37749445
walk 95436002
walk 868543467
walk 455955199
walk 450168283
walk 463765288
walk 107234978
walk 2177679
walk 745164331
walk 744166259
walk...

result:

ok OK, guesses=6667

Test #20:

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

input:

208534326
13993949
115088856
335216285
191744057
176714636
345374158
37810689
191164794
297944448
153306073
34694934
351328359
272183543
120948508
137492555
26173870
275933705
397192954
288274531
355091488
292106486
691273
278982924
286016723
139393693
123744490
308895858
16857010
111872076
22204120...

output:

walk 819686331
walk 862117951
walk 828351405
walk 229802613
walk 250090420
walk 616757398
walk 261892638
walk 555170005
walk 594204831
walk 344206195
walk 37749445
walk 95436002
walk 868543467
walk 455955199
walk 450168283
walk 463765288
walk 107234978
walk 2177679
walk 745164331
walk 744166259
walk...

result:

ok OK, guesses=6687

Test #21:

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

input:

80293666
104144897
7772664
77286085
10325088
27880089
34987950
145129572
57385814
82972635
103539527
123683699
46354893
103636959
135825770
114992965
58183070
112544612
58853896
2301077
112313818
76189031
131595541
89807429
52358993
145504044
149719105
81991222
138898739
17753579
119478918
103790960...

output:

walk 819686331
walk 862117951
walk 828351405
walk 229802613
walk 250090420
walk 616757398
walk 261892638
walk 555170005
walk 594204831
walk 344206195
walk 37749445
walk 95436002
walk 868543467
walk 455955199
walk 450168283
walk 463765288
walk 107234978
walk 2177679
walk 745164331
walk 744166259
walk...

result:

ok OK, guesses=6676

Test #22:

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

input:

136071462
141829433
287972082
202251185
293985614
121854434
81761750
51221911
175961192
31304593
177143373
250143826
18378184
278826066
29574455
17115872
87717077
36938926
293908259
273610177
259258045
169672624
23936828
185548729
55870290
185213796
206978251
208671884
106428702
69363527
188963334
2...

output:

walk 517417630
walk 602293009
walk 333435109
walk 919606045
walk 35373001
walk 20199941
walk 40188412
walk 189589569
walk 253568494
walk 456077218
walk 132920830
walk 373068711
walk 661320256
walk 642320838
walk 509977582
walk 382910024
walk 351674721
walk 647933733
walk 19843323
walk 94307352
walk ...

result:

ok OK, guesses=6744

Test #23:

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

input:

121160369
207706607
587647560
506437779
156900748
45458517
500723298
962082241
1818205
863995998
299834516
176190074
606754646
914668772
942459382
589010880
654424
699882045
69909539
444884263
440305442
910416158
822838549
600591420
672232022
356649829
64094535
103399647
471529754
622677541
22817889...

output:

walk 517417630
walk 602293009
walk 333435109
walk 919606045
walk 35373001
walk 20199941
walk 40188412
walk 189589569
walk 253568494
walk 456077218
walk 132920830
walk 373068711
walk 661320256
walk 642320838
walk 509977582
walk 382910024
walk 351674721
walk 647933733
walk 19843323
walk 94307352
walk ...

result:

ok OK, guesses=6891

Test #24:

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

input:

360128351
882834323
970074812
351373526
151270198
356160409
690742089
284215982
118951408
478843816
992725223
3181266
350988591
246121801
868172585
402683058
694591164
53597165
591677360
150566566
19161560
340488004
736170101
455629272
988928349
63839094
544708986
159581066
74820101
116990922
416584...

output:

walk 517417630
walk 602293009
walk 333435109
walk 919606045
walk 35373001
walk 20199941
walk 40188412
walk 189589569
walk 253568494
walk 456077218
walk 132920830
walk 373068711
walk 661320256
walk 642320838
walk 509977582
walk 382910024
walk 351674721
walk 647933733
walk 19843323
walk 94307352
walk ...

result:

ok OK, guesses=6698

Test #25:

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

input:

313514312
357686274
350191738
421808575
575358384
249066032
47973404
111905397
131691961
13937294
279439569
619214480
415038718
48974518
335608665
75564202
546947598
455184483
706953953
485827665
467511578
345330857
111681808
255481963
316330114
629442261
715192716
357676017
591277791
657868366
6793...

output:

walk 517417630
walk 602293009
walk 333435109
walk 919606045
walk 35373001
walk 20199941
walk 40188412
walk 189589569
walk 253568494
walk 456077218
walk 132920830
walk 373068711
walk 661320256
walk 642320838
walk 509977582
walk 382910024
walk 351674721
walk 647933733
walk 19843323
walk 94307352
walk ...

result:

ok OK, guesses=6709

Test #26:

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

input:

75043160
87345874
80829953
44304498
48018778
105780663
86347688
101172579
65528701
74537843
777938
25192653
16412653
49596365
10467527
30484942
59736079
37397111
31062933
119532334
113664604
117662428
52874555
124460373
120451012
26371716
85817814
1684050
17099658
60597778
22670737
50265760
72075727...

output:

walk 139637837
walk 488486092
walk 53199577
walk 533111709
walk 966713613
walk 489762803
walk 667411851
walk 822624678
walk 830395863
walk 636768123
walk 79248515
walk 788127940
walk 521221214
walk 753565268
walk 484645315
walk 367051225
walk 742116888
walk 59655078
walk 504365783
walk 368987246
wal...

result:

ok OK, guesses=6686

Test #27:

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

input:

529607727
326210984
621922481
270970310
692673583
818422596
652019297
500086160
325592543
914531801
400871356
85707526
689467560
441603413
150627063
258421913
594755206
887076354
684812682
944330218
692879761
939169188
399532797
179097066
627047901
208244217
164434659
684640274
73473349
15858458
594...

output:

walk 139637837
walk 488486092
walk 53199577
walk 533111709
walk 966713613
walk 489762803
walk 667411851
walk 822624678
walk 830395863
walk 636768123
walk 79248515
walk 788127940
walk 521221214
walk 753565268
walk 484645315
walk 367051225
walk 742116888
walk 59655078
walk 504365783
walk 368987246
wal...

result:

ok OK, guesses=6671

Test #28:

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

input:

60467537
55629291
801864281
764361434
191290343
740745486
156697331
524887629
828288344
2131071
405168774
781451447
362439778
120907216
76456740
192786534
115147860
605445517
643841781
285076596
366672099
354907685
533955207
331806655
709106900
342534986
629075698
228501454
119610005
487949902
27880...

output:

walk 139637837
walk 488486092
walk 53199577
walk 533111709
walk 966713613
walk 489762803
walk 667411851
walk 822624678
walk 830395863
walk 636768123
walk 79248515
walk 788127940
walk 521221214
walk 753565268
walk 484645315
walk 367051225
walk 742116888
walk 59655078
walk 504365783
walk 368987246
wal...

result:

ok OK, guesses=6681

Test #29:

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

input:

569718790
576304718
263290708
277614126
584455444
131674530
176374617
424234525
565546831
460384958
484515739
346103039
617238189
79650220
586523996
809649025
509900114
711540487
91178579
723277007
408356547
437606385
340865181
705025350
673439138
28284823
303120006
775546303
976895964
278723754
566...

output:

walk 139637837
walk 488486092
walk 53199577
walk 533111709
walk 966713613
walk 489762803
walk 667411851
walk 822624678
walk 830395863
walk 636768123
walk 79248515
walk 788127940
walk 521221214
walk 753565268
walk 484645315
walk 367051225
walk 742116888
walk 59655078
walk 504365783
walk 368987246
wal...

result:

ok OK, guesses=6730

Test #30:

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

input:

275433532
378616417
624451676
21592164
347949851
485294038
472905374
242459391
116147082
697575098
239927764
145937832
762866301
461404488
20547898
551463135
566182884
681332092
343455802
9762434
182661637
210989240
212858935
567336143
143664112
641827585
694911138
223420710
735880816
76095748
44727...

output:

walk 979691972
walk 298970316
walk 552657611
walk 216617890
walk 895317725
walk 960460984
walk 364311937
walk 304481738
walk 482294080
walk 886856053
walk 168190500
walk 57177145
walk 302821354
walk 784777195
walk 387104774
walk 199024709
walk 50829793
walk 694064164
walk 910452006
walk 633680061
wa...

result:

ok OK, guesses=6678

Test #31:

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

input:

406424244
705394560
398813477
615431367
651510398
752732688
257805931
562287669
185343055
212960414
381150914
438328059
741149413
666687914
194553994
393578703
444408496
279233966
330447278
104888645
237133134
605537841
294729059
332625892
447223873
848777799
282541874
566440791
688038103
752099952
...

output:

walk 979691972
walk 298970316
walk 552657611
walk 216617890
walk 895317725
walk 960460984
walk 364311937
walk 304481738
walk 482294080
walk 886856053
walk 168190500
walk 57177145
walk 302821354
walk 784777195
walk 387104774
walk 199024709
walk 50829793
walk 694064164
walk 910452006
walk 633680061
wa...

result:

ok OK, guesses=6796

Test #32:

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

input:

371295081
5794989
912852941
248149785
776564939
855463242
846695707
107092185
478217281
775558385
880115717
707339748
755940232
83283878
40770901
97706376
85287763
79522682
192687677
217917473
929789061
500871471
475829849
339659233
174131278
844074021
529643786
884415804
594280441
810486708
2728237...

output:

walk 979691972
walk 298970316
walk 552657611
walk 216617890
walk 895317725
walk 960460984
walk 364311937
walk 304481738
walk 482294080
walk 886856053
walk 168190500
walk 57177145
walk 302821354
walk 784777195
walk 387104774
walk 199024709
walk 50829793
walk 694064164
walk 910452006
walk 633680061
wa...

result:

ok OK, guesses=6983

Test #33:

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

input:

31333648
330303964
882961575
151221140
98180540
110283199
474595136
779076874
313012629
251510357
419700857
476878002
779699356
616118226
54864675
253889384
304719177
50425016
12518697
646198758
778443247
198489629
746919541
695696743
721175093
174370694
467373463
751272380
872869692
936931541
26178...

output:

walk 979691972
walk 298970316
walk 552657611
walk 216617890
walk 895317725
walk 960460984
walk 364311937
walk 304481738
walk 482294080
walk 886856053
walk 168190500
walk 57177145
walk 302821354
walk 784777195
walk 387104774
walk 199024709
walk 50829793
walk 694064164
walk 910452006
walk 633680061
wa...

result:

ok OK, guesses=6698

Test #34:

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

input:

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

output:

walk 979691972
walk 298970316
walk 552657611
walk 216617890
walk 895317725
walk 960460984
walk 364311937
walk 304481738
walk 482294080
walk 886856053
walk 168190500
walk 57177145
walk 302821354
walk 784777195
walk 387104774
walk 199024709
walk 50829793
walk 694064164
walk 910452006
walk 633680061
wa...

result:

ok OK, guesses=3335

Test #35:

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

input:

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

output:

walk 594315425
walk 33300035
walk 197353180
walk 821409872
walk 673333077
walk 354907453
walk 129110616
walk 3589072
walk 131360730
walk 56376886
walk 104588474
walk 396735163
walk 76495579
walk 883326872
walk 433304819
walk 169329115
walk 425228130
walk 102848573
walk 232282543
walk 35782072
walk 1...

result:

ok OK, guesses=3336

Test #36:

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

input:

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

output:

walk 594315425
walk 33300035
walk 197353180
walk 821409872
walk 673333077
walk 354907453
walk 129110616
walk 3589072
walk 131360730
walk 56376886
walk 104588474
walk 396735163
walk 76495579
walk 883326872
walk 433304819
walk 169329115
walk 425228130
walk 102848573
walk 232282543
walk 35782072
walk 1...

result:

ok OK, guesses=3337

Test #37:

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

input:

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

output:

walk 594315425
walk 33300035
walk 197353180
walk 821409872
walk 673333077
walk 354907453
walk 129110616
walk 3589072
walk 131360730
walk 56376886
walk 104588474
walk 396735163
walk 76495579
walk 883326872
walk 433304819
walk 169329115
walk 425228130
walk 102848573
walk 232282543
walk 35782072
walk 1...

result:

ok OK, guesses=3338

Test #38:

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

input:

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

output:

walk 594315425
walk 33300035
walk 197353180
walk 821409872
walk 673333077
walk 354907453
walk 129110616
walk 3589072
walk 131360730
walk 56376886
walk 104588474
walk 396735163
walk 76495579
walk 883326872
walk 433304819
walk 169329115
walk 425228130
walk 102848573
walk 232282543
walk 35782072
walk 1...

result:

ok OK, guesses=3339

Test #39:

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

input:

784
2047
2087
2943
805
1196
1332
1184
966
1638
1526
2369
353
1713
483
243
1958
1969
2859
713
1477
1914
2495
2760
2228
1509
459
2183
2657
2625
2614
935
423
1872
1725
1131
2651
2578
1382
703
1013
262
2220
2995
1086
2025
910
1458
2453
340
308
579
2538
1870
1547
2264
2131
2866
938
294
667
1598
1791
1036...

output:

walk 594315425
walk 33300035
walk 197353180
walk 821409872
walk 673333077
walk 354907453
walk 129110616
walk 3589072
walk 131360730
walk 56376886
walk 104588474
walk 396735163
walk 76495579
walk 883326872
walk 433304819
walk 169329115
walk 425228130
walk 102848573
walk 232282543
walk 35782072
walk 1...

result:

ok OK, guesses=6333

Test #40:

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

input:

263
651
76
888
537
1362
822
1020
651
572
1101
579
466
239
37
1442
502
1803
392
1107
645
508
1890
319
896
850
151
929
690
72
1387
1925
929
1186
1264
896
1041
1254
1685
150
1540
889
1560
343
441
19
1306
1034
515
779
914
1472
101
99
1309
642
1215
1265
1782
223
503
633
1365
815
1251
1795
152
95
1147
198...

output:

walk 594315425
walk 33300035
walk 197353180
walk 821409872
walk 673333077
walk 354907453
walk 129110616
walk 3589072
walk 131360730
walk 56376886
walk 104588474
walk 396735163
walk 76495579
walk 883326872
walk 433304819
walk 169329115
walk 425228130
walk 102848573
walk 232282543
walk 35782072
walk 1...

result:

ok OK, guesses=5333

Test #41:

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

input:

2054
35
664
2647
2635
2788
2856
2655
35
370
2091
3839
355
3253
2321
3766
2444
3457
1805
3705
2422
2416
1717
1491
2681
1321
1378
1971
3333
2546
751
339
1971
133
2677
3194
3703
479
1596
1682
3908
2685
2666
2099
1585
886
1743
3797
80
1795
1145
2468
210
615
2342
175
1555
2092
3283
3341
880
3088
255
3304...

output:

walk 594315425
walk 33300035
walk 197353180
walk 821409872
walk 673333077
walk 354907453
walk 129110616
walk 3589072
walk 131360730
walk 56376886
walk 104588474
walk 396735163
walk 76495579
walk 883326872
walk 433304819
walk 169329115
walk 425228130
walk 102848573
walk 232282543
walk 35782072
walk 1...

result:

ok OK, guesses=6667

Test #42:

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

input:

1000
1416
2643
2921
4352
4384
5967
1360
6337
307
331
4817
3370
1537
4056
1248
2857
5724
5718
4041
6412
4792
148
6412
2877
2760
1215
3705
299
6492
3348
5400
409
6338
5028
1261
5346
3315
606
624
5350
6268
57
3431
2674
1360
4592
3761
5406
5669
4856
4326
5918
544
4504
868
2467
557
4551
1550
2665
6409
60...

output:

walk 294111715
walk 996774856
walk 848482037
walk 513344873
walk 535106444
walk 830480832
walk 835798070
walk 494083746
walk 715247054
walk 96557163
walk 130535606
walk 746326412
walk 944876986
walk 1588286
walk 417654289
walk 16278089
walk 897821481
walk 673368065
walk 655523409
walk 320575473
walk...

result:

ok OK, guesses=6667

Test #43:

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

input:

1640
1921
1386
432
4272
3002
1516
5505
185
4716
1250
206
3828
5023
1691
2500
6571
967
4013
553
5940
6647
2810
5701
6012
4579
5535
5758
4806
2042
4168
4379
2604
992
2859
3243
1736
5238
855
4048
26
2349
796
736
3336
285
1756
716
3694
5133
3607
2044
6324
3594
4369
891
3311
1035
3743
3804
2767
5934
3514...

output:

walk 294111715
walk 996774856
walk 848482037
walk 513344873
walk 535106444
walk 830480832
walk 835798070
walk 494083746
walk 715247054
walk 96557163
walk 130535606
walk 746326412
walk 944876986
walk 1588286
walk 417654289
walk 16278089
walk 897821481
walk 673368065
walk 655523409
walk 320575473
walk...

result:

ok OK, guesses=6667

Test #44:

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

input:

6507916
855432
3598069
5509035
4733408
6587901
958987
6816468
4194524
1133539
8402788
6939523
1156703
1444474
4033999
6571479
7383899
2879210
3242570
3009167
5064482
7810481
8158520
8338637
6855575
7471114
545344
5845539
2529790
5747889
737720
2144333
6772189
508508
8141988
7768284
2325224
1059557
7...

output:

walk 294111715
walk 996774856
walk 848482037
walk 513344873
walk 535106444
walk 830480832
walk 835798070
walk 494083746
walk 715247054
walk 96557163
walk 130535606
walk 746326412
walk 944876986
walk 1588286
walk 417654289
walk 16278089
walk 897821481
walk 673368065
walk 655523409
walk 320575473
walk...

result:

ok OK, guesses=6668

Test #45:

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

input:

10475153
8609993
2507268
7001202
7305239
4288472
10819122
6552804
4170853
111687
780436
8844401
1378929
9792585
6874927
5616326
9679131
3030171
10566652
7341116
3539268
10943817
3600216
9935949
10603580
3094328
9987939
5697028
3235236
3960491
7369609
10410883
6042312
731582
5126355
8461481
2183375
6...

output:

walk 294111715
walk 996774856
walk 848482037
walk 513344873
walk 535106444
walk 830480832
walk 835798070
walk 494083746
walk 715247054
walk 96557163
walk 130535606
walk 746326412
walk 944876986
walk 1588286
walk 417654289
walk 16278089
walk 897821481
walk 673368065
walk 655523409
walk 320575473
walk...

result:

ok OK, guesses=6668

Test #46:

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

input:

15960208
14300110
1092655
12388452
14162801
1357758
12554255
14244784
635674
10072625
626121
11420580
10032093
3050405
3339429
18119597
3683417
12489530
369903
3676202
18320570
13895045
1664308
18815378
17920404
9962277
687111
13619252
3175873
9491009
18958414
18284522
17630271
15141095
14401250
110...

output:

walk 67846512
walk 737231955
walk 353515025
walk 132047061
walk 468438420
walk 307448636
walk 543395221
walk 129455552
walk 226720662
walk 359373637
walk 227172224
walk 97085669
walk 741539893
walk 116343542
walk 402887169
walk 87209626
walk 145241608
walk 244331287
walk 8641292
walk 674760536
walk ...

result:

ok OK, guesses=6673

Test #47:

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

input:

369920
134715
672675
59605
801136
271615
293514
813736
556783
497435
467793
280220
39997
670976
476884
373561
354508
119499
105878
317902
18013
34607
95907
122817
770325
444717
481456
792248
278833
81910
573771
818683
99715
713342
82069
168066
324083
483553
769484
426396
286646
141065
27616
111812
8...

output:

walk 67846512
walk 737231955
walk 353515025
walk 132047061
walk 468438420
walk 307448636
walk 543395221
walk 129455552
walk 226720662
walk 359373637
walk 227172224
walk 97085669
walk 741539893
walk 116343542
walk 402887169
walk 87209626
walk 145241608
walk 244331287
walk 8641292
walk 674760536
walk ...

result:

ok OK, guesses=6667

Test #48:

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

input:

15241834
37513814
10491560
44534730
37483296
45663894
14346290
39717355
31428030
22504107
55404062
35575167
47753921
18155803
1921314
48938330
54404539
42232186
19477988
19864450
34212858
29775513
42026691
52032798
34382607
32237258
42723269
50360420
52297349
23793750
54623156
39486056
20824249
1928...

output:

walk 67846512
walk 737231955
walk 353515025
walk 132047061
walk 468438420
walk 307448636
walk 543395221
walk 129455552
walk 226720662
walk 359373637
walk 227172224
walk 97085669
walk 741539893
walk 116343542
walk 402887169
walk 87209626
walk 145241608
walk 244331287
walk 8641292
walk 674760536
walk ...

result:

ok OK, guesses=6669

Test #49:

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

input:

1540087
80893223
157843912
6993929
230561808
135034145
75323337
75632057
136219298
213200764
42819548
199472354
119957352
163650960
28785525
40801785
165590504
148568509
39485226
99131738
12522662
231904450
120550907
151777754
5789682
26109451
126068115
59201542
124761405
166130214
212081449
1065380...

output:

walk 67846512
walk 737231955
walk 353515025
walk 132047061
walk 468438420
walk 307448636
walk 543395221
walk 129455552
walk 226720662
walk 359373637
walk 227172224
walk 97085669
walk 741539893
walk 116343542
walk 402887169
walk 87209626
walk 145241608
walk 244331287
walk 8641292
walk 674760536
walk ...

result:

ok OK, guesses=6684

Test #50:

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

input:

6342505
305618058
402581540
238899483
25536481
139922380
237147811
325419730
354245079
376478635
463703420
301397179
438167820
406431592
274201942
71778250
396897848
174222134
349453085
494990639
60961378
293233789
452055377
437462468
114681476
438727513
50133930
168502938
433401488
399173495
129706...

output:

walk 837692440
walk 629533018
walk 4312732
walk 745658703
walk 259102337
walk 783241977
walk 318245939
walk 769995962
walk 959040801
walk 466619929
walk 255427013
walk 374820711
walk 528320739
walk 162673663
walk 390287164
walk 998796581
walk 545095925
walk 745573855
walk 421505626
walk 959360960
wa...

result:

ok OK, guesses=6696

Test #51:

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

input:

837692441
543647224
547959956
370040424
629142761
488806503
807052442
653470169
688932735
231974429
487401442
862222153
466964657
629638320
96347249
171565595
716661520
538657140
36584531
72367256
756627515
665774358
745614289
765652685
638738766
874234162
906470885
20195457
801944367
354635078
6216...

output:

walk 837692440
walk 629533018
walk 4312732
walk 745658703
walk 259102337
walk 783241977
walk 318245939
walk 769995962
walk 959040801
walk 466619929
walk 255427013
walk 374820711
walk 528320739
walk 162673663
walk 390287164
walk 998796581
walk 545095925
walk 745573855
walk 421505626
walk 959360960
wa...

result:

ok OK, guesses=6700

Test #52:

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

input:

173959986
30459832
34772564
7398095
73242139
83450944
15180297
12143087
4892423
84995766
147164486
135468611
84014471
53429841
57200419
89705535
55026581
27567264
62556304
55625799
160111179
26544792
106384723
83709889
107341033
149578136
139101629
133691206
142406944
38901011
112659081
4841904
1106...

output:

walk 837692440
walk 629533018
walk 4312732
walk 745658703
walk 259102337
walk 783241977
walk 318245939
walk 769995962
walk 959040801
walk 466619929
walk 255427013
walk 374820711
walk 528320739
walk 162673663
walk 390287164
walk 998796581
walk 545095925
walk 745573855
walk 421505626
walk 959360960
wa...

result:

ok OK, guesses=6702

Test #53:

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

input:

170666685
55061327
12108337
109566559
103355445
2558814
195417798
204727085
79009588
67876826
168248460
159561475
219668851
100896817
212397557
133598325
65234941
20171355
17978461
12233400
7213982
163974545
35938263
27982438
195413918
100575116
180900912
229196339
96688129
138014216
109790469
95657...

output:

walk 837692440
walk 629533018
walk 4312732
walk 745658703
walk 259102337
walk 783241977
walk 318245939
walk 769995962
walk 959040801
walk 466619929
walk 255427013
walk 374820711
walk 528320739
walk 162673663
walk 390287164
walk 998796581
walk 545095925
walk 745573855
walk 421505626
walk 959360960
wa...

result:

ok OK, guesses=6691