QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#369848#5309. Guess Cycle Lengthucup-team2880AC ✓16ms4164kbC++23782b2024-03-28 18:40:272024-03-28 18:40:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

walk 984651644
walk 240350201
walk 356810074
walk 678366688
walk 643502442
walk 546631545
walk 321319879
walk 980926875
walk 731344672
walk 357050983
walk 550823269
walk 135603576
walk 514218616
walk 43776401
walk 287963861
walk 678286999
walk 664105114
walk 104194035
walk 396225766
walk 863678475
w...

result:

ok OK, guesses=6666

Test #2:

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

input:

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

output:

walk 984651644
walk 240350201
walk 356810074
walk 678366688
walk 643502442
walk 546631545
walk 321319879
walk 980926875
walk 731344672
walk 357050983
walk 550823269
walk 135603576
walk 514218616
walk 43776401
walk 287963861
walk 678286999
walk 664105114
walk 104194035
walk 396225766
walk 863678475
w...

result:

ok OK, guesses=6666

Test #3:

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

input:

1645
1846
1920
8608
1050
2595
2474
9349
4021
5004
8273
1849
465
6866
727
7726
2840
6875
2641
1116
3964
280
8084
3617
8288
5878
2952
6495
7616
4026
4849
47
3764
3425
2447
2505
3619
8700
3957
3693
1026
7612
7675
5032
8280
60
8383
3664
4034
8373
4623
2959
6431
6566
6481
6337
8779
6893
3784
6650
4529
84...

output:

walk 984651644
walk 240350201
walk 356810074
walk 678366688
walk 643502442
walk 546631545
walk 321319879
walk 980926875
walk 731344672
walk 357050983
walk 550823269
walk 135603576
walk 514218616
walk 43776401
walk 287963861
walk 678286999
walk 664105114
walk 104194035
walk 396225766
walk 863678475
w...

result:

ok OK, guesses=6667

Test #4:

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

input:

984651645
225001846
581811920
260178608
903681050
450312595
771632474
752559349
483904021
840955004
391778273
527381849
41600465
85376866
373340727
51627726
715732840
819926875
216152641
79831116
156773964
986470280
531598084
446703617
57498288
300035878
352232952
752566495
983407616
735114026
56048...

output:

walk 984651644
walk 240350201
walk 356810074
walk 678366688
walk 643502442
walk 546631545
walk 321319879
walk 980926875
walk 731344672
walk 357050983
walk 550823269
walk 135603576
walk 514218616
walk 43776401
walk 287963861
walk 678286999
walk 664105114
walk 104194035
walk 396225766
walk 863678475
w...

result:

ok OK, guesses=6943

Test #5:

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

input:

596185337
649962854
546438033
33871958
561348801
671612117
834231796
954708066
82805410
454031019
808455022
161031159
345332661
319137330
491820827
974303230
924025461
642282315
933726422
828983955
814226316
884130993
577738652
222558426
653683546
781514327
286558651
797636825
71795807
601403122
475...

output:

walk 594265526
walk 53777517
walk 896475179
walk 487433925
walk 527476843
walk 110263316
walk 162619679
walk 120476270
walk 128097344
walk 371225609
walk 354424003
walk 352576137
walk 184301502
walk 973804669
walk 172683497
walk 482482403
walk 949722231
walk 718256854
walk 291444107
walk 895257533
w...

result:

ok OK, guesses=6760

Test #6:

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

input:

285100103
933229612
399019295
204549020
180161231
235700163
885566346
299656136
90774024
523499817
836079348
467304597
308524451
511363864
24311833
140028164
962750051
715371209
846917148
231841489
414636386
744593215
711791858
942889856
638276096
549561333
135754681
231389479
711343293
701593048
69...

output:

walk 594265526
walk 53777517
walk 896475179
walk 487433925
walk 527476843
walk 110263316
walk 162619679
walk 120476270
walk 128097344
walk 371225609
walk 354424003
walk 352576137
walk 184301502
walk 973804669
walk 172683497
walk 482482403
walk 949722231
walk 718256854
walk 291444107
walk 895257533
w...

result:

ok OK, guesses=7000

Test #7:

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

input:

594265527
648043044
544518223
387441895
559428991
669692307
832311986
952788256
304250515
205705882
806535212
533438726
46688576
68690627
201552426
972383420
922105651
640362505
931806612
827064145
812306506
882211183
575818842
467076203
651763736
779594517
105346890
795717015
316309710
599483312
18...

output:

walk 594265526
walk 53777517
walk 896475179
walk 487433925
walk 527476843
walk 110263316
walk 162619679
walk 120476270
walk 128097344
walk 371225609
walk 354424003
walk 352576137
walk 184301502
walk 973804669
walk 172683497
walk 482482403
walk 949722231
walk 718256854
walk 291444107
walk 895257533
w...

result:

ok OK, guesses=6688

Test #8:

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

input:

47612370
555257711
812878475
667186034
664901181
627134358
938184457
317694693
884844773
418409401
985419530
636796166
125596578
654218570
109657584
471879462
852177522
792326688
551398154
665472175
568654698
963523026
752813755
314295403
43738944
92289602
623688993
126740041
650772820
720203705
510...

output:

walk 101790131
walk 181908395
walk 908243384
walk 61615449
walk 739243159
walk 551381626
walk 808464632
walk 655008793
walk 162046927
walk 364453974
walk 722020477
walk 830354592
walk 692710633
walk 583719846
walk 825917098
walk 910559551
walk 264823312
walk 421974082
walk 696237227
walk 829840967
w...

result:

ok OK, guesses=6702

Test #9:

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

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 101790131
walk 181908395
walk 908243384
walk 61615449
walk 739243159
walk 551381626
walk 808464632
walk 655008793
walk 162046927
walk 364453974
walk 722020477
walk 830354592
walk 692710633
walk 583719846
walk 825917098
walk 910559551
walk 264823312
walk 421974082
walk 696237227
walk 829840967
w...

result:

ok OK, guesses=6666

Test #10:

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

input:

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

output:

walk 101790131
walk 181908395
walk 908243384
walk 61615449
walk 739243159
walk 551381626
walk 808464632
walk 655008793
walk 162046927
walk 364453974
walk 722020477
walk 830354592
walk 692710633
walk 583719846
walk 825917098
walk 910559551
walk 264823312
walk 421974082
walk 696237227
walk 829840967
w...

result:

ok OK, guesses=6666

Test #11:

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

input:

384
546
632
150
671
906
917
668
54
74
66
96
707
506
312
217
370
218
606
404
961
47
76
452
522
687
538
537
768
902
955
223
849
923
291
289
210
404
344
265
625
948
822
826
868
117
487
399
841
25
348
690
387
440
767
977
196
551
551
835
986
261
836
166
140
736
656
342
516
396
719
66
930
739
663
480
539
...

output:

walk 101790131
walk 181908395
walk 908243384
walk 61615449
walk 739243159
walk 551381626
walk 808464632
walk 655008793
walk 162046927
walk 364453974
walk 722020477
walk 830354592
walk 692710633
walk 583719846
walk 825917098
walk 910559551
walk 264823312
walk 421974082
walk 696237227
walk 829840967
w...

result:

ok OK, guesses=6666

Test #12:

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

input:

9788
8925
8022
9094
9819
9897
5249
7954
8899
8605
7358
5763
3923
2811
8800
9118
1705
5460
6123
4548
2509
6673
2291
9266
8194
1624
6462
941
112
8822
5096
417
2512
3458
8340
9245
4609
6775
3366
5924
6381
2755
1247
8587
1100
4951
8350
5742
4867
9341
7844
1740
6429
8293
9815
5680
4105
3983
1783
4765
966...

output:

walk 638019701
walk 568865629
walk 233274187
walk 233268658
walk 110342419
walk 857003057
walk 574911544
walk 957251203
walk 655475649
walk 219864723
walk 246689998
walk 143971940
walk 379096719
walk 718884806
walk 951231685
walk 158748713
walk 902973573
walk 431404348
walk 577599988
walk 508488507
...

result:

ok OK, guesses=6667

Test #13:

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

input:

52254
33627
23458
79475
96202
15774
61607
59875
44931
87780
68840
43848
51299
52712
94266
16841
85221
6060
85165
75682
66589
67023
81975
76585
41890
6704
46701
29750
20591
54108
70512
60251
9121
11877
40516
88657
43013
6245
24485
25319
69116
28021
98010
43755
7564
56038
9540
68762
60966
97886
88349
...

output:

walk 638019701
walk 568865629
walk 233274187
walk 233268658
walk 110342419
walk 857003057
walk 574911544
walk 957251203
walk 655475649
walk 219864723
walk 246689998
walk 143971940
walk 379096719
walk 718884806
walk 951231685
walk 158748713
walk 902973573
walk 431404348
walk 577599988
walk 508488507
...

result:

ok OK, guesses=6667

Test #14:

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

input:

875041
676023
775434
128115
816620
736484
390483
407290
51025
528995
878857
129673
148436
963128
965232
187699
877280
708547
147467
520180
544509
700581
775043
586739
458229
131995
670545
163356
714493
718882
107921
914148
151798
39007
229647
936017
30705
475869
477320
325753
544585
479382
618360
22...

output:

walk 638019701
walk 568865629
walk 233274187
walk 233268658
walk 110342419
walk 857003057
walk 574911544
walk 957251203
walk 655475649
walk 219864723
walk 246689998
walk 143971940
walk 379096719
walk 718884806
walk 951231685
walk 158748713
walk 902973573
walk 431404348
walk 577599988
walk 508488507
...

result:

ok OK, guesses=6667

Test #15:

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

input:

118022
8958177
2269014
8352281
1800017
7180847
8079600
5809704
7605563
8848790
8069526
8042769
5153047
2955816
5343361
6994629
3010149
8072390
3201228
2789848
4295713
6947790
7540690
1171005
7859745
1197476
9009478
4869078
7051875
7651635
3084852
5445162
8523665
3242551
939399
9831077
7880236
91654
...

output:

walk 638019701
walk 568865629
walk 233274187
walk 233268658
walk 110342419
walk 857003057
walk 574911544
walk 957251203
walk 655475649
walk 219864723
walk 246689998
walk 143971940
walk 379096719
walk 718884806
walk 951231685
walk 158748713
walk 902973573
walk 431404348
walk 577599988
walk 508488507
...

result:

ok OK, guesses=6667

Test #16:

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

input:

94319475
7179719
91402543
10682767
53895491
85254737
31431945
6543349
49792509
1467910
96664143
84966115
48741627
80056504
88723650
74373748
89188834
84427420
29359356
22548710
37799922
76720635
17221658
4382170
55460489
67750200
57334608
86813397
66138658
27509834
84333961
95872838
52088084
7270758...

output:

walk 846635339
walk 807448206
walk 435167412
walk 253695504
walk 612628909
walk 24205615
walk 49490562
walk 584270245
walk 274640597
walk 846356717
walk 954868254
walk 905096023
walk 585812225
walk 141402232
walk 759199481
walk 443778361
walk 951692550
walk 959797777
walk 630877094
walk 527155839
wa...

result:

ok OK, guesses=6687

Test #17:

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

input:

360788329
794526650
220174239
230801363
619988740
423981738
35508009
104536113
833683399
718191563
994107588
192580566
952498643
573328314
982091826
581716134
741232470
792230801
892188958
746510720
600504120
682530108
663010288
870978997
612093757
257519841
476709618
961614337
166573345
291873957
2...

output:

walk 846635339
walk 807448206
walk 435167412
walk 253695504
walk 612628909
walk 24205615
walk 49490562
walk 584270245
walk 274640597
walk 846356717
walk 954868254
walk 905096023
walk 585812225
walk 141402232
walk 759199481
walk 443778361
walk 951692550
walk 959797777
walk 630877094
walk 527155839
wa...

result:

ok OK, guesses=6704

Test #18:

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

input:

279416870
121900299
663436941
891859229
502445500
756164484
96858192
858194574
476686913
792553268
190286129
436447862
523231710
639976436
478655247
216232927
603445514
174430619
685581140
841561126
232424395
30446734
203425862
855071484
331723068
353426061
134363299
10672880
325510135
894104208
563...

output:

walk 846635339
walk 807448206
walk 435167412
walk 253695504
walk 612628909
walk 24205615
walk 49490562
walk 584270245
walk 274640597
walk 846356717
walk 954868254
walk 905096023
walk 585812225
walk 141402232
walk 759199481
walk 443778361
walk 951692550
walk 959797777
walk 630877094
walk 527155839
wa...

result:

ok OK, guesses=6674

Test #19:

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

input:

147157062
10255103
42517433
196137310
72285493
113641399
80083850
160499171
200001097
102871607
200155953
220734748
106257318
74781163
230714993
24307846
38298995
257350755
89899130
209006566
158684530
182025130
37217698
141588447
26382437
175904541
271645059
233179637
94596090
71165131
258900382
20...

output:

walk 881596503
walk 798139793
walk 589964151
walk 21553783
walk 805397400
walk 348545454
walk 396149098
walk 525313546
walk 117509503
walk 105322921
walk 125372588
walk 146950749
walk 470711152
walk 366555967
walk 969123621
walk 625125342
walk 235335446
walk 900399084
walk 53777542
walk 344068791
wa...

result:

ok OK, guesses=6681

Test #20:

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

input:

150543131
56343212
54284519
147620287
349359120
195230498
286277997
89778417
107105137
294615909
278663824
254793225
77808973
85589579
133958546
270530279
224495514
182786566
124380225
102814217
75264653
11693964
343800005
40897886
63434532
102943540
244855854
62992572
215516806
243569250
229012993
...

output:

walk 881596503
walk 798139793
walk 589964151
walk 21553783
walk 805397400
walk 348545454
walk 396149098
walk 525313546
walk 117509503
walk 105322921
walk 125372588
walk 146950749
walk 470711152
walk 366555967
walk 969123621
walk 625125342
walk 235335446
walk 900399084
walk 53777542
walk 344068791
wa...

result:

ok OK, guesses=6669

Test #21:

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

input:

96412984
122315823
8903628
3108818
127118103
141441065
71093372
16858917
135226903
116287068
58216156
30573237
15815975
112602036
80400787
62981865
129430407
128988628
127487061
16550951
142645124
53519345
96813110
59222464
12856808
108461569
120954126
34368886
74824804
13937870
123119138
77676847
1...

output:

walk 881596503
walk 798139793
walk 589964151
walk 21553783
walk 805397400
walk 348545454
walk 396149098
walk 525313546
walk 117509503
walk 105322921
walk 125372588
walk 146950749
walk 470711152
walk 366555967
walk 969123621
walk 625125342
walk 235335446
walk 900399084
walk 53777542
walk 344068791
wa...

result:

ok OK, guesses=6684

Test #22:

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

input:

304768675
170830279
47572064
53620658
5177299
307562150
172546137
189690894
279023486
45376833
315137763
86039717
75583423
243633622
319591105
221397721
116837228
245847343
189110306
154765267
181912241
327125408
253419724
21277618
320108628
171205823
208867968
124363128
6930866
226784250
79152753
2...

output:

walk 881596503
walk 798139793
walk 589964151
walk 21553783
walk 805397400
walk 348545454
walk 396149098
walk 525313546
walk 117509503
walk 105322921
walk 125372588
walk 146950749
walk 470711152
walk 366555967
walk 969123621
walk 625125342
walk 235335446
walk 900399084
walk 53777542
walk 344068791
wa...

result:

ok OK, guesses=6720

Test #23:

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

input:

75210805
783585716
973282260
974795524
497605144
65715611
226694960
975254595
235746316
821411894
368545466
995385292
249416339
100005073
368954573
25215390
848988654
839911228
6348358
264257420
184656068
135173259
486380860
37744506
89590697
315165620
678462993
717503651
240910526
55743532
36800318...

output:

walk 166187967
walk 250715379
walk 310131077
walk 120933952
walk 638493972
walk 71135300
walk 234005684
walk 925241075
walk 294010258
walk 320692895
walk 22560585
walk 832159826
walk 243773011
walk 606260110
walk 950801116
walk 954586285
walk 376777115
walk 243329584
walk 341169763
walk 651480400
wa...

result:

ok OK, guesses=6855

Test #24:

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

input:

550259268
204987846
383130013
348583245
568360898
95967635
899396846
87572678
817432103
504466433
808152457
373659682
755649972
269518575
433938148
439285868
924427840
937083533
867780492
738612404
159292152
772500247
99572584
866893653
592892306
194913500
44439768
913885505
644673871
375042539
2262...

output:

walk 166187967
walk 250715379
walk 310131077
walk 120933952
walk 638493972
walk 71135300
walk 234005684
walk 925241075
walk 294010258
walk 320692895
walk 22560585
walk 832159826
walk 243773011
walk 606260110
walk 950801116
walk 954586285
walk 376777115
walk 243329584
walk 341169763
walk 651480400
wa...

result:

ok OK, guesses=6775

Test #25:

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

input:

629807081
342776734
244797930
497012859
446287429
347382449
459241239
722964826
524680282
756599864
606825990
208055547
171496945
578600530
757859077
261708356
699284684
1158468
696265311
206091105
84077400
672125124
176631654
514953913
700322064
421258328
86536877
204853424
120762199
396339873
3283...

output:

walk 166187967
walk 250715379
walk 310131077
walk 120933952
walk 638493972
walk 71135300
walk 234005684
walk 925241075
walk 294010258
walk 320692895
walk 22560585
walk 832159826
walk 243773011
walk 606260110
walk 950801116
walk 954586285
walk 376777115
walk 243329584
walk 341169763
walk 651480400
wa...

result:

ok OK, guesses=6698

Test #26:

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

input:

76821150
9551208
66053841
29501180
74838884
68938439
104809229
49655334
44934412
70081396
80290136
17028414
45975549
41866933
54401171
98845612
120158062
108835358
122689466
89857573
26999086
10875503
103846287
121227230
22407291
78326957
39679167
33981747
94194297
97557442
73118126
766802
121550559...

output:

walk 904566959
walk 772754682
walk 932297625
walk 208760677
walk 683195300
walk 622448639
walk 358352785
walk 425961169
walk 628170053
walk 272259662
walk 399271470
walk 68040601
walk 231785302
walk 895394542
walk 356426632
walk 118575604
walk 536402248
walk 44829972
walk 776818613
walk 497647824
wa...

result:

ok OK, guesses=6668

Test #27:

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

input:

366065844
202936556
812176271
524738273
321339648
565173162
341767532
305475476
10316409
699405071
525401601
449279652
390068269
541376391
286944733
69801667
686034820
460159602
765143320
706170674
832583010
633164026
510974203
255702990
83685140
710098230
38893403
646258460
835241980
525321520
1627...

output:

walk 904566959
walk 772754682
walk 932297625
walk 208760677
walk 683195300
walk 622448639
walk 358352785
walk 425961169
walk 628170053
walk 272259662
walk 399271470
walk 68040601
walk 231785302
walk 895394542
walk 356426632
walk 118575604
walk 536402248
walk 44829972
walk 776818613
walk 497647824
wa...

result:

ok OK, guesses=6743

Test #28:

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

input:

606340321
436785738
343006442
578877342
725890774
816422331
269560731
179858238
45371267
26453938
20050610
624172696
811092059
783982306
668254714
531589308
767049522
348443198
137590542
601712396
442364973
106523220
684018263
805855841
801192984
390276556
333622822
142806010
158703565
659876332
180...

output:

walk 904566959
walk 772754682
walk 932297625
walk 208760677
walk 683195300
walk 622448639
walk 358352785
walk 425961169
walk 628170053
walk 272259662
walk 399271470
walk 68040601
walk 231785302
walk 895394542
walk 356426632
walk 118575604
walk 536402248
walk 44829972
walk 776818613
walk 497647824
wa...

result:

ok OK, guesses=6682

Test #29:

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

input:

552831352
316728472
840864517
901359121
501356040
67516099
960227681
46814189
836978135
863898453
37467916
889091803
878242352
598940481
227213294
499430995
970310614
552504790
413546610
492868444
919275895
115762000
163286906
87900986
585212200
315532024
954780089
63064024
504715032
314343770
23398...

output:

walk 904566959
walk 772754682
walk 932297625
walk 208760677
walk 683195300
walk 622448639
walk 358352785
walk 425961169
walk 628170053
walk 272259662
walk 399271470
walk 68040601
walk 231785302
walk 895394542
walk 356426632
walk 118575604
walk 536402248
walk 44829972
walk 776818613
walk 497647824
wa...

result:

ok OK, guesses=6886

Test #30:

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

input:

129432916
305466928
27693969
525983823
122816546
216192376
90309887
689102958
792907452
9757088
423241294
809472442
42913553
196815506
822966206
157964466
480996710
354424001
264872201
278703379
578091933
203725442
719470291
262126118
424994507
147061132
717465973
441208044
751782727
282505745
29902...

output:

walk 284602116
walk 476103910
walk 489532345
walk 516864307
walk 635151854
walk 287944344
walk 828970400
walk 161679017
walk 235319908
walk 362424835
walk 777096481
walk 745054811
walk 274248951
walk 442793615
walk 124281757
walk 242484858
walk 910800312
walk 702553337
walk 766345992
walk 689925310
...

result:

ok OK, guesses=6737

Test #31:

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

input:

570573082
187438298
676970643
334596256
110509416
398453760
368185466
529864483
765184391
268370532
186228319
72044436
346293387
789087002
54130065
296614923
348176541
191491184
98598482
788523792
800458137
185556868
306984593
340404667
446174905
436593588
511002111
299686822
456568118
503359409
475...

output:

walk 284602116
walk 476103910
walk 489532345
walk 516864307
walk 635151854
walk 287944344
walk 828970400
walk 161679017
walk 235319908
walk 362424835
walk 777096481
walk 745054811
walk 274248951
walk 442793615
walk 124281757
walk 242484858
walk 910800312
walk 702553337
walk 766345992
walk 689925310
...

result:

ok OK, guesses=6786

Test #32:

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

input:

571740475
751691045
518365854
771584566
580713483
54618798
471883289
219587065
524176619
583138143
848426614
347214267
148581834
600462173
506657673
310505082
70123509
715567349
92792831
620889339
937760784
39727798
558568649
805102579
558813517
933134304
853430382
258556486
85604213
189489170
88295...

output:

walk 284602116
walk 476103910
walk 489532345
walk 516864307
walk 635151854
walk 287944344
walk 828970400
walk 161679017
walk 235319908
walk 362424835
walk 777096481
walk 745054811
walk 274248951
walk 442793615
walk 124281757
walk 242484858
walk 910800312
walk 702553337
walk 766345992
walk 689925310
...

result:

ok OK, guesses=6742

Test #33:

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

input:

651357718
560096994
571393182
591842020
527919724
356087073
718502972
218258943
552930299
464711395
611565315
79029229
762159204
200911034
764752902
173621336
216427411
244021565
67523225
29782728
362304587
375495193
182211837
431019093
160778871
648108539
23691763
739547443
937869779
364555089
9019...

output:

walk 651357717
walk 857097601
walk 11296188
walk 20448838
walk 884436029
walk 776525674
walk 362415899
walk 448114296
walk 334671356
walk 860139421
walk 146853920
walk 415822239
walk 683129975
walk 387110155
walk 563841868
walk 357226759
walk 42806075
walk 975952479
walk 771859985
walk 910617828
wal...

result:

ok OK, guesses=6695

Test #34:

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

input:

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

output:

walk 651357717
walk 857097601
walk 11296188
walk 20448838
walk 884436029
walk 776525674
walk 362415899
walk 448114296
walk 334671356
walk 860139421
walk 146853920
walk 415822239
walk 683129975
walk 387110155
walk 563841868
walk 357226759
walk 42806075
walk 975952479
walk 771859985
walk 910617828
wal...

result:

ok OK, guesses=6666

Test #35:

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

input:

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

output:

walk 651357717
walk 857097601
walk 11296188
walk 20448838
walk 884436029
walk 776525674
walk 362415899
walk 448114296
walk 334671356
walk 860139421
walk 146853920
walk 415822239
walk 683129975
walk 387110155
walk 563841868
walk 357226759
walk 42806075
walk 975952479
walk 771859985
walk 910617828
wal...

result:

ok OK, guesses=6666

Test #36:

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

input:

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

output:

walk 651357717
walk 857097601
walk 11296188
walk 20448838
walk 884436029
walk 776525674
walk 362415899
walk 448114296
walk 334671356
walk 860139421
walk 146853920
walk 415822239
walk 683129975
walk 387110155
walk 563841868
walk 357226759
walk 42806075
walk 975952479
walk 771859985
walk 910617828
wal...

result:

ok OK, guesses=6666

Test #37:

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

input:

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

output:

walk 24912009
walk 25513022
walk 723344547
walk 530613836
walk 908928236
walk 258887540
walk 652548388
walk 181243055
walk 197074149
walk 408649869
walk 708748743
walk 536156962
walk 798431138
walk 60962259
walk 491721430
walk 229714990
walk 39304533
walk 582341883
walk 542154053
walk 212137598
walk...

result:

ok OK, guesses=6666

Test #38:

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

input:

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

output:

walk 24912009
walk 25513022
walk 723344547
walk 530613836
walk 908928236
walk 258887540
walk 652548388
walk 181243055
walk 197074149
walk 408649869
walk 708748743
walk 536156962
walk 798431138
walk 60962259
walk 491721430
walk 229714990
walk 39304533
walk 582341883
walk 542154053
walk 212137598
walk...

result:

ok OK, guesses=6666

Test #39:

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

input:

2159
2186
2665
2867
388
10
2053
281
350
511
2235
1628
1317
1503
1402
2321
573
805
2252
2063
1281
2985
101
791
2322
1203
2052
749
738
1881
1317
1180
1453
2002
1927
2352
2381
2421
1295
2213
2497
1843
1452
518
654
2128
2845
925
1833
2882
1440
1047
2915
2609
28
2612
352
70
155
992
2505
446
2152
977
305
...

output:

walk 24912009
walk 25513022
walk 723344547
walk 530613836
walk 908928236
walk 258887540
walk 652548388
walk 181243055
walk 197074149
walk 408649869
walk 708748743
walk 536156962
walk 798431138
walk 60962259
walk 491721430
walk 229714990
walk 39304533
walk 582341883
walk 542154053
walk 212137598
walk...

result:

ok OK, guesses=6666

Test #40:

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

input:

292
796
229
985
653
905
582
1914
1850
1912
1340
428
1007
156
1304
1414
398
1248
1311
656
924
475
560
1460
122
1038
1905
384
1531
1276
1485
1342
27
1156
1347
1522
1320
1715
578
585
1814
1386
1653
995
1501
578
1775
1669
1386
1884
1220
728
652
1725
603
177
464
753
683
457
1889
1073
748
892
503
650
916
...

output:

walk 20010413
walk 399539819
walk 842035672
walk 648454205
walk 297734837
walk 874110310
walk 191488830
walk 848998590
walk 377966755
walk 448643317
walk 899029924
walk 921823240
walk 476493520
walk 796338811
walk 718353199
walk 558919726
walk 121564838
walk 664355288
walk 650816238
walk 120115495
w...

result:

ok OK, guesses=6666

Test #41:

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

input:

770
147
3395
753
3433
2942
2776
2531
3665
1245
2298
1384
331
1169
3190
2217
2134
14
2050
3168
2247
2520
3437
1338
3983
700
391
131
542
2473
552
414
1285
1130
30
3427
3238
2781
2572
2639
2418
2995
512
1990
986
2572
1438
2528
2995
105
572
3356
3483
2398
234
1142
2194
3087
1737
2102
3609
200
3108
1149
...

output:

walk 20010413
walk 399539819
walk 842035672
walk 648454205
walk 297734837
walk 874110310
walk 191488830
walk 848998590
walk 377966755
walk 448643317
walk 899029924
walk 921823240
walk 476493520
walk 796338811
walk 718353199
walk 558919726
walk 121564838
walk 664355288
walk 650816238
walk 120115495
w...

result:

ok OK, guesses=6667

Test #42:

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

input:

2110
2316
1152
4848
5856
1144
5167
4275
1940
1
2294
2358
2298
2132
4703
1856
6165
3264
4780
3701
1880
1121
4209
4973
2744
5182
989
5233
6005
4578
249
486
4282
2453
74
1927
2257
424
4061
408
6536
6554
2182
3959
2792
3382
2974
4881
2287
404
3122
3725
2642
1665
3504
978
1998
3538
5232
6232
4253
3552
35...

output:

walk 20010413
walk 399539819
walk 842035672
walk 648454205
walk 297734837
walk 874110310
walk 191488830
walk 848998590
walk 377966755
walk 448643317
walk 899029924
walk 921823240
walk 476493520
walk 796338811
walk 718353199
walk 558919726
walk 121564838
walk 664355288
walk 650816238
walk 120115495
w...

result:

ok OK, guesses=6667

Test #43:

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

input:

5403
4736
3048
1340
76
5270
759
2343
4554
386
3008
6351
6394
224
1714
3181
1766
4547
119
6119
3681
633
760
2714
3266
503
3747
3265
351
1134
4860
4673
6576
3699
2179
3168
4893
1962
5827
3613
6276
5402
6003
590
5448
6007
1023
4072
18
6174
2079
1098
4499
308
1120
6576
3165
4561
3808
6480
6267
1414
4233...

output:

walk 20010413
walk 399539819
walk 842035672
walk 648454205
walk 297734837
walk 874110310
walk 191488830
walk 848998590
walk 377966755
walk 448643317
walk 899029924
walk 921823240
walk 476493520
walk 796338811
walk 718353199
walk 558919726
walk 121564838
walk 664355288
walk 650816238
walk 120115495
w...

result:

ok OK, guesses=6667

Test #44:

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

input:

510984
4498309
1507361
6523671
8201578
1915133
3619820
1720215
7229576
75765
1335284
6185965
5810176
3939136
2577342
7127587
2698074
5846787
5434207
5533541
6151490
5405644
8174577
1565028
3846533
23845
3291893
2491327
32768
5463211
4933863
8541313
4339271
5852116
7860798
89253
4844533
909050
392509...

output:

walk 521155443
walk 404516239
walk 987234159
walk 210518694
walk 800319876
walk 825846321
walk 714558491
walk 2793565
walk 946887543
walk 674296113
walk 510706249
walk 507131648
walk 444281378
walk 357534057
walk 125159899
walk 459754990
walk 583615398
walk 788911463
walk 156664485
walk 619266528
wa...

result:

ok OK, guesses=6668

Test #45:

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

input:

9042397
1297665
539138
7658328
8163434
2276218
4880962
3070345
5450507
6354715
8505677
10171373
2777521
826241
3805940
8886734
4349663
10553649
9544595
4542391
1352423
3885879
10038987
2937363
10170211
3946289
9253617
4623972
1168940
8843240
9262875
3761720
9088898
8801049
546491
4269344
882356
1933...

output:

walk 521155443
walk 404516239
walk 987234159
walk 210518694
walk 800319876
walk 825846321
walk 714558491
walk 2793565
walk 946887543
walk 674296113
walk 510706249
walk 507131648
walk 444281378
walk 357534057
walk 125159899
walk 459754990
walk 583615398
walk 788911463
walk 156664485
walk 619266528
wa...

result:

ok OK, guesses=6669

Test #46:

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

input:

14528129
12891509
3505786
4819302
1929118
18541345
769738
13632100
7333387
4900937
7191832
13031605
15419083
11476533
10776620
17927337
8025799
14226565
3088399
2979098
11127917
7045678
9125708
7941067
5218203
1037686
1682703
12344989
13505633
3463159
9800905
257899
18595303
16235864
5503517
1062163...

output:

walk 521155443
walk 404516239
walk 987234159
walk 210518694
walk 800319876
walk 825846321
walk 714558491
walk 2793565
walk 946887543
walk 674296113
walk 510706249
walk 507131648
walk 444281378
walk 357534057
walk 125159899
walk 459754990
walk 583615398
walk 788911463
walk 156664485
walk 619266528
wa...

result:

ok OK, guesses=6668

Test #47:

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

input:

30736
617183
668565
675494
228502
442041
758613
500116
138716
244354
809873
318891
258932
429600
778693
472025
654468
665067
628620
782916
274700
191398
26122
214620
640982
450297
22804
640343
508483
388520
119642
541311
189367
571490
464776
563478
250149
317700
589813
595393
12800
18639
691318
3954...

output:

walk 521155443
walk 404516239
walk 987234159
walk 210518694
walk 800319876
walk 825846321
walk 714558491
walk 2793565
walk 946887543
walk 674296113
walk 510706249
walk 507131648
walk 444281378
walk 357534057
walk 125159899
walk 459754990
walk 583615398
walk 788911463
walk 156664485
walk 619266528
wa...

result:

ok OK, guesses=6667

Test #48:

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

input:

16220097
43494911
35532030
41788981
33332659
58273870
39054165
25132715
45291183
55494392
29504917
43096872
33934630
41953993
28538106
9100983
51779155
14221994
56738561
2167551
26636308
32677866
47796005
7094278
42202246
53226461
38540350
10173066
10516934
11095432
55194260
15039876
33749127
430774...

output:

walk 164569753
walk 317088679
walk 362652148
walk 745344449
walk 673401898
walk 727262295
walk 957627760
walk 523904288
walk 846786461
walk 954318858
walk 990383344
walk 759424322
walk 856557003
walk 22115825
walk 411321825
walk 194105604
walk 375708657
walk 456908708
walk 838223522
walk 794013225
w...

result:

ok OK, guesses=6667

Test #49:

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

input:

100801622
189309904
180313069
227362103
125443806
64778540
182947728
109944044
125297638
128110383
33864896
45273529
117447756
127748818
133933038
63819728
38872874
212686518
85183514
105398193
211239252
128101113
216224538
118323838
208364150
23226691
109122334
189440529
145034019
77615689
16015440...

output:

walk 164569753
walk 317088679
walk 362652148
walk 745344449
walk 673401898
walk 727262295
walk 957627760
walk 523904288
walk 846786461
walk 954318858
walk 990383344
walk 759424322
walk 856557003
walk 22115825
walk 411321825
walk 194105604
walk 375708657
walk 456908708
walk 838223522
walk 794013225
w...

result:

ok OK, guesses=6712

Test #50:

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

input:

360212547
376692524
257903444
178599648
31672162
135963356
352122328
211920339
18928551
337412280
502593672
114310917
483195015
94887115
469611961
293120731
142294558
224956226
95445270
75368060
16042060
508123507
482134564
189355477
506924798
412318803
475484244
47192559
136961882
186004122
2317421...

output:

walk 164569753
walk 317088679
walk 362652148
walk 745344449
walk 673401898
walk 727262295
walk 957627760
walk 523904288
walk 846786461
walk 954318858
walk 990383344
walk 759424322
walk 856557003
walk 22115825
walk 411321825
walk 194105604
walk 375708657
walk 456908708
walk 838223522
walk 794013225
w...

result:

ok OK, guesses=6673

Test #51:

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

input:

600558696
828644046
1117421
67992801
272100240
62342641
915743797
775402178
912544428
422644179
454759478
464807930
837175736
701421169
445848245
251161790
348335320
763996764
339424139
183979877
77339881
604185914
118357172
868956846
491464690
519895616
340000759
917730370
660429633
126442017
12334...

output:

walk 600558695
walk 228085350
walk 96051610
walk 66875380
walk 204107439
walk 713820636
walk 853401156
walk 783236616
walk 137142250
walk 433677986
walk 32115299
walk 933626687
walk 372367806
walk 787823668
walk 668005311
walk 728891780
walk 97173530
walk 415661444
walk 499005610
walk 768133973
walk...

result:

ok OK, guesses=6673

Test #52:

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

input:

130084534
164911591
67704908
134580288
145429434
86216898
166584882
176788326
120672283
167833683
6690689
167284204
153135424
167925920
62898059
18756667
115930197
145075055
64305786
59406587
103311654
50382808
101615715
79182217
45493417
31211113
1861319
193074344
86318670
89392703
43584513
2601476...

output:

walk 600558695
walk 228085350
walk 96051610
walk 66875380
walk 204107439
walk 713820636
walk 853401156
walk 783236616
walk 137142250
walk 433677986
walk 32115299
walk 933626687
walk 372367806
walk 787823668
walk 668005311
walk 728891780
walk 97173530
walk 415661444
walk 499005610
walk 768133973
walk...

result:

ok OK, guesses=6674

Test #53:

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

input:

84701403
28211068
103844381
119866037
37641751
116299440
79628027
195949864
202278945
215668717
156556647
4849765
32599367
229975181
44853563
71818854
55117118
178187387
143312638
89015725
202862180
152886770
143096797
154759689
39099091
200243800
43001558
164718490
69477107
238420110
37699840
12561...

output:

walk 600558695
walk 228085350
walk 96051610
walk 66875380
walk 204107439
walk 713820636
walk 853401156
walk 783236616
walk 137142250
walk 433677986
walk 32115299
walk 933626687
walk 372367806
walk 787823668
walk 668005311
walk 728891780
walk 97173530
walk 415661444
walk 499005610
walk 768133973
walk...

result:

ok OK, guesses=6703