QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#507869#5309. Guess Cycle LengthmekoszcAC ✓22ms4216kbC++14540b2024-08-06 22:02:302024-08-06 22:02:30

详细

Test #1:

score: 100
Accepted
time: 22ms
memory: 4020kb

input:

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

output:

walk 239280806
walk 220934996
walk 692383307
walk 540842760
walk 133807182
walk 873301001
walk 507217428
walk 547118676
walk 514503505
walk 857773712
walk 262737991
walk 228984927
walk 619806243
walk 732884132
walk 572088194
walk 23781284
walk 565134552
walk 411000989
walk 518361650
walk 387997887
w...

result:

ok OK, guesses=3011

Test #2:

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

input:

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

output:

walk 239280806
walk 220934996
walk 692383307
walk 540842760
walk 133807182
walk 873301001
walk 507217428
walk 547118676
walk 514503505
walk 857773712
walk 262737991
walk 228984927
walk 619806243
walk 732884132
walk 572088194
walk 23781284
walk 565134552
walk 411000989
walk 518361650
walk 387997887
w...

result:

ok OK, guesses=3021

Test #3:

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

input:

807
5803
9110
1870
9052
53
7481
6157
9662
3374
1365
6292
2535
6667
4861
6145
697
1686
3336
1223
5347
74
9782
744
604
3185
123
844
7773
3035
5166
4288
6100
5846
9704
6715
4980
6727
6287
5827
885
7637
5177
7154
5285
4267
1290
6442
738
1647
6240
4943
787
3689
3936
1325
5355
6256
2320
8449
5581
6735
963...

output:

walk 239280806
walk 220934996
walk 692383307
walk 540842760
walk 133807182
walk 873301001
walk 507217428
walk 547118676
walk 514503505
walk 857773712
walk 262737991
walk 228984927
walk 619806243
walk 732884132
walk 572088194
walk 23781284
walk 565134552
walk 411000989
walk 518361650
walk 387997887
w...

result:

ok OK, guesses=6002

Test #4:

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

input:

239280807
460215803
152599110
693441870
827249052
700550053
207767481
754886157
269389662
127163374
389901365
618886292
238692535
971576667
543664861
567446145
132580697
543581686
61943336
449941223
47265347
922670074
117709782
604100744
658590604
1703185
497200123
36650844
486487773
280893035
12684...

output:

walk 239280806
walk 220934996
walk 692383307
walk 540842760
walk 133807182
walk 873301001
walk 507217428
walk 547118676
walk 514503505
walk 857773712
walk 262737991
walk 228984927
walk 619806243
walk 732884132
walk 572088194
walk 23781284
walk 565134552
walk 411000989
walk 518361650
walk 387997887
w...

result:

ok OK, guesses=6047

Test #5:

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

input:

903063259
626855727
382265950
577893398
323319083
570838959
746208407
360790259
561843473
888388393
251205468
564168892
587345173
665103784
328277382
652764145
411276663
620617659
220131466
632502737
336963972
533362631
76166956
906697071
865125815
806191457
200759015
591135403
121846635
786633785
9...

output:

walk 901143448
walk 723792468
walk 755410223
walk 195627448
walk 745425685
walk 247519876
walk 175369448
walk 614581852
walk 201053214
walk 326544920
walk 362817075
walk 312963424
walk 23176281
walk 77758611
walk 663173598
walk 324486763
walk 758512518
walk 209340996
walk 599513807
walk 412371271
wa...

result:

ok OK, guesses=6044

Test #6:

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

input:

188686297
402789133
190869604
171223900
702815145
583885197
312573493
885365297
768662175
857953015
973850290
942424338
983363075
167784222
122357068
764565119
422966805
124615097
21397936
693079903
616313498
584519141
551409666
740595021
958170709
779423343
841647109
234943785
122895849
665771399
6...

output:

walk 901143448
walk 723792468
walk 755410223
walk 195627448
walk 745425685
walk 247519876
walk 175369448
walk 614581852
walk 201053214
walk 326544920
walk 362817075
walk 312963424
walk 23176281
walk 77758611
walk 663173598
walk 324486763
walk 758512518
walk 209340996
walk 599513807
walk 412371271
wa...

result:

ok OK, guesses=6117

Test #7:

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

input:

901143449
624935917
6018767
575973588
98062362
568919149
744288597
60015618
559923663
886468583
405513705
562249082
585425363
663183974
96709495
650844335
244740998
618697849
439471227
630582927
88610673
157123894
312250905
904777261
863206005
804271647
489271894
589215593
299223514
784713975
949079...

output:

walk 901143448
walk 723792468
walk 755410223
walk 195627448
walk 745425685
walk 247519876
walk 175369448
walk 614581852
walk 201053214
walk 326544920
walk 362817075
walk 312963424
walk 23176281
walk 77758611
walk 663173598
walk 324486763
walk 758512518
walk 209340996
walk 599513807
walk 412371271
wa...

result:

ok OK, guesses=6024

Test #8:

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

input:

897508370
157783812
701132752
8024655
678979359
515593675
856991286
27080703
334378337
105859968
386520020
622418696
95931000
312600260
184327781
132491477
582023212
230466373
441044502
896695409
441668813
513485557
99448421
188646277
567793613
808416410
173701636
776123830
763223195
463215016
23837...

output:

walk 901143448
walk 723792468
walk 755410223
walk 195627448
walk 745425685
walk 247519876
walk 175369448
walk 614581852
walk 201053214
walk 326544920
walk 362817075
walk 312963424
walk 23176281
walk 77758611
walk 663173598
walk 324486763
walk 758512518
walk 209340996
walk 599513807
walk 412371271
wa...

result:

ok OK, guesses=6101

Test #9:

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

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 901143448
walk 723792468
walk 755410223
walk 195627448
walk 745425685
walk 247519876
walk 175369448
walk 614581852
walk 201053214
walk 326544920
walk 362817075
walk 312963424
walk 23176281
walk 77758611
walk 663173598
walk 324486763
walk 758512518
walk 209340996
walk 599513807
walk 412371271
wa...

result:

ok OK, guesses=3002

Test #10:

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

input:

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

output:

walk 522405360
walk 981206273
walk 177410766
walk 133993535
walk 677458778
walk 821288684
walk 28219625
walk 138415521
walk 792705923
walk 963400458
walk 766884013
walk 451582202
walk 415754433
walk 340169218
walk 821511138
walk 483739249
walk 832491652
walk 233146579
walk 903425991
walk 232422240
w...

result:

ok OK, guesses=3011

Test #11:

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

input:

197
877
354
614
62
557
69
59
160
318
975
93
572
776
830
793
421
603
959
442
233
230
103
81
778
327
126
946
189
80
15
257
211
118
159
588
112
611
8
830
268
12
101
594
546
736
569
2
303
445
137
42
598
611
646
492
576
339
790
185
876
189
627
708
484
772
838
723
29
552
378
927
574
954
407
964
773
998
90...

output:

walk 522405360
walk 981206273
walk 177410766
walk 133993535
walk 677458778
walk 821288684
walk 28219625
walk 138415521
walk 792705923
walk 963400458
walk 766884013
walk 451582202
walk 415754433
walk 340169218
walk 821511138
walk 483739249
walk 832491652
walk 233146579
walk 903425991
walk 232422240
w...

result:

ok OK, guesses=4001

Test #12:

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

input:

5907
1654
4077
1206
1376
6095
7310
6589
688
9262
1751
2061
4665
9226
8084
3952
8545
9357
7688
4246
6291
2157
7670
86
7352
2025
5195
3781
9700
5773
419
9478
3451
692
7614
7961
3928
9857
6489
3763
235
4328
3700
3685
7184
317
4907
7091
8242
8614
8882
8861
9580
1560
9600
6772
4613
9932
6404
8723
2337
92...

output:

walk 522405360
walk 981206273
walk 177410766
walk 133993535
walk 677458778
walk 821288684
walk 28219625
walk 138415521
walk 792705923
walk 963400458
walk 766884013
walk 451582202
walk 415754433
walk 340169218
walk 821511138
walk 483739249
walk 832491652
walk 233146579
walk 903425991
walk 232422240
w...

result:

ok OK, guesses=6002

Test #13:

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

input:

14412
47723
94680
39556
42328
86413
16939
97418
83668
42118
58548
75601
83087
65165
39249
83601
19686
38217
45852
84657
77022
27862
91545
24482
24661
10277
50489
14976
31125
73082
7305
57959
98472
35577
85998
53969
40313
72932
1106
85623
89054
902
64935
96817
37196
12125
82345
30233
36982
22568
8294...

output:

walk 522405360
walk 981206273
walk 177410766
walk 133993535
walk 677458778
walk 821288684
walk 28219625
walk 138415521
walk 792705923
walk 963400458
walk 766884013
walk 451582202
walk 415754433
walk 340169218
walk 821511138
walk 483739249
walk 832491652
walk 233146579
walk 903425991
walk 232422240
w...

result:

ok OK, guesses=6002

Test #14:

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

input:

223833
865402
757503
491656
810529
519520
596950
799990
685350
432375
419650
852978
219976
796406
991508
789411
125058
55966
872489
346500
580563
544122
536239
996870
652368
987063
956058
370878
424758
209356
762062
196967
891088
325664
53500
772397
420926
743652
388639
315747
30419
346442
475946
10...

output:

walk 522405360
walk 981206273
walk 177410766
walk 133993535
walk 677458778
walk 821288684
walk 28219625
walk 138415521
walk 792705923
walk 963400458
walk 766884013
walk 451582202
walk 415754433
walk 340169218
walk 821511138
walk 483739249
walk 832491652
walk 233146579
walk 903425991
walk 232422240
w...

result:

ok OK, guesses=6002

Test #15:

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

input:

9178427
1001946
2424852
1846887
2772785
2407700
1009957
5010854
718388
3572697
3009535
4586516
7207144
6467254
4287397
3894991
4374916
1713498
148721
1640811
669339
6324123
9892524
5461810
6908592
6239829
9800487
7428038
8144765
7428579
3837674
1215188
6460453
9597037
1260606
4876567
467854
7996026
...

output:

walk 522405360
walk 981206273
walk 177410766
walk 133993535
walk 677458778
walk 821288684
walk 28219625
walk 138415521
walk 792705923
walk 963400458
walk 766884013
walk 451582202
walk 415754433
walk 340169218
walk 821511138
walk 483739249
walk 832491652
walk 233146579
walk 903425991
walk 232422240
w...

result:

ok OK, guesses=6002

Test #16:

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

input:

90603693
46551850
83147006
13032526
64663409
19631587
59336385
58362576
88741771
76484248
81331179
25460092
25838802
20240688
94317966
1572255
26458066
97299612
69616285
42186891
62374793
10901564
10516589
14801137
49160042
47771691
64605679
28112059
79999773
19253981
44987615
8440811
79668800
97995...

output:

walk 586572363
walk 797694602
walk 219456576
walk 845789513
walk 755635741
walk 690528073
walk 929719116
walk 270081006
walk 254515079
walk 216349858
walk 443599849
walk 121663666
walk 179153676
walk 521977023
walk 256338732
walk 158433114
walk 112189722
walk 575335483
walk 640088535
walk 618126353
...

result:

ok OK, guesses=6014

Test #17:

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

input:

410604928
670348016
376134854
205243570
175598700
355734368
743733389
671328304
373194589
968914305
842343541
593230274
311874907
720135556
712709221
913192927
720737109
164662695
179024506
995171683
663320080
622828363
475047408
666491709
362274166
256734484
73944459
815418492
43593885
672844024
44...

output:

walk 586572363
walk 797694602
walk 219456576
walk 845789513
walk 755635741
walk 690528073
walk 929719116
walk 270081006
walk 254515079
walk 216349858
walk 443599849
walk 121663666
walk 179153676
walk 521977023
walk 256338732
walk 158433114
walk 112189722
walk 575335483
walk 640088535
walk 618126353
...

result:

ok OK, guesses=6042

Test #18:

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

input:

485958663
104971336
482676364
511654190
87868003
341767894
777947649
157260119
712468273
238294087
855419777
677835162
44868661
371940346
281459824
768314975
683510259
128827786
668413525
556240582
225792689
476418329
202888861
54812252
670133446
696728251
162717819
142121644
279219588
914974017
439...

output:

walk 586572363
walk 797694602
walk 219456576
walk 845789513
walk 755635741
walk 690528073
walk 929719116
walk 270081006
walk 254515079
walk 216349858
walk 443599849
walk 121663666
walk 179153676
walk 521977023
walk 256338732
walk 158433114
walk 112189722
walk 575335483
walk 640088535
walk 618126353
...

result:

ok OK, guesses=6016

Test #19:

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

input:

167567944
155263625
61254210
232857687
141840440
60350054
30156819
255900431
46280671
181714806
94295556
39582567
214610129
186484248
103668651
254911953
45296290
29979042
46498173
192293710
53774129
210025472
100712878
263540361
219254505
169428337
32831976
122157818
125124999
238556794
34601006
19...

output:

walk 586572363
walk 797694602
walk 219456576
walk 845789513
walk 755635741
walk 690528073
walk 929719116
walk 270081006
walk 254515079
walk 216349858
walk 443599849
walk 121663666
walk 179153676
walk 521977023
walk 256338732
walk 158433114
walk 112189722
walk 575335483
walk 640088535
walk 618126353
...

result:

ok OK, guesses=6099

Test #20:

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

input:

125742443
72416149
164437032
111334575
386457395
197672116
63879803
219576516
92309061
35398213
29608678
364379481
217057651
256251708
65730679
396098980
148210115
76425240
290744030
20100965
95098795
60777680
61246927
34327832
111310797
206608864
108055114
130997010
2807688
180841265
347199299
2544...

output:

walk 586572363
walk 797694602
walk 219456576
walk 845789513
walk 755635741
walk 690528073
walk 929719116
walk 270081006
walk 254515079
walk 216349858
walk 443599849
walk 121663666
walk 179153676
walk 521977023
walk 256338732
walk 158433114
walk 112189722
walk 575335483
walk 640088535
walk 618126353
...

result:

ok OK, guesses=6019

Test #21:

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

input:

127396238
147123613
26889363
126322647
33053137
52491809
111858411
104627983
109564654
132510090
41753865
4626601
64842543
101677172
70175673
90279848
140843388
129199083
43160606
15360098
82386576
127464467
100033882
75000054
30841104
120703636
24260120
48173442
69194923
85976703
105507667
72517562...

output:

walk 50385744
walk 648725602
walk 538321386
walk 409771105
walk 456334892
walk 180253335
walk 37451119
walk 673963594
walk 780215084
walk 35332411
walk 369298016
walk 757369595
walk 409899727
walk 654873527
walk 29734171
walk 333936720
walk 420886829
walk 338828428
walk 295130362
walk 250985350
walk...

result:

ok OK, guesses=6012

Test #22:

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

input:

275177656
168231705
36877562
53949494
314544511
105985206
96663530
264371381
18891300
47144505
50618698
307802286
95715202
328115347
205704790
258694578
232776483
178364859
158268726
78313078
196585674
292574751
135970016
153534031
276315219
161785775
79888294
52644364
76699975
185688248
263984345
1...

output:

walk 50385744
walk 648725602
walk 538321386
walk 409771105
walk 456334892
walk 180253335
walk 37451119
walk 673963594
walk 780215084
walk 35332411
walk 369298016
walk 757369595
walk 409899727
walk 654873527
walk 29734171
walk 333936720
walk 420886829
walk 338828428
walk 295130362
walk 250985350
walk...

result:

ok OK, guesses=6002

Test #23:

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

input:

925726252
780816812
549161663
718041749
349669976
292175559
123009715
734942888
62951253
179536224
443033838
543023610
565464279
555335423
92252763
441007922
404052229
287275924
854531852
967388682
617423463
750078440
966156656
348980414
202194189
938771929
519077236
449028057
469843504
424348878
44...

output:

walk 50385744
walk 648725602
walk 538321386
walk 409771105
walk 456334892
walk 180253335
walk 37451119
walk 673963594
walk 780215084
walk 35332411
walk 369298016
walk 757369595
walk 409899727
walk 654873527
walk 29734171
walk 333936720
walk 420886829
walk 338828428
walk 295130362
walk 250985350
walk...

result:

ok OK, guesses=6180

Test #24:

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

input:

505101340
969563518
468248215
707021987
934995782
971728668
298530369
984937038
952984677
743390375
190628729
701955257
901582
282659840
272121303
696525157
896016492
916993594
257332469
555925228
977820991
864356059
615386337
890526376
513251430
646226160
19990662
135662140
619152525
812399593
7794...

output:

walk 50385744
walk 648725602
walk 538321386
walk 409771105
walk 456334892
walk 180253335
walk 37451119
walk 673963594
walk 780215084
walk 35332411
walk 369298016
walk 757369595
walk 409899727
walk 654873527
walk 29734171
walk 333936720
walk 420886829
walk 338828428
walk 295130362
walk 250985350
walk...

result:

ok OK, guesses=6247

Test #25:

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

input:

107642510
558898522
10227043
692083946
41575212
446909464
738261998
285371940
691971584
474587499
697666932
543757817
557964854
227173509
42083360
577603419
439275158
704473214
9637027
745241816
134460555
691515407
559555884
50892533
293151028
193442754
584382467
53062977
120051701
215780620
8391492...

output:

walk 50385744
walk 648725602
walk 538321386
walk 409771105
walk 456334892
walk 180253335
walk 37451119
walk 673963594
walk 780215084
walk 35332411
walk 369298016
walk 757369595
walk 409899727
walk 654873527
walk 29734171
walk 333936720
walk 420886829
walk 338828428
walk 295130362
walk 250985350
walk...

result:

ok OK, guesses=6161

Test #26:

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

input:

90065271
95087624
37734692
20587496
37610631
118563062
122614788
29638843
119567210
87423688
73221411
20858777
50821743
34953671
39996134
47693010
69456693
50766177
37342137
40397442
33747534
34948943
113554636
40040896
97386256
48121286
22769441
60232947
2140737
102987335
112175515
77895292
1050428...

output:

walk 364134229
walk 191104754
walk 160382286
walk 480981123
walk 642896802
walk 264652334
walk 875428098
walk 386368222
walk 756868005
walk 967389378
walk 729597959
walk 108538800
walk 75633448
walk 887535119
walk 104500330
walk 166704302
walk 124921463
walk 820943140
walk 178723916
walk 971212324
w...

result:

ok OK, guesses=6061

Test #27:

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

input:

190073519
660847278
511097084
827782677
935801814
523539238
489811081
802107123
401838238
45101036
379072015
258295505
373051988
671765832
200028087
826449129
435465587
115200022
393699768
605917527
240328491
870407466
92551946
4349140
324805715
740584053
333554668
362445295
66035523
782510288
89566...

output:

walk 364134229
walk 191104754
walk 160382286
walk 480981123
walk 642896802
walk 264652334
walk 875428098
walk 386368222
walk 756868005
walk 967389378
walk 729597959
walk 108538800
walk 75633448
walk 887535119
walk 104500330
walk 166704302
walk 124921463
walk 820943140
walk 178723916
walk 971212324
w...

result:

ok OK, guesses=6203

Test #28:

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

input:

796361408
230729968
654511954
157782943
725410281
623472726
336015561
565709692
131626170
9621781
232855381
96294505
729061001
761484893
577856282
319453376
466770842
782985312
19336733
590915528
11975095
423943975
321219192
649765769
185838515
447592520
260970606
292593842
795924438
549982288
13227...

output:

walk 364134229
walk 191104754
walk 160382286
walk 480981123
walk 642896802
walk 264652334
walk 875428098
walk 386368222
walk 756868005
walk 967389378
walk 729597959
walk 108538800
walk 75633448
walk 887535119
walk 104500330
walk 166704302
walk 124921463
walk 820943140
walk 178723916
walk 971212324
w...

result:

ok OK, guesses=6328

Test #29:

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

input:

445737552
607671644
504878271
664201663
759431311
211135148
763410019
164135930
243040362
368945075
119022825
330122986
265097170
433617627
233779012
919415118
235853736
678313553
637796523
263721683
660474211
284135619
793528641
548683811
950933587
309885874
673836646
163675945
454796796
684053458
...

output:

walk 364134229
walk 191104754
walk 160382286
walk 480981123
walk 642896802
walk 264652334
walk 875428098
walk 386368222
walk 756868005
walk 967389378
walk 729597959
walk 108538800
walk 75633448
walk 887535119
walk 104500330
walk 166704302
walk 124921463
walk 820943140
walk 178723916
walk 971212324
w...

result:

ok OK, guesses=6083

Test #30:

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

input:

230517974
549653538
45095160
104984214
238099856
390812938
57996821
371204513
490169742
226946079
795544282
192402553
532431060
629724261
572013846
166891491
92958519
456658648
195271258
191873046
692491160
510330507
582788919
748838210
477070476
322323827
222389095
200487345
55393561
793820847
4051...

output:

walk 364134229
walk 191104754
walk 160382286
walk 480981123
walk 642896802
walk 264652334
walk 875428098
walk 386368222
walk 756868005
walk 967389378
walk 729597959
walk 108538800
walk 75633448
walk 887535119
walk 104500330
walk 166704302
walk 124921463
walk 820943140
walk 178723916
walk 971212324
w...

result:

ok OK, guesses=6156

Test #31:

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

input:

118980972
686597277
565997551
468674150
76826883
535792160
800054304
321507264
791026587
857064726
857716748
291219253
166871135
224407036
434957615
851481728
495905955
730336220
499974708
627737746
249944353
343097963
285337633
467802646
559797077
666416608
298718647
390127702
505226437
754123486
3...

output:

walk 692248700
walk 567616305
walk 738638968
walk 761915293
walk 467391427
walk 458965277
walk 264262144
walk 380691654
walk 469519323
walk 66038139
walk 652022
walk 292741199
walk 734890576
walk 57535901
walk 210550579
walk 416524113
walk 503662921
walk 234430265
walk 628877182
walk 987001732
walk ...

result:

ok OK, guesses=6127

Test #32:

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

input:

878016426
177705873
443349172
640051694
53286225
964175336
499587915
40995624
751324461
812335287
257133086
844529449
292334168
801311413
754673093
508254434
17323077
653508077
83355219
737050963
943607260
697989911
546591046
211525042
393545495
429062854
731672047
407681170
483474394
192751648
8298...

output:

walk 692248700
walk 567616305
walk 738638968
walk 761915293
walk 467391427
walk 458965277
walk 264262144
walk 380691654
walk 469519323
walk 66038139
walk 652022
walk 292741199
walk 734890576
walk 57535901
walk 210550579
walk 416524113
walk 503662921
walk 234430265
walk 628877182
walk 987001732
walk ...

result:

ok OK, guesses=6004

Test #33:

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

input:

692248701
311506681
101787324
863702617
382735719
841700996
157604815
538296469
59457467
125495606
126147628
418888827
205421078
262956979
473507558
890031671
445336267
679766532
360285389
398928796
880374097
25169382
826647746
60754434
152748865
259368396
750909129
753198553
779177657
79716381
4851...

output:

walk 692248700
walk 567616305
walk 738638968
walk 761915293
walk 467391427
walk 458965277
walk 264262144
walk 380691654
walk 469519323
walk 66038139
walk 652022
walk 292741199
walk 734890576
walk 57535901
walk 210550579
walk 416524113
walk 503662921
walk 234430265
walk 628877182
walk 987001732
walk ...

result:

ok OK, guesses=6217

Test #34:

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

input:

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

output:

walk 692248700
walk 567616305
walk 738638968
walk 761915293
walk 467391427
walk 458965277
walk 264262144
walk 380691654
walk 469519323
walk 66038139
walk 652022
walk 292741199
walk 734890576
walk 57535901
walk 210550579
walk 416524113
walk 503662921
walk 234430265
walk 628877182
walk 987001732
walk ...

result:

ok OK, guesses=3003

Test #35:

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

input:

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

output:

walk 692248700
walk 567616305
walk 738638968
walk 761915293
walk 467391427
walk 458965277
walk 264262144
walk 380691654
walk 469519323
walk 66038139
walk 652022
walk 292741199
walk 734890576
walk 57535901
walk 210550579
walk 416524113
walk 503662921
walk 234430265
walk 628877182
walk 987001732
walk ...

result:

ok OK, guesses=3004

Test #36:

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

input:

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

output:

walk 692248700
walk 567616305
walk 738638968
walk 761915293
walk 467391427
walk 458965277
walk 264262144
walk 380691654
walk 469519323
walk 66038139
walk 652022
walk 292741199
walk 734890576
walk 57535901
walk 210550579
walk 416524113
walk 503662921
walk 234430265
walk 628877182
walk 987001732
walk ...

result:

ok OK, guesses=3005

Test #37:

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

input:

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

output:

walk 371776706
walk 798877286
walk 5589685
walk 997465605
walk 415098543
walk 38825277
walk 736335479
walk 791247190
walk 497285900
walk 970371134
walk 84342122
walk 52043472
walk 25892914
walk 587766639
walk 799909630
walk 962565483
walk 852286547
walk 206810898
walk 712230401
walk 106270336
walk 7...

result:

ok OK, guesses=3006

Test #38:

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

input:

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

output:

walk 371776706
walk 798877286
walk 5589685
walk 997465605
walk 415098543
walk 38825277
walk 736335479
walk 791247190
walk 497285900
walk 970371134
walk 84342122
walk 52043472
walk 25892914
walk 587766639
walk 799909630
walk 962565483
walk 852286547
walk 206810898
walk 712230401
walk 106270336
walk 7...

result:

ok OK, guesses=3007

Test #39:

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

input:

690
512
1770
974
1339
1668
2146
1318
1321
1775
641
1080
1461
606
1373
425
1434
1133
2533
751
261
1934
1836
2881
109
2119
952
2394
2722
2218
1850
2193
806
988
1412
538
2631
2620
848
2838
2667
500
740
2810
2179
1209
2652
130
1423
1158
506
2218
73
2061
1493
2190
2363
2246
2994
1034
1194
2545
1387
1368
...

output:

walk 371776706
walk 798877286
walk 5589685
walk 997465605
walk 415098543
walk 38825277
walk 736335479
walk 791247190
walk 497285900
walk 970371134
walk 84342122
walk 52043472
walk 25892914
walk 587766639
walk 799909630
walk 962565483
walk 852286547
walk 206810898
walk 712230401
walk 106270336
walk 7...

result:

ok OK, guesses=6001

Test #40:

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

input:

1049
187
115
1433
991
231
871
1605
550
728
835
450
1004
45
486
789
469
255
625
815
978
925
776
245
34
793
927
1636
751
1057
1969
1229
384
1107
645
1106
436
1077
1252
1687
1868
1642
394
1452
1792
749
228
346
933
1225
1253
1057
1799
1337
460
430
1126
918
1961
154
446
166
519
1821
520
1316
754
888
304
...

output:

walk 371776706
walk 798877286
walk 5589685
walk 997465605
walk 415098543
walk 38825277
walk 736335479
walk 791247190
walk 497285900
walk 970371134
walk 84342122
walk 52043472
walk 25892914
walk 587766639
walk 799909630
walk 962565483
walk 852286547
walk 206810898
walk 712230401
walk 106270336
walk 7...

result:

ok OK, guesses=5001

Test #41:

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

input:

1768
2706
1779
3997
2334
470
2599
691
562
3356
1505
2988
3730
1049
2545
1518
2871
1394
103
2630
2306
3145
3587
2448
1701
267
1294
1264
2971
2442
2583
3674
131
3705
2422
1221
3436
2286
2838
2600
3472
1503
1593
743
228
2100
85
1218
3192
1457
2002
668
989
3641
3757
3442
1797
1013
1246
1525
513
2683
329...

output:

walk 371776706
walk 798877286
walk 5589685
walk 997465605
walk 415098543
walk 38825277
walk 736335479
walk 791247190
walk 497285900
walk 970371134
walk 84342122
walk 52043472
walk 25892914
walk 587766639
walk 799909630
walk 962565483
walk 852286547
walk 206810898
walk 712230401
walk 106270336
walk 7...

result:

ok OK, guesses=6002

Test #42:

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

input:

5929
2093
2154
6210
4530
2117
3659
4219
2297
2642
1957
1589
3510
203
2880
336
1544
1461
1226
2712
4292
6316
5168
2413
564
180
2946
3609
3368
1034
98
5554
3242
1773
4489
974
1062
5832
3286
3066
1597
2418
5146
1244
837
1062
3279
985
4695
4449
2759
6096
5963
2426
3803
3074
181
6069
6330
2888
4104
4724
...

output:

walk 371776706
walk 798877286
walk 5589685
walk 997465605
walk 415098543
walk 38825277
walk 736335479
walk 791247190
walk 497285900
walk 970371134
walk 84342122
walk 52043472
walk 25892914
walk 587766639
walk 799909630
walk 962565483
walk 852286547
walk 206810898
walk 712230401
walk 106270336
walk 7...

result:

ok OK, guesses=6002

Test #43:

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

input:

5487
2035
3348
1880
5915
2568
1962
669
1805
6421
1698
348
5297
1399
4584
4732
6265
30
5089
5297
910
392
69
355
4004
442
6260
1919
2629
4428
242
981
5599
564
512
1836
1572
43
4723
2012
2935
1496
6475
4612
3397
4994
3443
2310
514
1910
177
4085
6145
1993
5656
4886
4539
4800
2031
1216
1680
671
4584
1052...

output:

walk 173668722
walk 367795053
walk 124713866
walk 182737791
walk 474282728
walk 499161531
walk 151422260
walk 274392402
walk 901732002
walk 259345711
walk 123696790
walk 781214652
walk 502063287
walk 407215752
walk 24340478
walk 634718347
walk 596625192
walk 550953196
walk 756495052
walk 488291573
w...

result:

ok OK, guesses=6002

Test #44:

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

input:

2288633
3835287
6738132
1419625
7781128
3301926
7830817
1714342
7103356
124894
4518706
6801854
5200164
1412196
7714993
3539521
1763461
8249621
4254871
5447774
8217935
7745265
7665248
406889
1382533
4354322
5434309
1487810
3228727
6207421
1892473
959067
8795240
2048226
3225821
4568751
3142088
1487231...

output:

walk 173668722
walk 367795053
walk 124713866
walk 182737791
walk 474282728
walk 499161531
walk 151422260
walk 274392402
walk 901732002
walk 259345711
walk 123696790
walk 781214652
walk 502063287
walk 407215752
walk 24340478
walk 634718347
walk 596625192
walk 550953196
walk 756495052
walk 488291573
w...

result:

ok OK, guesses=6002

Test #45:

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

input:

8208236
7861258
4169314
257844
9619298
738011
9267027
5974921
6316377
3921655
414080
8034866
3986469
10138143
2676639
8509839
9657500
9803501
10699389
4514990
1442094
3773395
10412939
9576812
6115017
3578255
6193262
1987744
10437022
5386064
6018528
6085788
5607389
6457990
6353445
533287
2588996
4758...

output:

walk 173668722
walk 367795053
walk 124713866
walk 182737791
walk 474282728
walk 499161531
walk 151422260
walk 274392402
walk 901732002
walk 259345711
walk 123696790
walk 781214652
walk 502063287
walk 407215752
walk 24340478
walk 634718347
walk 596625192
walk 550953196
walk 756495052
walk 488291573
w...

result:

ok OK, guesses=6005

Test #46:

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

input:

7875534
6887103
1584689
2557263
6588084
18652728
10812164
16156999
8482728
11178742
10277169
14293424
13025422
748283
8647244
13465792
9401271
684012
1932122
7212314
2504003
9623969
4839337
79980
6128504
18447320
6595781
3110084
10002733
16429134
9460699
6694479
13193387
17971859
9417475
10702558
13...

output:

walk 173668722
walk 367795053
walk 124713866
walk 182737791
walk 474282728
walk 499161531
walk 151422260
walk 274392402
walk 901732002
walk 259345711
walk 123696790
walk 781214652
walk 502063287
walk 407215752
walk 24340478
walk 634718347
walk 596625192
walk 550953196
walk 756495052
walk 488291573
w...

result:

ok OK, guesses=6003

Test #47:

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

input:

514556
577038
44698
550263
556551
766368
183817
122321
476854
230565
521235
229778
562208
186669
141554
217013
718300
667220
322636
103811
786983
311926
57325
250820
500453
499
36485
451144
22442
537723
526106
347804
643130
532497
790643
297976
440125
524728
444260
244992
22344
51267
552259
557225
5...

output:

walk 173668722
walk 367795053
walk 124713866
walk 182737791
walk 474282728
walk 499161531
walk 151422260
walk 274392402
walk 901732002
walk 259345711
walk 123696790
walk 781214652
walk 502063287
walk 407215752
walk 24340478
walk 634718347
walk 596625192
walk 550953196
walk 756495052
walk 488291573
w...

result:

ok OK, guesses=6002

Test #48:

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

input:

55893608
1126458
22106518
19274882
5277593
17067692
16068355
33392249
2325646
40461008
30641813
46649963
25738830
25060151
40141829
11971048
1741425
42014915
33590162
49389336
2601726
9612277
8711868
43923691
21502959
12794457
47904409
45934656
18886932
12724620
31437625
14242662
30628162
36464402
3...

output:

walk 604012902
walk 8411637
walk 600729786
walk 623251630
walk 436721802
walk 471460961
walk 571496373
walk 860318379
walk 716049402
walk 692229814
walk 639244233
walk 242480267
walk 407701115
walk 660532817
walk 908686976
walk 673888541
walk 290025693
walk 880395754
walk 289398822
walk 727146148
wa...

result:

ok OK, guesses=6007

Test #49:

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

input:

137544539
189581165
98564572
98693
15140727
108042992
231549035
22831073
165587845
159567005
184596057
127112354
30477707
139962166
179800437
182104038
19799779
82024820
205095239
95893994
156539206
169782438
86554637
124451189
88610151
28328949
187061665
106640472
5619426
235627146
227978071
712322...

output:

walk 604012902
walk 8411637
walk 600729786
walk 623251630
walk 436721802
walk 471460961
walk 571496373
walk 860318379
walk 716049402
walk 692229814
walk 639244233
walk 242480267
walk 407701115
walk 660532817
walk 908686976
walk 673888541
walk 290025693
walk 880395754
walk 289398822
walk 727146148
wa...

result:

ok OK, guesses=6016

Test #50:

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

input:

264281848
3747781
482601926
287882178
97108343
93334917
61202930
52599258
444630992
164655573
166516315
66021736
235953841
463905491
143662018
244862230
136545582
337459140
412406286
403502512
303424844
460779781
128625387
462516104
498425782
285496354
148775342
372252602
308785337
478823497
4989095...

output:

walk 604012902
walk 8411637
walk 600729786
walk 623251630
walk 436721802
walk 471460961
walk 571496373
walk 860318379
walk 716049402
walk 692229814
walk 639244233
walk 242480267
walk 407701115
walk 660532817
walk 908686976
walk 673888541
walk 290025693
walk 880395754
walk 289398822
walk 727146148
wa...

result:

ok OK, guesses=6049

Test #51:

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

input:

604012903
612424540
289576091
912827721
425971288
897432249
545350387
482090531
274561698
43213277
682457510
1359542
409060657
146015239
131123980
805012521
171459979
128277498
417676320
221244233
342871241
650670584
395134956
465614793
12229755
83197133
294834510
656826408
596471589
144063728
71288...

output:

walk 604012902
walk 8411637
walk 600729786
walk 623251630
walk 436721802
walk 471460961
walk 571496373
walk 860318379
walk 716049402
walk 692229814
walk 639244233
walk 242480267
walk 407701115
walk 660532817
walk 908686976
walk 673888541
walk 290025693
walk 880395754
walk 289398822
walk 727146148
wa...

result:

ok OK, guesses=6002

Test #52:

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

input:

133538741
141950378
162905285
13123743
63328959
148273334
139994828
34021742
170296265
89492907
148962261
4925942
26110471
106868409
49263920
143377582
46886689
154249271
57131507
11244483
132871491
54154248
142421976
170188583
60606901
88861049
107240133
82715445
172905689
64301184
53343130
1546421...

output:

walk 604012902
walk 8411637
walk 600729786
walk 623251630
walk 436721802
walk 471460961
walk 571496373
walk 860318379
walk 716049402
walk 692229814
walk 639244233
walk 242480267
walk 407701115
walk 660532817
walk 908686976
walk 673888541
walk 290025693
walk 880395754
walk 289398822
walk 727146148
wa...

result:

ok OK, guesses=6012

Test #53:

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

input:

43880421
146757914
13580690
191570884
111032964
117802012
101633427
224049396
134235309
17565932
31603011
193711679
38126479
3016142
77338074
141673864
48812416
156312433
158686851
13823260
53313660
190798253
993072
86575534
181424124
176880961
144872041
123992783
175180829
116913274
86717063
600163...

output:

walk 872598869
walk 33975933
walk 239474931
walk 178228540
walk 494432552
walk 900876115
walk 542609601
walk 59345175
walk 54166264
walk 870136081
walk 171688523
walk 438641453
walk 580207803
walk 811369904
walk 939514083
walk 502985961
walk 501472888
walk 692544465
walk 423669403
walk 315389810
wal...

result:

ok OK, guesses=6045