QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#745197#5309. Guess Cycle LengthxiaruizeAC ✓25ms3952kbC++172.9kb2024-11-14 08:12:522024-11-14 08:12:52

详细

Test #1:

score: 100
Accepted
time: 9ms
memory: 3752kb

input:

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

output:

walk 779963341
walk 165748161
walk 402194322
walk 408975761
walk 619723894
walk 169501329
walk 173666510
walk 924651435
walk 654142865
walk 921210715
walk 204208792
walk 377791469
walk 638749261
walk 880055275
walk 653029015
walk 795637018
walk 693824776
walk 695464367
walk 159890248
walk 526386932
...

result:

ok OK, guesses=3211

Test #2:

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

input:

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

output:

walk 955597171
walk 416520209
walk 404941079
walk 949250459
walk 816479677
walk 677515371
walk 745915530
walk 186805223
walk 344269592
walk 42247338
walk 516492935
walk 615975686
walk 29727613
walk 369056886
walk 731717014
walk 647139414
walk 919961831
walk 18739120
walk 450795418
walk 417295140
wal...

result:

ok OK, guesses=3221

Test #3:

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

input:

8698
959
4045
9101
1370
276
7937
99
7415
1269
1026
1072
2244
8205
4416
5264
4315
5042
6027
4231
5971
4287
7695
2886
6057
5370
956
4119
9545
2162
967
7055
7608
1019
9007
3119
5207
7064
7095
3185
2653
9206
3271
6955
9705
1245
8894
7753
8764
8751
503
7375
9001
2009
2190
9884
3109
1098
9245
2633
4267
26...

output:

walk 223458697
walk 513962261
walk 651063086
walk 671345056
walk 326952269
walk 607408906
walk 499487661
walk 541872162
walk 658057316
walk 345383854
walk 378199757
walk 863930046
walk 419351172
walk 176605961
walk 310006211
walk 374220848
walk 470759051
walk 9880727
walk 244570985
walk 406048204
wa...

result:

ok OK, guesses=6401

Test #4:

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

input:

275538206
100064363
489421305
971847717
86698085
97260039
36170229
618872624
307750397
891154631
407997023
609743780
97024590
518185300
349016365
54346243
478170467
988510198
304224053
886101525
900136742
741980162
123962157
828790096
830890436
168092097
190966919
2758334
144905890
310804069
1571892...

output:

walk 275538205
walk 824526157
walk 389356942
walk 482426412
walk 114850368
walk 10561954
walk 938910190
walk 582702395
walk 688877773
walk 583404234
walk 516842392
walk 201746757
walk 487280810
walk 421160710
walk 830831065
walk 705329878
walk 423824224
walk 510339731
walk 315713855
walk 581877472
w...

result:

ok OK, guesses=6460

Test #5:

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

input:

796478016
73433620
833993989
61999526
435119801
279792736
615363750
521934970
144881282
783338499
379572914
164074662
491202489
731221439
847215100
802921487
391678986
564876384
875466716
964323598
234040666
94348535
156041793
16399684
960421817
242588388
280293163
831731248
876517911
946586450
9262...

output:

walk 794558205
walk 276955604
walk 760560369
walk 228005537
walk 373120275
walk 844672935
walk 335571014
walk 906571220
walk 622946312
walk 638457217
walk 596234415
walk 784501748
walk 327127827
walk 240018950
walk 115993661
walk 955706387
walk 588757499
walk 173197398
walk 310590332
walk 88856882
w...

result:

ok OK, guesses=6402

Test #6:

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

input:

376577135
845600102
526106890
545210811
962335609
572282519
255314814
120686436
546455365
707238256
533969500
337625764
55986834
400459832
179799411
374714033
235364808
251458871
71078786
438685099
639895249
313345247
636845987
727549181
915847239
511916066
248954092
786442856
422383522
245619439
86...

output:

walk 654234142
walk 318904271
walk 769343044
walk 214210073
walk 69448174
walk 506570830
walk 246614335
walk 47987286
walk 783371977
walk 228123683
walk 418618572
walk 938685832
walk 555690910
walk 581194774
walk 584405427
walk 747346286
walk 464462575
walk 587130119
walk 458755395
walk 738764369
wa...

result:

ok OK, guesses=6500

Test #7:

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

input:

351748173
139551749
169851107
388458736
596876579
255101782
346373803
313736377
328075196
982737481
589397490
713596987
621575983
699245009
904962692
648983730
58845707
377694924
694182618
433643081
465315877
702878584
190694016
952451489
544683397
37278865
256624555
523266411
663688751
173753705
76...

output:

walk 38238621
walk 475632664
walk 969522522
walk 547477939
walk 566004832
walk 839606146
walk 602672819
walk 36568498
walk 14301413
walk 892712026
walk 606660009
walk 124199497
walk 907978996
walk 77669026
walk 205717683
walk 744021038
walk 714975494
walk 647792999
walk 682430395
walk 560135840
walk...

result:

ok OK, guesses=6412

Test #8:

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

input:

48648681
774883565
117452239
182881333
597740271
221054550
922917575
355330415
971718873
798656544
245657995
698153261
604276093
632466197
872105472
972705626
339978558
635572093
483500923
934651851
790341601
10874005
27346089
213894092
676543548
316484520
316223523
728937067
952437631
268121158
931...

output:

walk 587287410
walk 209663384
walk 56546274
walk 868523493
walk 985656413
walk 641509343
walk 659217975
walk 603989155
walk 588482917
walk 226520675
walk 424861071
walk 741380618
walk 389975919
walk 323243328
walk 627149334
walk 730874321
walk 8208826
walk 914989108
walk 232736489
walk 800506023
wal...

result:

ok OK, guesses=6490

Test #9:

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

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 928482198
walk 919695800
walk 780713289
walk 393116921
walk 88730487
walk 164682297
walk 596094839
walk 922170304
walk 34322567
walk 121727489
walk 137152782
walk 604801220
walk 585428330
walk 47723502
walk 454420573
walk 30600189
walk 197331797
walk 576245211
walk 156400752
walk 599977097
walk...

result:

ok OK, guesses=3202

Test #10:

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

input:

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

output:

walk 247505414
walk 719025466
walk 760913416
walk 147391939
walk 469437095
walk 624543249
walk 60368290
walk 605228608
walk 418361077
walk 771224998
walk 238036103
walk 825236447
walk 103077672
walk 469569341
walk 592397666
walk 556948405
walk 678302878
walk 531796907
walk 198785918
walk 99535911
wa...

result:

ok OK, guesses=3211

Test #11:

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

input:

220
627
387
259
905
941
159
356
693
761
99
40
942
943
757
658
501
135
755
832
600
368
477
898
648
536
534
452
103
924
71
477
436
576
809
743
601
303
999
769
509
373
598
851
49
473
891
835
339
561
79
985
861
959
343
862
328
209
894
708
275
522
383
950
563
814
566
198
543
222
129
382
269
235
79
599
35...

output:

walk 851604819
walk 707791169
walk 44376198
walk 585385758
walk 132880787
walk 219573549
walk 455579355
walk 669686800
walk 64785842
walk 925319931
walk 983126161
walk 703673922
walk 656409810
walk 994827808
walk 324776454
walk 341722
walk 241617225
walk 278655996
walk 943485323
walk 882020504
walk ...

result:

ok OK, guesses=4201

Test #12:

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

input:

7274
1985
4466
5751
8060
2442
7137
785
7297
2790
3570
5391
7652
7620
5710
8266
2311
4850
7699
6860
2600
7829
5402
2780
1360
1340
1141
6341
9984
9512
5852
1667
1810
4305
2686
6918
8630
8988
5785
6965
5977
3098
5692
6972
3662
8154
3198
207
8415
4784
6567
9554
4797
3743
9114
8747
9206
2959
1779
386
389...

output:

walk 239280319
walk 549200597
walk 692485376
walk 151549939
walk 662272489
walk 626720716
walk 493487054
walk 388795920
walk 17004827
walk 718448467
walk 64400447
walk 711656516
walk 42777347
walk 68921993
walk 649490630
walk 24926617
walk 964766515
walk 546175772
walk 434435405
walk 82049358
walk 9...

result:

ok OK, guesses=6401

Test #13:

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

input:

47024
40576
27763
98571
69650
5946
90375
48470
44474
5643
3340
45967
16162
55666
70132
80762
15570
18048
31920
60795
88953
73268
9380
31658
7873
35236
29368
47316
35080
48746
45392
63043
99596
69303
64224
20182
91822
78531
54683
34362
14848
98939
93632
84486
97202
93100
53548
19026
71172
31879
30923...

output:

walk 432840609
walk 147752976
walk 580750520
walk 475305002
walk 72761857
walk 212174474
walk 326573080
walk 973090326
walk 217689122
walk 526781349
walk 340900372
walk 212426177
walk 185625689
walk 945864752
walk 824863538
walk 123531382
walk 666380580
walk 178728035
walk 563986594
walk 661708155
w...

result:

ok OK, guesses=6401

Test #14:

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

input:

183417
776924
556573
735712
664543
381291
104609
140208
206633
774545
699321
713539
943178
963134
584169
531064
466000
67724
420775
238841
758930
649482
266443
749214
561170
663142
328657
302272
744401
647758
490147
675550
746770
222073
962791
663831
207982
650769
571186
609994
454931
345769
802251
...

output:

walk 248228798
walk 823366060
walk 153364393
walk 834642420
walk 630104562
walk 888981680
walk 76136214
walk 533819092
walk 36967293
walk 891190666
walk 763980418
walk 642800339
walk 687732854
walk 424063059
walk 115553750
walk 38517462
walk 883697995
walk 241299494
walk 453377789
walk 356735682
wal...

result:

ok OK, guesses=6401

Test #15:

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

input:

2381754
4735798
5734468
4050772
70282
505141
4157529
4148080
3378801
6354209
519550
8787955
8739551
4221308
9969910
1680308
7466287
3623087
8170111
6049257
6635039
5595427
6688054
2111860
4631323
6521558
736423
4746662
5852853
7859684
6813534
9812490
784097
532759
6362273
2605468
5362265
5834942
755...

output:

walk 222950477
walk 633726392
walk 330296900
walk 482549590
walk 669483727
walk 927722045
walk 389149529
walk 844456604
walk 22344815
walk 724298705
walk 744334727
walk 145290952
walk 369039455
walk 226852420
walk 154418040
walk 254022825
walk 796693399
walk 472895192
walk 208123589
walk 136467062
w...

result:

ok OK, guesses=6401

Test #16:

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

input:

70600023
48327617
19194270
27739214
81034453
29383970
71763977
28666838
31981282
74601125
18446539
35726362
17354454
62873845
44435502
84889843
37780787
40792495
16768455
94777185
83060450
98708824
44313300
64604382
49787209
13480127
78971402
2452184
84255243
46330588
38774987
81431138
99461081
8880...

output:

walk 926691791
walk 129433877
walk 469099337
walk 794847331
walk 427703262
walk 451663272
walk 840390647
walk 252490597
walk 791440267
walk 210504037
walk 354094234
walk 656547098
walk 993827082
walk 86006147
walk 759251405
walk 92910426
walk 893667664
walk 431105655
walk 846677311
walk 318164510
wa...

result:

ok OK, guesses=6402

Test #17:

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

input:

304174367
813497358
576213971
422875013
942900162
265180815
165180311
638346116
812028228
637890631
275315067
345180311
461894722
836329007
172300402
504396754
94660715
350831796
349153160
813669700
883366530
786432920
135730589
387549081
405045927
939749489
968811484
849835780
952939209
225491147
1...

output:

walk 471365245
walk 268254393
walk 699780563
walk 962038969
walk 642408566
walk 3291586
walk 829550444
walk 829422999
walk 254237783
walk 387378854
walk 592840852
walk 108591471
walk 982705336
walk 445167287
walk 290794044
walk 398601531
walk 590815120
walk 160573830
walk 716310542
walk 795231892
wa...

result:

ok OK, guesses=6468

Test #18:

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

input:

112998852
393427264
561598273
720372838
281088074
428906678
787440579
813674698
443916237
129789437
488590694
529559145
51548177
162946944
109840041
396505548
832055107
690262001
12679604
547472565
355603858
702741023
165233949
785712648
529242064
337772991
234041931
590865309
470530212
839071573
45...

output:

walk 468339224
walk 320862761
walk 190451779
walk 388635170
walk 346940624
walk 646455547
walk 989940193
walk 94832036
walk 957151310
walk 243273115
walk 81324578
walk 961242126
walk 534057978
walk 964508407
walk 548127905
walk 759076298
walk 937403990
walk 392430393
walk 534219681
walk 852021224
wa...

result:

ok OK, guesses=6566

Test #19:

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

input:

193904267
214350832
191969941
47078562
173875594
29567907
149589083
212999853
148840801
41205542
140940802
168546730
270325518
173545531
171587412
93798840
6091442
242008923
41812060
82327468
165703743
257757338
270654819
197155305
267495575
133423394
102278745
98676221
221085919
235578447
251210465...

output:

walk 670705097
walk 23482186
walk 373767765
walk 530236428
walk 335984228
walk 190470167
walk 921137082
walk 156547309
walk 604179180
walk 366797178
walk 648815772
walk 37742555
walk 360624086
walk 957535467
walk 756846843
walk 289541061
walk 666041390
walk 265138719
walk 219438558
walk 174102053
wa...

result:

ok OK, guesses=6437

Test #20:

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

input:

107838987
355785554
143324797
221092121
163610867
337010264
203746033
339325390
170416097
159584933
97454759
314212127
360180677
373236231
182324366
96412939
106448539
74295316
242794125
306085906
258101008
61036052
155588897
346679703
137298264
69251168
330814278
249973428
333787743
376195190
14386...

output:

walk 747566018
walk 706073432
walk 480320516
walk 498558560
walk 340327947
walk 566437141
walk 763585138
walk 251912929
walk 53699802
walk 330029140
walk 165390738
walk 652151593
walk 213055440
walk 707633638
walk 118250849
walk 430256023
walk 748627603
walk 724988160
walk 443828696
walk 720306430
w...

result:

ok OK, guesses=6417

Test #21:

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

input:

97868506
125980876
16476132
96752414
15714144
11742799
58180298
29618800
36231981
27400961
138679878
115684047
62749227
138291774
141087958
102971653
130684610
73660171
139305803
13631200
64708429
46640885
50715878
16386552
130188597
15746393
46991317
26724368
101422738
63314380
147404231
47697954
1...

output:

walk 144962615
walk 16150915
walk 657767219
walk 428288151
walk 449750868
walk 675519562
walk 147491302
walk 259919444
walk 738002538
walk 595319127
walk 457982954
walk 923274677
walk 275215823
walk 501945520
walk 824466729
walk 520412225
walk 100857141
walk 717402281
walk 603525686
walk 534825780
w...

result:

ok OK, guesses=6415

Test #22:

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

input:

164266593
97823037
112508164
152300754
17044797
57091822
279458231
79778468
288992026
183840561
310143769
114284177
23802443
192271629
83730980
202210191
145706364
206181936
259242318
186778744
304468131
43475229
37789066
84128555
216333897
159573862
169327450
278139971
228296023
228018806
256706196...

output:

walk 902005652
walk 478148601
walk 388373756
walk 645544494
walk 950127069
walk 299162742
walk 979641275
walk 78697925
walk 988425581
walk 997530127
walk 980060806
walk 390033165
walk 947544726
walk 896859782
walk 803140236
walk 228833911
walk 321958106
walk 235785733
walk 737281302
walk 401275411
w...

result:

ok OK, guesses=6489

Test #23:

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

input:

685528522
647940074
530538096
169254806
682400974
738630533
264433116
579522363
424500181
91874748
806743450
584853972
271343849
424076316
800771289
788408338
646851740
621211253
315265933
728947085
556584193
149037108
405674512
483962246
794614625
395500256
26389648
239680028
282999761
301642362
14...

output:

walk 892596038
walk 881031496
walk 814298015
walk 844960260
walk 723214906
walk 133936998
walk 746582911
walk 930410364
walk 781234712
walk 436578768
walk 504739632
walk 670896520
walk 289823157
walk 890956119
walk 128822411
walk 820699191
walk 929483059
walk 597267156
walk 264306793
walk 146297698
...

result:

ok OK, guesses=6431

Test #24:

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

input:

611021010
976050755
246729821
764163492
23900211
441324028
22843950
302306978
714637694
549017168
84215575
930007370
252401860
471457861
528816536
241015767
326933165
698694812
598365930
539774909
809397350
64466710
261870459
540753967
373805694
898832451
743947927
843760955
115146398
451443343
1973...

output:

walk 821636565
walk 497575750
walk 694364784
walk 847430904
walk 188592261
walk 213699144
walk 701845942
walk 222207635
walk 706949749
walk 806833108
walk 417461258
walk 333481580
walk 479459852
walk 439565703
walk 899685552
walk 919776213
walk 679314661
walk 389798853
walk 469851940
walk 282649026
...

result:

ok OK, guesses=6481

Test #25:

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

input:

413685188
534083343
407003115
694393137
201318181
66357432
476295728
131327274
570181936
35548282
416750538
149519592
290050487
619382376
61737970
733435343
46470561
225870682
95892228
591554778
608152261
385041404
208995524
273259463
656944653
203871665
242493884
338843854
232636833
562986839
47120...

output:

walk 85890579
walk 540891651
walk 339913129
walk 371282711
walk 337440118
walk 195534546
walk 191579315
walk 300563898
walk 114028453
walk 267683990
walk 888307728
walk 234062588
walk 14407261
walk 174377237
walk 388982460
walk 998412764
walk 680172148
walk 814441766
walk 815709051
walk 568953303
wa...

result:

ok OK, guesses=6469

Test #26:

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

input:

102230217
47805875
98598267
119180295
32639534
66631078
4053716
92522895
36504519
99957547
115662465
87158036
20200571
96057395
11873813
8759856
105320121
105153594
93269702
111133385
119732011
26907708
53880704
79768797
7883601
62459760
64837772
75187100
88362538
91079746
74374925
111534748
1230882...

output:

walk 227285212
walk 175083989
walk 730435246
walk 456777123
walk 249436437
walk 882691026
walk 68060855
walk 590605052
walk 723551608
walk 242787881
walk 694150753
walk 404442579
walk 461153709
walk 657665392
walk 584630551
walk 187075541
walk 666271886
walk 508585407
walk 233790246
walk 982693549
w...

result:

ok OK, guesses=6444

Test #27:

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

input:

802725947
942964203
929916564
719047576
572601597
481979070
224080837
516940493
663004065
218507784
511814369
107411832
101878677
295542825
728590847
854836333
573936317
476756079
449520201
25734987
142937466
417425065
226917202
695109028
618726029
87770782
30273975
746429112
924574730
911598902
871...

output:

walk 227014242
walk 377968511
walk 619718096
walk 871153492
walk 279437696
walk 660012463
walk 613160697
walk 164367866
walk 751751557
walk 705061114
walk 328996960
walk 970694193
walk 986304125
walk 134399663
walk 260591297
walk 546928406
walk 678826759
walk 183788597
walk 285313982
walk 85145306
w...

result:

ok OK, guesses=6414

Test #28:

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

input:

110439280
150319771
195044421
790703547
126425205
162767107
559994421
530258757
481857064
136471632
254480279
171544341
361098061
737473930
651467798
92551552
133880344
226097916
698709389
10195844
534305486
317461800
454156257
566280957
70428860
669422877
127624491
297056499
353748046
673313848
588...

output:

walk 751752813
walk 627530548
walk 865720055
walk 177270735
walk 745855477
walk 99842064
walk 480612930
walk 786040407
walk 283033255
walk 55693951
walk 229594527
walk 37700094
walk 305968240
walk 574511059
walk 76539940
walk 195256007
walk 443044763
walk 776024874
walk 241192726
walk 800883453
walk...

result:

ok OK, guesses=6490

Test #29:

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

input:

221532134
118305345
961177237
638377431
69233629
10835787
484854782
88098508
632891333
575883976
167237456
919357293
814859588
192148561
126644148
960405600
928077892
133947716
656289461
380638943
227926649
62765606
258013313
597581221
943159136
962911044
405916849
439870625
986304368
584092391
7035...

output:

walk 810488662
walk 478759826
walk 425874413
walk 636302371
walk 992238220
walk 642967799
walk 587571830
walk 37261381
walk 485924389
walk 63508740
walk 559837442
walk 127313151
walk 888992167
walk 940878738
walk 775162077
walk 540274612
walk 250521673
walk 970099593
walk 313100806
walk 64544679
wal...

result:

ok OK, guesses=6442

Test #30:

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

input:

401513964
328755737
116831798
611274567
125553233
251050423
184651194
716455726
525405721
99553373
704554291
784635860
550174812
696507887
607589484
355109128
727771037
687300894
156761084
377239706
760458792
784531783
826178743
240000217
127444265
562633782
546291467
36927907
61642510
47244003
6181...

output:

walk 569192197
walk 962363015
walk 242824119
walk 239403763
walk 204916475
walk 495582024
walk 812205719
walk 374529011
walk 558555947
walk 928688119
walk 530576867
walk 900005876
walk 983912135
walk 893779366
walk 422277544
walk 749385336
walk 231289193
walk 742888244
walk 500002963
walk 111743518
...

result:

ok OK, guesses=6413

Test #31:

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

input:

370594381
718384642
573388090
503198396
771767685
831700225
851765784
390325364
682862758
718750222
687410331
62545871
184971208
306403818
470111536
475646089
97766800
249721274
409183680
303249599
368278866
41679276
103560205
388355802
490548585
519642937
24202386
707430744
478196268
226495270
6572...

output:

walk 84623415
walk 347790261
walk 714242142
walk 789049000
walk 268569289
walk 59932540
walk 20065559
walk 397798274
walk 292537394
walk 895126158
walk 827898803
walk 234374234
walk 122425337
walk 121432610
walk 163707718
walk 5534553
walk 481359405
walk 151954474
walk 159462406
walk 753304613
walk ...

result:

ok OK, guesses=6454

Test #32:

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

input:

840763278
822779669
443037845
585685571
325519379
284901861
760690989
417785917
113073653
623913327
837207511
101043399
398664950
620937666
210196761
200872598
893902719
784808295
88178495
768922500
962112249
182153090
739215769
106705148
64985178
265700013
113372684
943300700
934905602
300311467
51...

output:

walk 40844702
walk 878149193
walk 989277126
walk 455354751
walk 303629670
walk 168055288
walk 945933858
walk 37267216
walk 787134988
walk 250554361
walk 826591462
walk 606682829
walk 343404722
walk 803137444
walk 493015602
walk 236074163
walk 871710049
walk 507783825
walk 148195907
walk 963926650
wa...

result:

ok OK, guesses=6444

Test #33:

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

input:

789540391
520645202
907235542
1313301
84322033
279511389
347247589
211947482
941354322
38196077
40394487
380138382
395002330
230095594
453452765
128426660
107527489
221780793
241102345
474508693
794390374
425476963
427493393
419758931
535509251
139759450
472457037
600741369
324581869
485679959
70033...

output:

walk 789540390
walk 679463136
walk 386590340
walk 990794409
walk 83008732
walk 195189356
walk 67736200
walk 813058218
walk 729406840
walk 45200080
walk 2198410
walk 339743895
walk 963222273
walk 783451589
walk 223357171
walk 623332220
walk 927459154
walk 114253304
walk 19321552
walk 233406348
walk 3...

result:

ok OK, guesses=6490

Test #34:

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

input:

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

output:

walk 367846543
walk 500599920
walk 739626308
walk 884519406
walk 413202538
walk 412535575
walk 202142009
walk 463860470
walk 963666383
walk 151007783
walk 570759293
walk 316078940
walk 836822714
walk 144051797
walk 445495267
walk 528357845
walk 916913174
walk 524260940
walk 630540098
walk 720137955
...

result:

ok OK, guesses=3203

Test #35:

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

input:

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

output:

walk 747060004
walk 872254090
walk 446925032
walk 141933931
walk 333723828
walk 143884316
walk 253416080
walk 219921257
walk 142163143
walk 888953915
walk 242038824
walk 887738012
walk 484864262
walk 187841196
walk 209921250
walk 554911355
walk 195337866
walk 824059481
walk 986419115
walk 366609508
...

result:

ok OK, guesses=3204

Test #36:

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

input:

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

output:

walk 199219853
walk 764905053
walk 664080818
walk 816299373
walk 119349018
walk 892511832
walk 174539395
walk 5473958
walk 813837977
walk 41803851
walk 69283146
walk 444208764
walk 405614335
walk 505985936
walk 754377258
walk 822609900
walk 133628040
walk 97327463
walk 974216249
walk 840689894
walk ...

result:

ok OK, guesses=3205

Test #37:

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

input:

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

output:

walk 713508333
walk 7559412
walk 562867589
walk 178173183
walk 331377612
walk 888467979
walk 600994967
walk 714314431
walk 862445296
walk 869409206
walk 98057248
walk 597252298
walk 827302519
walk 24164986
walk 426721831
walk 27644843
walk 802407225
walk 926694847
walk 613706094
walk 66460832
walk 3...

result:

ok OK, guesses=3206

Test #38:

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

input:

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

output:

walk 808195090
walk 406215418
walk 153535103
walk 443899662
walk 345448910
walk 152716200
walk 767970407
walk 235811813
walk 22911138
walk 214676413
walk 928864749
walk 371703182
walk 636303349
walk 97501039
walk 302909176
walk 449009857
walk 655074960
walk 276599991
walk 821965543
walk 773512811
wa...

result:

ok OK, guesses=3207

Test #39:

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

input:

2539
1663
2277
2786
2099
2733
2429
1200
1220
2249
2598
343
387
1207
1230
2891
1905
2121
2551
2660
1692
1245
1383
1175
999
141
1569
376
2135
2961
1955
763
1552
1024
1726
992
1913
1891
2980
205
386
290
425
733
1143
1552
2633
1310
2732
816
1311
489
594
700
1076
1598
2745
985
1862
928
2719
1777
1425
136...

output:

walk 179323872
walk 569541853
walk 435697610
walk 784858570
walk 645495574
walk 625723666
walk 241024670
walk 388473778
walk 562400378
walk 217587534
walk 616234890
walk 139318677
walk 216106278
walk 73804815
walk 134884777
walk 201451711
walk 262771185
walk 199787598
walk 732883528
walk 632970402
w...

result:

ok OK, guesses=6201

Test #40:

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

input:

1354
58
48
1372
747
1211
948
670
459
1594
406
715
481
1283
1567
743
1210
786
710
530
1060
1967
1415
1857
1141
735
19
623
1900
233
1561
1276
319
1086
1874
1907
385
807
855
1645
1788
1713
1716
301
1769
398
725
375
1899
758
1372
576
1916
1210
950
449
201
290
1805
1883
1012
427
1598
1329
945
1551
1664
6...

output:

walk 752302916
walk 592685398
walk 490408170
walk 110040484
walk 773269741
walk 103087090
walk 787564472
walk 886391114
walk 354088673
walk 672631375
walk 944331443
walk 325842379
walk 360915081
walk 563895136
walk 810901597
walk 922434497
walk 214763191
walk 775934971
walk 672529014
walk 337466297
...

result:

ok OK, guesses=5201

Test #41:

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

input:

583
3119
2870
1821
1109
2126
2414
367
2170
742
2543
915
2043
1627
2741
1186
1543
3371
3971
2819
2139
2539
1273
3097
2248
2050
1287
3457
2036
1218
983
542
1760
548
3792
2168
35
469
3749
1890
3839
217
1647
3099
1188
3354
595
1194
1609
1173
1104
3779
338
1816
191
1340
415
2744
1331
3482
3663
2120
720
1...

output:

walk 947289124
walk 157143141
walk 229962885
walk 544020866
walk 936041461
walk 250244050
walk 365677807
walk 559383888
walk 843898209
walk 706475046
walk 248508532
walk 581123277
walk 984949658
walk 520182826
walk 324859656
walk 730038994
walk 892218912
walk 657008489
walk 549884891
walk 274775423
...

result:

ok OK, guesses=6401

Test #42:

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

input:

6547
3110
3259
4950
4907
3736
4881
1954
2041
1860
4880
2084
57
6061
3256
6379
5868
3570
1394
3426
6154
3838
2862
6090
2722
4946
5036
3341
6496
1166
2062
6240
4279
2348
1013
3023
5875
1922
3757
294
1417
5343
1795
4216
5656
2161
3104
4221
3255
5219
4890
3165
3099
1191
5108
2279
3301
4366
3319
516
3850...

output:

walk 352739615
walk 175868885
walk 899070974
walk 174095940
walk 607965822
walk 267790758
walk 189964290
walk 693952763
walk 957385584
walk 212497159
walk 978103960
walk 569454626
walk 182701495
walk 233542395
walk 963632633
walk 81989064
walk 719735397
walk 702220481
walk 451017920
walk 658537120
w...

result:

ok OK, guesses=6401

Test #43:

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

input:

5550
979
3995
6594
5104
6661
6248
4981
4660
2740
6600
5693
1983
4340
5305
1094
1608
3881
3499
698
4750
3420
3052
5193
1203
4470
6113
3781
6442
4316
3056
1744
5957
1598
1309
5554
3052
5489
3452
4613
5193
5064
5942
1690
2658
6394
6075
191
4306
4679
4256
2416
5530
2144
2052
3181
1798
806
2170
3894
5055...

output:

walk 153191521
walk 929086521
walk 221207788
walk 509687805
walk 38527927
walk 599454238
walk 350582375
walk 443964611
walk 681605773
walk 218913456
walk 35836168
walk 595908729
walk 763388974
walk 96296684
walk 157044276
walk 729101410
walk 998381820
walk 682866070
walk 157781134
walk 808430507
wal...

result:

ok OK, guesses=6401

Test #44:

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

input:

2063644
5425318
5500886
4397860
4694594
4247964
7548328
4264658
3709119
4562484
6285726
3309142
4025764
5317767
6499087
2281629
7599481
3683264
7042254
6117810
6350931
134570
7595701
3412327
6854335
2052894
6205779
3461891
704547
1933976
7138271
2974041
7264649
4856596
8509355
2016124
570398
3947801...

output:

walk 376761864
walk 355181908
walk 335702106
walk 391963774
walk 495011743
walk 61589592
walk 672704386
walk 491136488
walk 753004250
walk 434746662
walk 642555429
walk 727742215
walk 271849987
walk 449929833
walk 27709151
walk 54035860
walk 446062473
walk 901485605
walk 960016346
walk 940536373
wal...

result:

ok OK, guesses=6401

Test #45:

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

input:

6397599
8602303
5416469
9919971
3424681
4105802
6913661
9268125
849319
10112347
9005423
7932419
5252603
2340353
5761629
10737944
11093991
1825112
1582554
1843160
8430468
9063175
9565987
8278548
4938923
9707041
9954855
6275162
1349474
6353698
4978230
3645451
10167529
9734616
3576359
2696941
3768287
5...

output:

walk 263941136
walk 943571434
walk 608084124
walk 698819298
walk 605374889
walk 9311354
walk 315069636
walk 365646122
walk 76001217
walk 225024245
walk 357792740
walk 195188542
walk 149917308
walk 29549151
walk 232080396
walk 181400905
walk 236661182
walk 272816286
walk 908050849
walk 581070850
walk...

result:

ok OK, guesses=6405

Test #46:

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

input:

3320871
5960332
9077180
5884464
3518357
7612144
14466321
6216866
1999578
4385626
2460628
5883190
4386769
14112718
1557106
9218282
11710353
15233145
2489828
16618058
13483260
7507773
17581421
10234398
3519108
11089676
7434790
4753611
10022657
17519528
7991252
4586704
2821641
8676469
18560459
11274076...

output:

walk 436976712
walk 852133038
walk 972128640
walk 512270294
walk 51406573
walk 62256378
walk 1896664
walk 992892257
walk 501440749
walk 252142498
walk 932021472
walk 271486855
walk 50898163
walk 852061582
walk 314728827
walk 330346144
walk 462816604
walk 505754938
walk 946590336
walk 636432581
walk ...

result:

ok OK, guesses=6404

Test #47:

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

input:

744090
399143
277626
551699
437017
403090
557372
420641
505078
653064
407428
488422
520638
605306
740490
616936
476200
697255
367152
82825
543771
259987
132811
360224
528757
509731
6662
373481
329272
95869
303381
830482
209648
411083
338
278716
750194
116416
632706
248358
4312
813652
65389
99568
268...

output:

walk 561593640
walk 55814828
walk 251554407
walk 373697049
walk 721085507
walk 536238389
walk 223729413
walk 51324488
walk 723194136
walk 660564586
walk 494116723
walk 970251859
walk 851063653
walk 470595542
walk 821852298
walk 439797210
walk 269224079
walk 741622345
walk 104803121
walk 775547150
wa...

result:

ok OK, guesses=6401

Test #48:

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

input:

47348901
31937839
9624858
36667280
7840411
31733369
8382593
55387496
37312714
2573357
17965686
18992997
32673546
29348318
42039335
42583380
35359816
43479842
5061596
49598793
20525488
12914898
38730710
14472255
49388474
9948957
30083527
41450799
50787609
37067210
22471470
31065656
58264396
2901820
1...

output:

walk 521524411
walk 505639384
walk 625814098
walk 120199401
walk 984883699
walk 946952839
walk 336745517
walk 365780198
walk 677555815
walk 563075993
walk 535062067
walk 8523613
walk 743723722
walk 397899071
walk 80550544
walk 858990694
walk 743671689
walk 119681971
walk 661158575
walk 440745721
wal...

result:

ok OK, guesses=6401

Test #49:

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

input:

207592220
197645629
65744349
64475040
185457534
21490979
210873417
112982083
108634218
100863695
230040125
55945636
106280678
149907467
58535592
135926956
232465347
163860116
227935441
115644766
11455663
98088142
45299995
13980
49975333
3996311
127488220
164044485
119907391
88870544
204190064
981201...

output:

walk 848964240
walk 61181350
walk 90083636
walk 22251761
walk 994525653
walk 976333878
walk 956142836
walk 461836239
walk 459185579
walk 709219175
walk 472592623
walk 228441337
walk 172532063
walk 296758104
walk 31488415
walk 580799139
walk 777485844
walk 155770523
walk 969346129
walk 841520421
walk...

result:

ok OK, guesses=6410

Test #50:

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

input:

84446369
214718556
170966372
181753877
361016224
229217017
195749428
471135610
23793910
457546637
189434243
270755440
511367535
210026354
172270458
133553404
502119305
402672929
414873774
411062167
41469418
85434738
176457167
456286959
505881819
146088883
435566253
203992130
235168479
259259407
3705...

output:

walk 777761805
walk 873140744
walk 732763922
walk 611542487
walk 302768135
walk 503926732
walk 579825097
walk 598818203
walk 687808690
walk 804441672
walk 144383236
walk 232679878
walk 386788771
walk 42312005
walk 761313185
walk 771859205
walk 439617243
walk 946635947
walk 62967421
walk 462996159
wa...

result:

ok OK, guesses=6445

Test #51:

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

input:

51725497
740572766
793562292
448605738
746048612
421161102
865234787
264868074
283513090
857748446
490182738
309587749
749938034
547053214
171498554
416926433
191633030
529323176
324751192
423014200
520357486
274989060
13480392
581201385
649542148
61076317
170022678
669991890
548112046
740780804
129...

output:

walk 975303731
walk 688847269
walk 976567761
walk 578621681
walk 297442874
walk 598690725
walk 444073685
walk 323211522
walk 18645016
walk 574235356
walk 556012527
walk 742983246
walk 440350285
walk 720693415
walk 548023575
walk 245427879
walk 698284832
walk 337690146
walk 719006251
walk 98263008
wa...

result:

ok OK, guesses=6484

Test #52:

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

input:

187578697
174922203
159819760
192138955
63791462
70737581
30914315
118729349
148964676
50165360
39512584
29090869
84009130
113369989
86626247
169481641
73447476
64284622
58443993
164944985
189229091
188914988
145091179
190527577
37481827
21702816
55316025
53091406
135477774
131662043
153239970
18471...

output:

walk 271536272
walk 180601799
walk 951189022
walk 32319195
walk 258169093
walk 200204412
walk 346693320
walk 667589913
walk 30235327
walk 867492149
walk 762380396
walk 182836578
walk 54918261
walk 802394031
walk 746289430
walk 662630273
walk 290482421
walk 184095439
walk 767192543
walk 106500992
wal...

result:

ok OK, guesses=6401

Test #53:

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

input:

139187110
80310589
138073865
172676048
92338236
222148306
162771907
114517338
163997997
203027268
119179044
235506453
177501668
141892625
94804971
30540603
94111579
211928782
7462547
188004955
105099878
85266456
201143967
109407726
99090192
221578495
18529314
153712386
225996773
176093381
216974307
...

output:

walk 95347876
walk 824735956
walk 271638432
walk 262519202
walk 57768934
walk 3288194
walk 101924991
walk 805397441
walk 617494695
walk 121588727
walk 581364339
walk 160639757
walk 506563221
walk 285962248
walk 202254922
walk 318403161
walk 777822493
walk 252085327
walk 801517265
walk 213779067
walk...

result:

ok OK, guesses=6456