QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#748808#5309. Guess Cycle LengthHuluoboAC ✓22ms4172kbC++14891b2024-11-14 21:30:532024-11-14 21:30:55

详细

Test #1:

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

input:

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

output:

walk 663801002
walk 888516687
walk 95880101
walk 172110924
walk 905622854
walk 586502956
walk 377672314
walk 765613840
walk 205880486
walk 885578369
walk 164122938
walk 432141044
walk 826984880
walk 141906746
walk 118974551
walk 751630156
walk 238604334
walk 615035146
walk 870990579
walk 499324562
w...

result:

ok OK, guesses=3344

Test #2:

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

input:

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

output:

walk 663801002
walk 888516687
walk 95880101
walk 172110924
walk 905622854
walk 586502956
walk 377672314
walk 765613840
walk 205880486
walk 885578369
walk 164122938
walk 432141044
walk 826984880
walk 141906746
walk 118974551
walk 751630156
walk 238604334
walk 615035146
walk 870990579
walk 499324562
w...

result:

ok OK, guesses=3354

Test #3:

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

input:

1003
7690
7791
8715
1569
4525
6839
679
1165
9534
2472
3516
8396
5142
9693
9849
4183
9329
9908
4470
8899
8997
8062
7743
1525
2464
8439
2481
8095
1647
7090
9234
7944
5373
8627
6541
9127
5105
3944
534
1907
3926
5562
1353
2597
9157
9745
3608
5091
1601
5866
477
3496
6604
9859
3004
8268
8913
1905
977
7149...

output:

walk 663801002
walk 888516687
walk 95880101
walk 172110924
walk 905622854
walk 586502956
walk 377672314
walk 765613840
walk 205880486
walk 885578369
walk 164122938
walk 432141044
walk 826984880
walk 141906746
walk 118974551
walk 751630156
walk 238604334
walk 615035146
walk 870990579
walk 499324562
w...

result:

ok OK, guesses=6667

Test #4:

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

input:

663801003
552317690
648197791
820308715
725931569
312434525
690106839
455720679
661601165
547179534
711302472
143443516
970428396
112335142
231309693
982939849
221544183
836579329
707569908
206894470
418028899
456248997
837638062
982207743
212741525
135732464
380308439
752922481
194148095
302901647
...

output:

walk 663801002
walk 888516687
walk 95880101
walk 172110924
walk 905622854
walk 586502956
walk 377672314
walk 765613840
walk 205880486
walk 885578369
walk 164122938
walk 432141044
walk 826984880
walk 141906746
walk 118974551
walk 751630156
walk 238604334
walk 615035146
walk 870990579
walk 499324562
w...

result:

ok OK, guesses=6707

Test #5:

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

input:

665720813
554237500
650117601
822228525
727851379
314354335
692026649
457640489
663520975
549099344
713222282
145363326
972348206
114254952
233229503
984859659
223463993
838499139
709489718
208814280
419948709
458168807
839557872
984127553
214661335
137652274
382228249
754842291
196067905
304821457
...

output:

walk 663801002
walk 888516687
walk 95880101
walk 172110924
walk 905622854
walk 586502956
walk 377672314
walk 765613840
walk 205880486
walk 885578369
walk 164122938
walk 432141044
walk 826984880
walk 141906746
walk 118974551
walk 751630156
walk 238604334
walk 615035146
walk 870990579
walk 499324562
w...

result:

ok OK, guesses=6821

Test #6:

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

input:

978085321
921922642
268213560
589576406
12630967
809329711
147758851
543172046
835413420
704361215
379217334
159717184
61053038
115769115
651496622
90675539
292702953
935598614
38111712
74680437
674621964
899002181
334805345
46127303
489239718
344492701
41451400
95018666
821443041
89393512
240296101...

output:

walk 259281160
walk 350884273
walk 62459734
walk 440443598
walk 391912393
walk 147446072
walk 293272820
walk 869956035
walk 282773262
walk 773565835
walk 428354447
walk 52433050
walk 709409502
walk 352195701
walk 383097291
walk 877176621
walk 215675782
walk 303656693
walk 82426074
walk 47840925
walk...

result:

ok OK, guesses=6790

Test #7:

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

input:

432285882
610165434
672625168
277705485
149491540
652427231
945700051
815656086
319656023
871995183
118931693
37138603
361022341
243492696
797485174
674661795
890337577
492853197
113876683
94608486
129441975
443726102
991691873
341496708
437032061
750575101
369816851
39942945
889143521
63134707
1505...

output:

walk 259281160
walk 350884273
walk 62459734
walk 440443598
walk 391912393
walk 147446072
walk 293272820
walk 869956035
walk 282773262
walk 773565835
walk 428354447
walk 52433050
walk 709409502
walk 352195701
walk 383097291
walk 877176621
walk 215675782
walk 303656693
walk 82426074
walk 47840925
walk...

result:

ok OK, guesses=6732

Test #8:

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

input:

168560079
429989140
454180328
830709786
523831110
278097752
328505814
423705057
787364072
306750413
606928121
771397896
99555362
277647032
167465326
347636522
16842658
793834391
287354908
499266650
685106830
431353777
752872210
334542771
188306446
359740716
192111473
196798643
693718357
197454192
64...

output:

walk 259281160
walk 350884273
walk 62459734
walk 440443598
walk 391912393
walk 147446072
walk 293272820
walk 869956035
walk 282773262
walk 773565835
walk 428354447
walk 52433050
walk 709409502
walk 352195701
walk 383097291
walk 877176621
walk 215675782
walk 303656693
walk 82426074
walk 47840925
walk...

result:

ok OK, guesses=6753

Test #9:

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

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 259281160
walk 350884273
walk 62459734
walk 440443598
walk 391912393
walk 147446072
walk 293272820
walk 869956035
walk 282773262
walk 773565835
walk 428354447
walk 52433050
walk 709409502
walk 352195701
walk 383097291
walk 877176621
walk 215675782
walk 303656693
walk 82426074
walk 47840925
walk...

result:

ok OK, guesses=3335

Test #10:

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

input:

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

output:

walk 259281160
walk 350884273
walk 62459734
walk 440443598
walk 391912393
walk 147446072
walk 293272820
walk 869956035
walk 282773262
walk 773565835
walk 428354447
walk 52433050
walk 709409502
walk 352195701
walk 383097291
walk 877176621
walk 215675782
walk 303656693
walk 82426074
walk 47840925
walk...

result:

ok OK, guesses=3344

Test #11:

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

input:

344
538
876
787
463
376
86
245
690
858
272
89
636
960
795
949
584
873
401
550
109
952
490
677
45
704
132
793
173
83
830
647
450
976
437
972
390
43
365
649
111
864
339
25
561
1
889
623
149
832
248
284
940
840
864
631
568
472
964
813
692
308
619
501
885
582
339
427
34
601
417
39
821
553
848
391
819
90...

output:

walk 432722017
walk 456324402
walk 723158742
walk 687428102
walk 711602793
walk 199786412
walk 77036510
walk 240142859
walk 486732315
walk 941004673
walk 958100766
walk 1008679
walk 138494278
walk 339122180
walk 80183925
walk 814159885
walk 140120107
walk 864431261
walk 298084973
walk 836566652
walk...

result:

ok OK, guesses=4334

Test #12:

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

input:

9795
9181
646
6303
5718
8465
4883
1035
9179
6842
2244
8320
4940
6392
7605
8921
6504
3111
2495
6774
1340
4114
3275
66
5772
4425
4568
206
997
8873
8662
5654
778
9109
1135
8423
744
6475
468
1990
723
8999
6700
4737
8006
4240
1902
2728
5015
2662
6723
9472
303
5167
80
8035
9930
1134
2352
3268
8596
6308
35...

output:

walk 432722017
walk 456324402
walk 723158742
walk 687428102
walk 711602793
walk 199786412
walk 77036510
walk 240142859
walk 486732315
walk 941004673
walk 958100766
walk 1008679
walk 138494278
walk 339122180
walk 80183925
walk 814159885
walk 140120107
walk 864431261
walk 298084973
walk 836566652
walk...

result:

ok OK, guesses=6667

Test #13:

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

input:

35430
25408
44675
46430
79361
50506
65963
72282
92265
2238
18734
34606
39203
87100
31272
62212
19502
83164
22980
28968
77133
10532
5243
60551
64736
23777
5925
16145
33573
67292
26523
55324
7611
12431
51083
78017
84760
68912
91473
71790
15190
53843
23238
27539
98553
81882
83835
90577
87387
5311
85882...

output:

walk 432722017
walk 456324402
walk 723158742
walk 687428102
walk 711602793
walk 199786412
walk 77036510
walk 240142859
walk 486732315
walk 941004673
walk 958100766
walk 1008679
walk 138494278
walk 339122180
walk 80183925
walk 814159885
walk 140120107
walk 864431261
walk 298084973
walk 836566652
walk...

result:

ok OK, guesses=6667

Test #14:

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

input:

563727
783473
330082
511792
900160
162487
738510
713055
476077
323988
988432
960115
344219
385583
27641
410991
962469
978999
578201
557023
997666
579601
576624
203530
113376
655438
183250
218828
485071
729655
747997
842586
961250
79544
165055
40349
701175
481624
239881
159369
662891
1337
352891
8800...

output:

walk 432722017
walk 456324402
walk 723158742
walk 687428102
walk 711602793
walk 199786412
walk 77036510
walk 240142859
walk 486732315
walk 941004673
walk 958100766
walk 1008679
walk 138494278
walk 339122180
walk 80183925
walk 814159885
walk 140120107
walk 864431261
walk 298084973
walk 836566652
walk...

result:

ok OK, guesses=6667

Test #15:

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

input:

2266592
2469567
7803977
1905228
8996562
7612928
5839518
5112421
5537895
9844592
7271983
5848667
7015511
998493
5983680
9631483
1976126
3917503
7772797
4457860
5625154
5517835
5244760
7646193
3098889
4279130
749949
9379645
1635163
7809179
1056783
4455511
9903548
8514363
1335400
9919361
9468802
933698...

output:

walk 432722017
walk 456324402
walk 723158742
walk 687428102
walk 711602793
walk 199786412
walk 77036510
walk 240142859
walk 486732315
walk 941004673
walk 958100766
walk 1008679
walk 138494278
walk 339122180
walk 80183925
walk 814159885
walk 140120107
walk 864431261
walk 298084973
walk 836566652
walk...

result:

ok OK, guesses=6667

Test #16:

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

input:

65514410
96134846
22538906
99448562
71828486
80597501
86894031
86058108
91624775
97977707
99362593
34458367
96367173
82158880
61817876
64557473
31191214
35378577
82639878
75008160
32781496
59187875
31757176
75614648
1624968
24871971
31586382
43880454
66597071
78725120
35849491
69915406
27676853
2898...

output:

walk 766937465
walk 836425697
walk 670880628
walk 85248756
walk 500516720
walk 353433289
walk 938906974
walk 410123938
walk 687453075
walk 400423805
walk 839297925
walk 920259506
walk 279910050
walk 70449905
walk 836419993
walk 8168046
walk 44528394
walk 993163688
walk 972089838
walk 198449237
walk ...

result:

ok OK, guesses=6667

Test #17:

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

input:

629231475
60817267
741524541
116785801
768362778
872921735
316636815
630298125
416025216
814899975
957039249
280284804
110468726
65215455
906896047
537889778
636793785
309694390
714491874
58098316
711323792
959798400
743986506
467168234
231065231
983501634
971025544
103998790
817422484
983058296
514...

output:

walk 766937465
walk 836425697
walk 670880628
walk 85248756
walk 500516720
walk 353433289
walk 938906974
walk 410123938
walk 687453075
walk 400423805
walk 839297925
walk 920259506
walk 279910050
walk 70449905
walk 836419993
walk 8168046
walk 44528394
walk 993163688
walk 972089838
walk 198449237
walk ...

result:

ok OK, guesses=6680

Test #18:

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

input:

345814662
444883782
697372016
870844733
527084509
196608603
152269075
841356806
619684482
478369233
558643840
198215924
322167664
543679441
172342947
800002284
414479867
92214851
556084714
787746301
855491546
145401208
598892556
309457890
157884748
227598044
776423665
50940499
411036562
573527158
53...

output:

walk 766937465
walk 836425697
walk 670880628
walk 85248756
walk 500516720
walk 353433289
walk 938906974
walk 410123938
walk 687453075
walk 400423805
walk 839297925
walk 920259506
walk 279910050
walk 70449905
walk 836419993
walk 8168046
walk 44528394
walk 993163688
walk 972089838
walk 198449237
walk ...

result:

ok OK, guesses=6919

Test #19:

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

input:

157051731
165261299
210557815
70864890
162237667
151263607
103016835
72932177
102412000
29358862
80417913
207047511
59755170
15410762
190590837
261573759
6716822
216152738
143574531
182153788
205001779
142045656
177465255
249104508
232711587
80898664
50759144
26294748
126830373
126420928
271579292
2...

output:

walk 766937465
walk 836425697
walk 670880628
walk 85248756
walk 500516720
walk 353433289
walk 938906974
walk 410123938
walk 687453075
walk 400423805
walk 839297925
walk 920259506
walk 279910050
walk 70449905
walk 836419993
walk 8168046
walk 44528394
walk 993163688
walk 972089838
walk 198449237
walk ...

result:

ok OK, guesses=6695

Test #20:

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

input:

325889171
267658309
330628554
209774969
184358730
278562613
320288395
392963369
357087880
1923829
266093753
21337455
226091074
375093596
253124146
184216877
156388513
86382432
186148215
164644225
189662170
227883519
173373630
356056710
335562026
6434647
365477489
396619033
40725656
291064226
1769329...

output:

walk 787539415
walk 108741348
walk 41424128
walk 585722919
walk 725654313
walk 234115560
walk 236310966
walk 26457207
walk 682482821
walk 108293965
walk 443982283
walk 665295336
walk 95241699
walk 904464823
walk 711261834
walk 936817410
walk 598308962
walk 302311743
walk 869047026
walk 84545318
walk...

result:

ok OK, guesses=6679

Test #21:

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

input:

16590407
22287644
16678341
29571616
81545087
131026589
27157927
23985224
53794688
107363523
99564832
145832696
112691124
116199370
41832754
109021466
28924323
100933060
68170595
129781514
120433788
3804707
7241978
16627120
74438057
119228333
107064886
26200450
12238767
58839257
69878866
60073187
121...

output:

walk 787539415
walk 108741348
walk 41424128
walk 585722919
walk 725654313
walk 234115560
walk 236310966
walk 26457207
walk 682482821
walk 108293965
walk 443982283
walk 665295336
walk 95241699
walk 904464823
walk 711261834
walk 936817410
walk 598308962
walk 302311743
walk 869047026
walk 84545318
walk...

result:

ok OK, guesses=6668

Test #22:

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

input:

137568707
271164552
76317201
127854077
221426249
274158680
242303352
250647460
134629323
247955919
64284869
110484926
27497947
305556493
137527111
192702046
207459706
90772431
322897726
211094681
3561422
310207361
29190313
117831339
277017594
6324018
65993133
236464495
272183648
223562688
23560817
2...

output:

walk 787539415
walk 108741348
walk 41424128
walk 585722919
walk 725654313
walk 234115560
walk 236310966
walk 26457207
walk 682482821
walk 108293965
walk 443982283
walk 665295336
walk 95241699
walk 904464823
walk 711261834
walk 936817410
walk 598308962
walk 302311743
walk 869047026
walk 84545318
walk...

result:

ok OK, guesses=6711

Test #23:

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

input:

622659221
256247272
387266972
547840208
563640852
487204672
659571954
156649491
134484390
746143323
446228938
208322616
405022075
137183964
108157171
677233379
746901069
43168489
469220275
743288280
652637629
144906909
982001918
597207917
414370903
358257188
468764125
858358199
576852131
143939734
6...

output:

walk 787539415
walk 108741348
walk 41424128
walk 585722919
walk 725654313
walk 234115560
walk 236310966
walk 26457207
walk 682482821
walk 108293965
walk 443982283
walk 665295336
walk 95241699
walk 904464823
walk 711261834
walk 936817410
walk 598308962
walk 302311743
walk 869047026
walk 84545318
walk...

result:

ok OK, guesses=6753

Test #24:

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

input:

547321965
580993561
955345076
835598479
367715933
571399670
970216240
98380537
600042335
939467209
623167331
784880119
499129428
420872468
316293885
307357064
440382316
11542218
223804122
768381213
348268854
353890099
609538405
894742104
687707209
624265223
490272762
470196619
708026060
640464355
25...

output:

walk 833779761
walk 644768771
walk 409988686
walk 291570138
walk 814698791
walk 533606019
walk 946214292
walk 209154484
walk 297760371
walk 958350638
walk 415287734
walk 41105902
walk 518187860
walk 615775352
walk 559802122
walk 56227981
walk 658471666
walk 137607178
walk 553561945
walk 904242474
wa...

result:

ok OK, guesses=6732

Test #25:

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

input:

193414369
141627771
214702367
283177734
646525898
702386236
638045025
622740218
589444419
275016744
466336293
648083839
71914239
173938742
443328973
14934162
464957565
408181935
126988794
197476493
577393435
82917159
448137361
664219741
494636032
258577724
704082031
3049088
345580216
533779245
25531...

output:

walk 833779761
walk 644768771
walk 409988686
walk 291570138
walk 814698791
walk 533606019
walk 946214292
walk 209154484
walk 297760371
walk 958350638
walk 415287734
walk 41105902
walk 518187860
walk 615775352
walk 559802122
walk 56227981
walk 658471666
walk 137607178
walk 553561945
walk 904242474
wa...

result:

ok OK, guesses=6742

Test #26:

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

input:

13337905
89802148
25898939
73724657
100853214
102370349
123250942
111821159
101156528
61228247
65255471
43274456
124116132
8613809
85294109
1709502
13030419
40019564
81837446
43521841
62091242
76722132
83775519
38505882
69243871
67425802
28879302
23043643
64920176
59238596
93517138
26899497
25912915...

output:

walk 833779761
walk 644768771
walk 409988686
walk 291570138
walk 814698791
walk 533606019
walk 946214292
walk 209154484
walk 297760371
walk 958350638
walk 415287734
walk 41105902
walk 518187860
walk 615775352
walk 559802122
walk 56227981
walk 658471666
walk 137607178
walk 553561945
walk 904242474
wa...

result:

ok OK, guesses=6702

Test #27:

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

input:

715563686
456801927
762686963
736501026
873617842
275531201
365590613
381326592
629790128
494709721
838050860
204055832
126613937
112099839
362737511
7626242
3190313
804712281
144030321
687165090
153882882
501309012
369530487
607068804
679630855
654622250
557535256
823509074
694195600
235581080
6110...

output:

walk 833779761
walk 644768771
walk 409988686
walk 291570138
walk 814698791
walk 533606019
walk 946214292
walk 209154484
walk 297760371
walk 958350638
walk 415287734
walk 41105902
walk 518187860
walk 615775352
walk 559802122
walk 56227981
walk 658471666
walk 137607178
walk 553561945
walk 904242474
wa...

result:

ok OK, guesses=6671

Test #28:

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

input:

738359994
38140661
451919152
342492779
447679630
585153739
578285997
195760475
179522788
304617176
206818530
21799335
452307634
434225292
281815423
28063951
40964922
682139379
580473442
631987944
287604325
787657505
258279886
716972551
293614501
79032832
450627724
603747216
526430160
765914638
76254...

output:

walk 833779761
walk 644768771
walk 409988686
walk 291570138
walk 814698791
walk 533606019
walk 946214292
walk 209154484
walk 297760371
walk 958350638
walk 415287734
walk 41105902
walk 518187860
walk 615775352
walk 559802122
walk 56227981
walk 658471666
walk 137607178
walk 553561945
walk 904242474
wa...

result:

ok OK, guesses=6748

Test #29:

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

input:

867763193
772601183
319059273
935603803
160233326
868125755
921114920
100940221
118276906
551506600
993352459
290195744
971439009
768299114
821107920
676575897
197691766
222305478
509194096
661734384
631435360
484911584
608971977
920600721
243309533
52931911
940607349
427336793
262745492
717130408
9...

output:

walk 527209258
walk 589906106
walk 604846026
walk 759548956
walk 998416747
walk 894609470
walk 114949828
walk 229817497
walk 206609991
walk 352144085
walk 682298984
walk 915619163
walk 637920203
walk 167729112
walk 185688408
walk 909860151
walk 285347339
walk 821438838
walk 208985405
walk 977200752
...

result:

ok OK, guesses=6789

Test #30:

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

input:

161914145
179542496
391526607
310609596
561549991
608484455
595681975
216545358
320758554
441982585
173633709
597801170
799140922
522787118
295949803
221448424
498068109
125699769
293459745
668598160
435033782
349966497
608791488
477885113
163837693
710737088
25839963
200279336
775230066
456309063
6...

output:

walk 527209258
walk 589906106
walk 604846026
walk 759548956
walk 998416747
walk 894609470
walk 114949828
walk 229817497
walk 206609991
walk 352144085
walk 682298984
walk 915619163
walk 637920203
walk 167729112
walk 185688408
walk 909860151
walk 285347339
walk 821438838
walk 208985405
walk 977200752
...

result:

ok OK, guesses=6711

Test #31:

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

input:

813180224
543847636
289454968
189765230
328943283
364314059
479263887
709081384
56452681
408596766
231657056
288037525
66719034
234448146
420136554
470758011
756105350
718305494
68052205
186014263
203607558
527339962
639595224
359148968
519087930
852096279
72228930
579999140
533519018
823498381
7910...

output:

walk 527209258
walk 589906106
walk 604846026
walk 759548956
walk 998416747
walk 894609470
walk 114949828
walk 229817497
walk 206609991
walk 352144085
walk 682298984
walk 915619163
walk 637920203
walk 167729112
walk 185688408
walk 909860151
walk 285347339
walk 821438838
walk 208985405
walk 977200752
...

result:

ok OK, guesses=6734

Test #32:

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

input:

402543491
722178997
709916905
838207958
321857499
747881138
277510551
487414507
169460791
612194904
97324757
192393373
950488545
171223308
479030115
882950784
57378950
493467164
575379202
465334915
88184628
168889471
472346442
702954266
758461536
400442073
194081502
93505100
718621595
264554494
9642...

output:

walk 527209258
walk 589906106
walk 604846026
walk 759548956
walk 998416747
walk 894609470
walk 114949828
walk 229817497
walk 206609991
walk 352144085
walk 682298984
walk 915619163
walk 637920203
walk 167729112
walk 185688408
walk 909860151
walk 285347339
walk 821438838
walk 208985405
walk 977200752
...

result:

ok OK, guesses=6676

Test #33:

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

input:

106663040
741071067
648358161
746531158
878356208
685962032
894196253
757099069
83965950
205549421
437420942
772984700
274774791
538269714
318036113
484510290
484722955
735746582
12312866
641232675
703857947
719130159
40409899
109721597
554435160
912804164
335233904
681794937
795217613
578909809
829...

output:

walk 106663039
walk 634408027
walk 855645419
walk 98172997
walk 131825050
walk 755964149
walk 208234221
walk 811261141
walk 275225206
walk 121583471
walk 231871521
walk 335563758
walk 450148416
walk 263494923
walk 728124724
walk 166474177
walk 948570990
walk 251023627
walk 224924609
walk 628919809
w...

result:

ok OK, guesses=6870

Test #34:

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

input:

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

output:

walk 106663039
walk 634408027
walk 855645419
walk 98172997
walk 131825050
walk 755964149
walk 208234221
walk 811261141
walk 275225206
walk 121583471
walk 231871521
walk 335563758
walk 450148416
walk 263494923
walk 728124724
walk 166474177
walk 948570990
walk 251023627
walk 224924609
walk 628919809
w...

result:

ok OK, guesses=3336

Test #35:

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

input:

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

output:

walk 106663039
walk 634408027
walk 855645419
walk 98172997
walk 131825050
walk 755964149
walk 208234221
walk 811261141
walk 275225206
walk 121583471
walk 231871521
walk 335563758
walk 450148416
walk 263494923
walk 728124724
walk 166474177
walk 948570990
walk 251023627
walk 224924609
walk 628919809
w...

result:

ok OK, guesses=3337

Test #36:

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

input:

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

output:

walk 106663039
walk 634408027
walk 855645419
walk 98172997
walk 131825050
walk 755964149
walk 208234221
walk 811261141
walk 275225206
walk 121583471
walk 231871521
walk 335563758
walk 450148416
walk 263494923
walk 728124724
walk 166474177
walk 948570990
walk 251023627
walk 224924609
walk 628919809
w...

result:

ok OK, guesses=3338

Test #37:

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

input:

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

output:

walk 106663039
walk 634408027
walk 855645419
walk 98172997
walk 131825050
walk 755964149
walk 208234221
walk 811261141
walk 275225206
walk 121583471
walk 231871521
walk 335563758
walk 450148416
walk 263494923
walk 728124724
walk 166474177
walk 948570990
walk 251023627
walk 224924609
walk 628919809
w...

result:

ok OK, guesses=3339

Test #38:

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

input:

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

output:

walk 106663039
walk 634408027
walk 855645419
walk 98172997
walk 131825050
walk 755964149
walk 208234221
walk 811261141
walk 275225206
walk 121583471
walk 231871521
walk 335563758
walk 450148416
walk 263494923
walk 728124724
walk 166474177
walk 948570990
walk 251023627
walk 224924609
walk 628919809
w...

result:

ok OK, guesses=3340

Test #39:

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

input:

2273
1209
1419
1378
500
908
1539
1161
1797
782
1849
2985
1863
395
405
1832
371
2945
2068
966
2147
197
1955
949
2069
1593
75
169
837
2233
1173
614
397
593
2790
1031
2903
856
2414
1962
2170
503
883
2244
556
2731
1655
1571
845
2516
500
1763
2442
2086
1456
2748
599
2251
65
2028
2700
2306
1722
1793
1098
...

output:

walk 13018371
walk 393463634
walk 407517492
walk 961613223
walk 633544257
walk 387455361
walk 291934309
walk 25645631
walk 594987330
walk 125635858
walk 89683862
walk 143121966
walk 84379795
walk 554043845
walk 672769061
walk 344764380
walk 625767887
walk 536282384
walk 199696134
walk 38021680
walk ...

result:

ok OK, guesses=6334

Test #40:

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

input:

1064
749
1878
191
1642
1476
1214
1067
412
1667
968
1248
1276
1882
492
1456
402
325
1023
1010
961
1753
1557
1336
71
1450
820
1730
410
1932
134
851
966
135
1299
922
509
118
689
1607
1141
1425
280
1942
1609
288
1263
719
643
1323
285
540
641
1862
185
1422
132
522
509
744
649
575
397
606
1930
748
865
171...

output:

walk 13018371
walk 393463634
walk 407517492
walk 961613223
walk 633544257
walk 387455361
walk 291934309
walk 25645631
walk 594987330
walk 125635858
walk 89683862
walk 143121966
walk 84379795
walk 554043845
walk 672769061
walk 344764380
walk 625767887
walk 536282384
walk 199696134
walk 38021680
walk ...

result:

ok OK, guesses=5334

Test #41:

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

input:

3024
2100
3657
3090
3287
1307
1845
1250
2940
2900
1513
14
2473
2093
271
2121
1167
2309
2481
2013
2912
3836
2927
1828
1254
3170
1489
937
1181
3307
3932
3004
2981
1881
3775
3681
3800
805
2540
3798
2366
326
3755
423
3291
2383
100
3010
2140
3098
3845
1330
305
141
3969
2313
2653
2126
2440
2237
3628
1876
...

output:

walk 13018371
walk 393463634
walk 407517492
walk 961613223
walk 633544257
walk 387455361
walk 291934309
walk 25645631
walk 594987330
walk 125635858
walk 89683862
walk 143121966
walk 84379795
walk 554043845
walk 672769061
walk 344764380
walk 625767887
walk 536282384
walk 199696134
walk 38021680
walk ...

result:

ok OK, guesses=6667

Test #42:

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

input:

2186
3830
3629
2408
2451
3658
2578
3092
5987
3047
3355
1608
1818
2510
5766
2212
4699
2786
4093
4997
3439
1699
5427
3963
3660
6338
4487
196
2124
2329
464
4694
2412
884
2804
3753
1588
749
3000
3845
2057
1246
5421
3206
5671
1857
4233
789
2294
6388
4456
5543
2917
3357
2352
780
280
5883
6333
4998
1007
15...

output:

walk 13018371
walk 393463634
walk 407517492
walk 961613223
walk 633544257
walk 387455361
walk 291934309
walk 25645631
walk 594987330
walk 125635858
walk 89683862
walk 143121966
walk 84379795
walk 554043845
walk 672769061
walk 344764380
walk 625767887
walk 536282384
walk 199696134
walk 38021680
walk ...

result:

ok OK, guesses=6667

Test #43:

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

input:

474
4906
3329
1012
6510
6502
4541
6236
5430
1696
4264
6229
6354
2136
3913
2754
4015
884
2927
6392
108
5005
750
35
490
5987
4005
6558
221
2259
4477
4928
605
1396
5105
2891
441
6624
6657
1997
6051
3911
3662
2640
6070
341
772
118
5033
804
244
6304
6062
2011
3815
4610
4661
175
6158
5110
4622
236
4043
39...

output:

walk 13018371
walk 393463634
walk 407517492
walk 961613223
walk 633544257
walk 387455361
walk 291934309
walk 25645631
walk 594987330
walk 125635858
walk 89683862
walk 143121966
walk 84379795
walk 554043845
walk 672769061
walk 344764380
walk 625767887
walk 536282384
walk 199696134
walk 38021680
walk ...

result:

ok OK, guesses=6667

Test #44:

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

input:

6490238
3075301
5899398
1860491
1579394
4129882
2327319
5461029
3294567
933565
1907075
6953371
3728386
2070585
125071
5273348
1619453
3526528
8731647
4625815
8731875
8303469
8237547
2694134
1585661
3365151
7436271
6884324
203033
3146821
1436708
151964
1124213
1761118
1560444
3241825
1612074
824928
4...

output:

walk 893340429
walk 963350402
walk 148331695
walk 773585244
walk 3442642
walk 193841519
walk 533893218
walk 846062872
walk 641044144
walk 877565198
walk 8349758
walk 744762062
walk 158634145
walk 581137008
walk 613936554
walk 180894862
walk 233129793
walk 707281953
walk 470553756
walk 723490795
walk...

result:

ok OK, guesses=6667

Test #45:

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

input:

10139948
8666126
9499496
1457670
2675600
7354491
5786680
4485260
4943933
10812924
9015320
7320890
10943279
3081683
575005
5454729
354509
7449307
8678869
2714434
6717751
6137390
6379152
6954886
9093905
3053283
2488328
8330850
10556959
2829373
4665567
447081
3234530
6406479
2876947
5666230
625782
7354...

output:

walk 893340429
walk 963350402
walk 148331695
walk 773585244
walk 3442642
walk 193841519
walk 533893218
walk 846062872
walk 641044144
walk 877565198
walk 8349758
walk 744762062
walk 158634145
walk 581137008
walk 613936554
walk 180894862
walk 233129793
walk 707281953
walk 470553756
walk 723490795
walk...

result:

ok OK, guesses=6667

Test #46:

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

input:

16896206
15684987
16015813
11117759
2573724
18063459
10715823
8977051
18296270
12782184
9727798
13760856
9229077
12672777
17377830
7053276
6621951
10228071
5303663
14565470
17233746
2297007
10717642
1096007
7884384
2093350
3300560
18069445
5604425
5674292
11288611
13172490
15411280
9475496
1833862
1...

output:

walk 893340429
walk 963350402
walk 148331695
walk 773585244
walk 3442642
walk 193841519
walk 533893218
walk 846062872
walk 641044144
walk 877565198
walk 8349758
walk 744762062
walk 158634145
walk 581137008
walk 613936554
walk 180894862
walk 233129793
walk 707281953
walk 470553756
walk 723490795
walk...

result:

ok OK, guesses=6667

Test #47:

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

input:

155340
680491
535660
646175
182683
297871
722200
537215
143126
650744
538539
471674
228518
147436
22507
598133
620918
15165
528484
682662
697540
693730
286715
133030
250499
461065
157792
509435
413725
398704
23010
488484
665170
338307
672984
750954
816515
311805
439321
334345
24650
630662
359843
219...

output:

walk 893340429
walk 963350402
walk 148331695
walk 773585244
walk 3442642
walk 193841519
walk 533893218
walk 846062872
walk 641044144
walk 877565198
walk 8349758
walk 744762062
walk 158634145
walk 581137008
walk 613936554
walk 180894862
walk 233129793
walk 707281953
walk 470553756
walk 723490795
walk...

result:

ok OK, guesses=6667

Test #48:

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

input:

9299088
55065875
37511515
36099159
28916449
20611864
3617222
20981116
14351671
54949044
41131246
46153157
7329629
51190766
24834196
38643353
23881941
41994196
52127106
17537876
36711318
50950272
48114555
8630069
29502444
4332462
12217392
50750799
48050602
22567611
17642399
39607175
7600720
40674528
...

output:

walk 758580364
walk 45485829
walk 693753514
walk 647570600
walk 123826320
walk 881708015
walk 350215912
walk 51254895
walk 703488434
walk 117828917
walk 751046766
walk 136182797
walk 196912988
walk 220413617
walk 46032794
walk 437857637
walk 102454388
walk 275958964
walk 647453016
walk 594119519
wal...

result:

ok OK, guesses=6682

Test #49:

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

input:

10475970
58022853
644849
183881614
219958759
40258046
27904238
71062075
44285504
111190045
104081785
150860800
30515267
113842292
159622392
182940949
203539922
157980887
126952703
69460864
227353878
8976911
50310579
230442549
60429178
128916596
199216978
205823360
39335886
17249881
44858171
16207467...

output:

walk 758580364
walk 45485829
walk 693753514
walk 647570600
walk 123826320
walk 881708015
walk 350215912
walk 51254895
walk 703488434
walk 117828917
walk 751046766
walk 136182797
walk 196912988
walk 220413617
walk 46032794
walk 437857637
walk 102454388
walk 275958964
walk 647453016
walk 594119519
wal...

result:

ok OK, guesses=6688

Test #50:

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

input:

495571604
37657187
505795146
203088579
312723439
433025038
180751651
388464908
171595464
322293093
204636468
111863459
262548507
463461976
494101646
158522288
258082931
5217491
348603694
89579994
176669227
12529937
61397595
261552820
331640325
218580922
335906865
456409430
160843534
365230972
220466...

output:

walk 758580364
walk 45485829
walk 693753514
walk 647570600
walk 123826320
walk 881708015
walk 350215912
walk 51254895
walk 703488434
walk 117828917
walk 751046766
walk 136182797
walk 196912988
walk 220413617
walk 46032794
walk 437857637
walk 102454388
walk 275958964
walk 647453016
walk 594119519
wal...

result:

ok OK, guesses=6679

Test #51:

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

input:

758580365
804066194
574241473
298233838
422060158
380189938
730405850
781660745
561570944
679399861
506868392
643051189
839964177
136799559
182832353
620689990
723144378
75525107
722978123
393519407
467445460
884075923
674113389
523231222
10800436
150569155
687432300
506352241
683625122
893802157
84...

output:

walk 758580364
walk 45485829
walk 693753514
walk 647570600
walk 123826320
walk 881708015
walk 350215912
walk 51254895
walk 703488434
walk 117828917
walk 751046766
walk 136182797
walk 196912988
walk 220413617
walk 46032794
walk 437857637
walk 102454388
walk 275958964
walk 647453016
walk 594119519
wal...

result:

ok OK, guesses=6714

Test #52:

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

input:

83037958
161209426
7982917
8227553
13478947
58768441
191763744
8142387
57641206
24334638
25293380
66558135
13559549
129868972
89785728
187377801
100920287
108228432
8465792
101816797
125063230
89673829
63809421
190149299
175269823
155427578
104523135
171219788
48993987
148464365
1028880
5685673
8220...

output:

walk 360253826
walk 271429761
walk 40031784
walk 966536101
walk 391767980
walk 818322666
walk 906028475
walk 589411815
walk 629273698
walk 353210018
walk 958742
walk 427781341
walk 913292879
walk 116309423
walk 153175049
walk 870625245
walk 686575658
walk 7308145
walk 866528825
walk 286609298
walk 6...

result:

ok OK, guesses=6696

Test #53:

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

input:

54587849
173886273
96216764
163589114
85129341
14348159
73908779
151872224
200898975
141286086
129459700
138572702
55330355
105419745
134650008
41166994
80079771
173488610
39054483
5480716
122729693
151426933
206046896
8324362
10731287
139384098
104135626
59362225
200018574
166606639
162145129
16287...

output:

walk 360253826
walk 271429761
walk 40031784
walk 966536101
walk 391767980
walk 818322666
walk 906028475
walk 589411815
walk 629273698
walk 353210018
walk 958742
walk 427781341
walk 913292879
walk 116309423
walk 153175049
walk 870625245
walk 686575658
walk 7308145
walk 866528825
walk 286609298
walk 6...

result:

ok OK, guesses=6668