QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#751641#5309. Guess Cycle LengthHuluoboAC ✓18ms4184kbC++141.2kb2024-11-15 19:58:092024-11-15 19:58:09

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

walk 484173137
walk 145756276
walk 926411074
walk 419335380
walk 157674500
walk 581223864
walk 978811222
walk 930433690
walk 924075087
walk 523938817
walk 585258030
walk 622574545
walk 839312621
walk 856827537
walk 55218009
walk 686023988
walk 568734673
walk 189456489
walk 635220131
walk 972668267
w...

result:

ok OK, guesses=3344

Test #2:

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

input:

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

output:

walk 484173137
walk 145756276
walk 926411074
walk 419335380
walk 157674500
walk 581223864
walk 978811222
walk 930433690
walk 924075087
walk 523938817
walk 585258030
walk 622574545
walk 839312621
walk 856827537
walk 55218009
walk 686023988
walk 568734673
walk 189456489
walk 635220131
walk 972668267
w...

result:

ok OK, guesses=3354

Test #3:

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

input:

3138
9414
488
5868
368
4232
5454
9144
4231
3048
1078
5623
8244
5781
3790
7778
2451
8940
9071
7338
8585
884
1857
9356
1798
3552
1740
167
52
5805
7912
999
1738
2490
5276
4420
70
8348
627
5451
7265
2101
5418
1718
3590
5309
2511
9789
2646
9659
5031
8237
8509
8146
7644
9004
2238
563
1913
4871
6469
9894
6...

output:

walk 484173137
walk 145756276
walk 926411074
walk 419335380
walk 157674500
walk 581223864
walk 978811222
walk 930433690
walk 924075087
walk 523938817
walk 585258030
walk 622574545
walk 839312621
walk 856827537
walk 55218009
walk 686023988
walk 568734673
walk 189456489
walk 635220131
walk 972668267
w...

result:

ok OK, guesses=6667

Test #4:

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

input:

256105257
397312008
676756968
501327924
772577938
293037605
66249294
976848049
336944010
749204599
564296112
353765283
137258224
470987048
9900654
53660570
669806907
364432090
60571423
698489326
550933087
412343188
659669358
569733851
681648801
695957425
762227148
429703279
704150609
574679135
56975...

output:

walk 256105256
walk 141206751
walk 279444960
walk 824570956
walk 271250014
walk 520459667
walk 773211689
walk 910598755
walk 360095961
walk 412260589
walk 815091513
walk 789469171
walk 783492941
walk 333728824
walk 538913606
walk 43759916
walk 616146337
walk 694625183
walk 696139333
walk 637917903
w...

result:

ok OK, guesses=6797

Test #5:

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

input:

258025067
399231818
678676778
503247734
774497748
294957415
68169104
978767859
338863820
751124409
566215922
355685093
139178034
472906858
11820464
55580380
671726717
366351900
62491233
700409136
552852897
414262998
661589168
571653661
683568611
697877235
764146958
431623089
706070419
576598945
5716...

output:

walk 256105256
walk 141206751
walk 279444960
walk 824570956
walk 271250014
walk 520459667
walk 773211689
walk 910598755
walk 360095961
walk 412260589
walk 815091513
walk 789469171
walk 783492941
walk 333728824
walk 538913606
walk 43759916
walk 616146337
walk 694625183
walk 696139333
walk 637917903
w...

result:

ok OK, guesses=6687

Test #6:

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

input:

272942313
788464240
928142160
148413372
890143850
431563909
711985862
502600497
321682594
669059847
939058648
985368915
471176472
391026320
748996582
131633714
740184363
737232754
556835695
768135526
893378223
827843100
426665190
184341451
89437601
696512049
138224020
743686207
908273617
642924719
3...

output:

walk 256105256
walk 141206751
walk 279444960
walk 824570956
walk 271250014
walk 520459667
walk 773211689
walk 910598755
walk 360095961
walk 412260589
walk 815091513
walk 789469171
walk 783492941
walk 333728824
walk 538913606
walk 43759916
walk 616146337
walk 694625183
walk 696139333
walk 637917903
w...

result:

ok OK, guesses=6672

Test #7:

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

input:

435397338
25049531
676756968
185717127
772577938
130486230
356686749
976848049
48570937
749204599
564296112
65384016
519965891
182651099
375876413
369291881
669806907
59306793
359429836
698489326
550933087
241410663
659669358
569733851
681648801
695957425
762227148
258799932
704150609
574679135
5697...

output:

walk 256105256
walk 141206751
walk 279444960
walk 824570956
walk 271250014
walk 520459667
walk 773211689
walk 910598755
walk 360095961
walk 412260589
walk 815091513
walk 789469171
walk 783492941
walk 333728824
walk 538913606
walk 43759916
walk 616146337
walk 694625183
walk 696139333
walk 637917903
w...

result:

ok OK, guesses=6797

Test #8:

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

input:

168472613
594492579
531268757
134532703
822367316
588573629
452232284
718732286
711761353
442998075
848095139
644329978
154400984
660510083
47960918
718153660
351812412
349913248
304503776
462469850
802147883
50358006
649131423
554708656
859842874
644223563
455479218
525166213
349472480
483266667
79...

output:

walk 256105256
walk 141206751
walk 279444960
walk 824570956
walk 271250014
walk 520459667
walk 773211689
walk 910598755
walk 360095961
walk 412260589
walk 815091513
walk 789469171
walk 783492941
walk 333728824
walk 538913606
walk 43759916
walk 616146337
walk 694625183
walk 696139333
walk 637917903
w...

result:

ok OK, guesses=6854

Test #9:

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

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 479059002
walk 62773654
walk 686160145
walk 752437236
walk 935915848
walk 338448508
walk 361039018
walk 871584390
walk 478180161
walk 104020911
walk 847814542
walk 945998430
walk 282095392
walk 386196205
walk 786875825
walk 988237892
walk 369456373
walk 978306329
walk 156305357
walk 10451216
wa...

result:

ok OK, guesses=3335

Test #10:

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

input:

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

output:

walk 479059002
walk 62773654
walk 686160145
walk 752437236
walk 935915848
walk 338448508
walk 361039018
walk 871584390
walk 478180161
walk 104020911
walk 847814542
walk 945998430
walk 282095392
walk 386196205
walk 786875825
walk 988237892
walk 369456373
walk 978306329
walk 156305357
walk 10451216
wa...

result:

ok OK, guesses=3344

Test #11:

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

input:

180
875
937
986
233
462
107
937
84
321
293
641
956
720
184
846
996
461
10
458
829
475
864
210
45
65
330
68
785
771
658
157
310
205
116
176
272
892
203
143
577
926
94
579
572
50
639
953
161
151
471
289
916
328
910
720
694
76
150
678
297
630
780
835
339
773
570
812
580
755
124
908
916
50
737
170
209
3...

output:

walk 479059002
walk 62773654
walk 686160145
walk 752437236
walk 935915848
walk 338448508
walk 361039018
walk 871584390
walk 478180161
walk 104020911
walk 847814542
walk 945998430
walk 282095392
walk 386196205
walk 786875825
walk 988237892
walk 369456373
walk 978306329
walk 156305357
walk 10451216
wa...

result:

ok OK, guesses=4334

Test #12:

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

input:

4176
9412
4318
1096
876
6131
2142
9326
4223
2646
4558
5511
7297
8005
32
958
1362
4624
1181
7598
4704
5556
1144
7131
5492
9309
905
2468
7537
5906
7227
2039
9467
1281
4500
8438
7377
1479
5785
1880
5427
3243
1447
6135
3521
5810
7397
8306
900
3040
4070
6317
6971
4118
2840
3102
5727
3885
4766
9028
4859
3...

output:

walk 479059002
walk 62773654
walk 686160145
walk 752437236
walk 935915848
walk 338448508
walk 361039018
walk 871584390
walk 478180161
walk 104020911
walk 847814542
walk 945998430
walk 282095392
walk 386196205
walk 786875825
walk 988237892
walk 369456373
walk 978306329
walk 156305357
walk 10451216
wa...

result:

ok OK, guesses=6667

Test #13:

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

input:

95364
27723
66775
82144
65412
15111
52676
47132
78589
20289
45173
68366
542
51302
11839
17655
59581
95404
9841
62805
84674
60484
42006
70932
99519
1193
81466
92887
18556
4089
666
2790
73208
91873
25320
89715
94111
67635
38301
42840
20282
92132
75360
68996
87714
46019
2559
57459
47425
58240
91870
679...

output:

walk 479059002
walk 62773654
walk 686160145
walk 752437236
walk 935915848
walk 338448508
walk 361039018
walk 871584390
walk 478180161
walk 104020911
walk 847814542
walk 945998430
walk 282095392
walk 386196205
walk 786875825
walk 988237892
walk 369456373
walk 978306329
walk 156305357
walk 10451216
wa...

result:

ok OK, guesses=6667

Test #14:

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

input:

373917
65819
794498
287167
501094
778064
96392
227567
888189
859928
736439
448238
387846
262491
839031
356172
916269
365733
966638
589894
92117
845884
567234
233189
583951
132891
340642
162003
558271
894173
379906
617409
240070
456077
958031
661327
415809
105116
226632
353531
635041
559823
229552
33...

output:

walk 479059002
walk 62773654
walk 686160145
walk 752437236
walk 935915848
walk 338448508
walk 361039018
walk 871584390
walk 478180161
walk 104020911
walk 847814542
walk 945998430
walk 282095392
walk 386196205
walk 786875825
walk 988237892
walk 369456373
walk 978306329
walk 156305357
walk 10451216
wa...

result:

ok OK, guesses=6667

Test #15:

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

input:

8392388
5921818
9275471
1461627
6059525
4235550
1966620
6625095
9537792
6865080
9000212
1845799
7844367
6589084
19608
3577548
6568394
3919194
6966870
7575359
8912681
2970902
5699645
1139752
8056523
8443622
9367027
9853247
6933561
9839921
3886936
8675523
9125134
9820556
7547994
9712855
8104140
636969...

output:

walk 250340048
walk 774536521
walk 66078649
walk 937088311
walk 429311128
walk 757981449
walk 513378214
walk 848001689
walk 484305086
walk 643309361
walk 573988601
walk 959933029
walk 575873819
walk 592674975
walk 418781857
walk 446204869
walk 506928136
walk 153435604
walk 885477674
walk 386194545
w...

result:

ok OK, guesses=6668

Test #16:

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

input:

78654245
47472879
35919917
45412514
15270657
87826188
40133710
70274797
54503716
15169578
16575404
65180028
15889456
89410127
27730863
1969537
73814734
53050008
77617342
99301988
580899
56471699
37846025
31207988
29958498
70733881
81729059
69068168
19408980
7126441
93532523
99109897
56671741
5126516...

output:

walk 250340048
walk 774536521
walk 66078649
walk 937088311
walk 429311128
walk 757981449
walk 513378214
walk 848001689
walk 484305086
walk 643309361
walk 573988601
walk 959933029
walk 575873819
walk 592674975
walk 418781857
walk 446204869
walk 506928136
walk 153435604
walk 885477674
walk 386194545
w...

result:

ok OK, guesses=6667

Test #17:

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

input:

626827289
159972901
817600725
698661613
806285433
613368868
587173809
989890845
686556294
821730882
506917877
865482373
97430564
296074122
484390873
748859388
792758512
245712575
821762082
168029876
962295741
143053309
291644406
197933913
148338535
814133350
55604199
65499752
642249300
954103882
128...

output:

walk 250340048
walk 774536521
walk 66078649
walk 937088311
walk 429311128
walk 757981449
walk 513378214
walk 848001689
walk 484305086
walk 643309361
walk 573988601
walk 959933029
walk 575873819
walk 592674975
walk 418781857
walk 446204869
walk 506928136
walk 153435604
walk 885477674
walk 386194545
w...

result:

ok OK, guesses=6710

Test #18:

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

input:

453354387
329304456
298373843
683538069
384928490
750403422
794204462
308430931
766287239
70744678
76200205
86519385
633179567
290377856
681790673
536218688
914973071
468490058
533058838
97101755
705967702
749399996
846596136
131962669
128517999
875827794
831705024
599860566
367364209
705226014
7131...

output:

walk 250340048
walk 774536521
walk 66078649
walk 937088311
walk 429311128
walk 757981449
walk 513378214
walk 848001689
walk 484305086
walk 643309361
walk 573988601
walk 959933029
walk 575873819
walk 592674975
walk 418781857
walk 446204869
walk 506928136
walk 153435604
walk 885477674
walk 386194545
w...

result:

ok OK, guesses=6759

Test #19:

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

input:

132461069
115352795
15340449
135390038
53988536
142294493
74106420
245600297
227840495
126772986
184206245
29496999
260058660
129638846
154970725
189224583
109793971
113273204
227568270
176203043
219201989
52179720
83278592
209081334
130113832
235586492
86524639
59983843
63097876
43020075
172019018
...

output:

walk 540694897
walk 975131916
walk 91665975
walk 919134975
walk 979792495
walk 394599065
walk 814484591
walk 794382337
walk 465967557
walk 435476672
walk 247083386
walk 333954214
walk 419291449
walk 124944220
walk 170577050
walk 467949366
walk 373785122
walk 799760543
walk 519576047
walk 663826747
w...

result:

ok OK, guesses=6683

Test #20:

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

input:

230492723
260606802
294753158
289058697
149787609
25264692
86062709
34411389
229300242
320159624
334782692
310813110
158724457
147113417
243212021
268335554
273229650
155270580
116434745
145192199
386233280
59848109
75825833
357363711
345789186
284238712
220590876
343870896
168426306
295270129
37785...

output:

walk 540694897
walk 975131916
walk 91665975
walk 919134975
walk 979792495
walk 394599065
walk 814484591
walk 794382337
walk 465967557
walk 435476672
walk 247083386
walk 333954214
walk 419291449
walk 124944220
walk 170577050
walk 467949366
walk 373785122
walk 799760543
walk 519576047
walk 663826747
w...

result:

ok OK, guesses=6733

Test #21:

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

input:

121913758
125477438
60729342
80098747
135357115
96977543
96404195
62557798
74140653
22997182
114619849
10877139
101409717
93007177
104983985
83671197
134415791
15357541
10930436
12433050
143592349
105613409
110325886
36356592
134944321
43434670
75039787
77401226
33642080
139966383
68458648
140223723...

output:

walk 540694897
walk 975131916
walk 91665975
walk 919134975
walk 979792495
walk 394599065
walk 814484591
walk 794382337
walk 465967557
walk 435476672
walk 247083386
walk 333954214
walk 419291449
walk 124944220
walk 170577050
walk 467949366
walk 373785122
walk 799760543
walk 519576047
walk 663826747
w...

result:

ok OK, guesses=6683

Test #22:

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

input:

190064670
90640575
54500180
213637911
323665083
272259600
54923514
172439822
21934538
123458183
121425947
191274522
47473793
303110548
289287788
162237163
311071047
87477689
258883979
114609276
144627069
130064223
30470592
321493186
113882539
319711014
322241321
85006894
175148742
15188189
102170893...

output:

walk 540694897
walk 975131916
walk 91665975
walk 919134975
walk 979792495
walk 394599065
walk 814484591
walk 794382337
walk 465967557
walk 435476672
walk 247083386
walk 333954214
walk 419291449
walk 124944220
walk 170577050
walk 467949366
walk 373785122
walk 799760543
walk 519576047
walk 663826747
w...

result:

ok OK, guesses=6695

Test #23:

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

input:

823914257
511645494
913632152
32129640
288658464
772548804
934207308
966920794
905120212
638259940
796927732
672946968
331879412
629428656
235589165
395422129
652116710
750697039
915223322
608949349
269957941
502419253
864247060
811998157
409658906
841010718
213611138
124543404
17734260
946551854
79...

output:

walk 540694897
walk 975131916
walk 91665975
walk 919134975
walk 979792495
walk 394599065
walk 814484591
walk 794382337
walk 465967557
walk 435476672
walk 247083386
walk 333954214
walk 419291449
walk 124944220
walk 170577050
walk 467949366
walk 373785122
walk 799760543
walk 519576047
walk 663826747
w...

result:

ok OK, guesses=6728

Test #24:

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

input:

295343467
82806023
675263714
215483210
360868839
412396476
286039965
410557115
44710660
529626142
527742880
242884670
276159631
836174180
239722359
203502272
97519807
85845165
299548321
6600822
399192045
711617870
218518205
844229767
700112810
587563525
848742631
782551503
432489446
846276165
651716...

output:

walk 71436720
walk 75314468
walk 25581600
walk 960177930
walk 480737483
walk 678509168
walk 391227514
walk 724808091
walk 431508753
walk 957537980
walk 695526078
walk 980806809
walk 918672827
walk 310631762
walk 411423308
walk 526758739
walk 444399494
walk 632166055
walk 176731607
walk 331913190
wal...

result:

ok OK, guesses=6820

Test #25:

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

input:

702683713
3767694
615065991
27912786
336572127
747707696
42512251
411475886
564519842
155364148
342583629
381614389
734865998
578654865
284049025
175384599
70344468
148425964
224651528
320810934
184101309
639802391
167760608
491686338
82071275
734237772
583701543
280520895
315273968
429735416
239541...

output:

walk 71436720
walk 75314468
walk 25581600
walk 960177930
walk 480737483
walk 678509168
walk 391227514
walk 724808091
walk 431508753
walk 957537980
walk 695526078
walk 980806809
walk 918672827
walk 310631762
walk 411423308
walk 526758739
walk 444399494
walk 632166055
walk 176731607
walk 331913190
wal...

result:

ok OK, guesses=6727

Test #26:

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

input:

109349463
34754362
86734853
93870899
95753870
59714011
55965259
45515779
64557328
77455542
62978674
89370805
112492880
27839963
38027503
106674074
97843004
78108450
98212273
82883513
102303546
55161144
84009413
85500092
27610684
110458681
22102048
66253767
49168869
33808331
123683569
123165329
36918...

output:

walk 71436720
walk 75314468
walk 25581600
walk 960177930
walk 480737483
walk 678509168
walk 391227514
walk 724808091
walk 431508753
walk 957537980
walk 695526078
walk 980806809
walk 918672827
walk 310631762
walk 411423308
walk 526758739
walk 444399494
walk 632166055
walk 176731607
walk 331913190
wal...

result:

ok OK, guesses=6686

Test #27:

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

input:

216195525
677494298
276111493
847186408
541628416
691453344
457698108
868009884
193951167
536287042
643338765
590045584
494112511
486004978
724175346
944305910
211841849
576485194
271634721
365767431
444254053
896992203
848038111
143958273
214528765
534207609
435914249
290813888
754882136
543518755
...

output:

walk 71436720
walk 75314468
walk 25581600
walk 960177930
walk 480737483
walk 678509168
walk 391227514
walk 724808091
walk 431508753
walk 957537980
walk 695526078
walk 980806809
walk 918672827
walk 310631762
walk 411423308
walk 526758739
walk 444399494
walk 632166055
walk 176731607
walk 331913190
wal...

result:

ok OK, guesses=6680

Test #28:

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

input:

316131442
193733097
329160749
114365337
750819650
314920116
298245125
477937946
797757486
581338055
483736098
11258497
690497887
56953902
443059043
446314534
246534079
301622063
326962393
490124521
358888969
734752211
72348549
817439092
99457805
361420478
50475369
682186847
573810512
526441291
72500...

output:

walk 452399783
walk 18344627
walk 856308972
walk 263761208
walk 257254529
walk 165908512
walk 919278523
walk 303177279
walk 725274242
walk 594133659
walk 859104831
walk 249037931
walk 764955210
walk 274775887
walk 538861843
walk 307462229
walk 936255838
walk 140354200
walk 843139430
walk 644662788
w...

result:

ok OK, guesses=6803

Test #29:

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

input:

98741807
33427467
3633859
262089748
928054335
155859661
638679756
37538490
797798568
349557183
638979357
665296186
871629395
332925767
201095172
55455154
300307753
287746177
805311233
695289085
318081159
847156535
609880670
741825625
913928680
612804670
948912479
334453135
930038243
128030447
671236...

output:

walk 452399783
walk 18344627
walk 856308972
walk 263761208
walk 257254529
walk 165908512
walk 919278523
walk 303177279
walk 725274242
walk 594133659
walk 859104831
walk 249037931
walk 764955210
walk 274775887
walk 538861843
walk 307462229
walk 936255838
walk 140354200
walk 843139430
walk 644662788
w...

result:

ok OK, guesses=6750

Test #30:

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

input:

110238984
122235417
369680137
138721807
626929235
146395893
21109166
196049245
606739696
334057109
635298957
623601881
646317600
184492931
94581617
77575967
383456507
376508872
252229534
611759123
417581533
324266187
328280293
577965599
692673547
175046695
695406647
274909359
640572055
383295234
155...

output:

walk 452399783
walk 18344627
walk 856308972
walk 263761208
walk 257254529
walk 165908512
walk 919278523
walk 303177279
walk 725274242
walk 594133659
walk 859104831
walk 249037931
walk 764955210
walk 274775887
walk 538861843
walk 307462229
walk 936255838
walk 140354200
walk 843139430
walk 644662788
w...

result:

ok OK, guesses=6725

Test #31:

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

input:

738370749
756715376
753785654
158308168
415562697
581471209
641511038
85449623
810723865
545618830
545484967
794522898
700239414
115776607
654638450
102861985
179879129
320233329
304134065
89558159
28803371
753543146
410251819
539907819
557243187
201772758
561193007
495349220
280082089
752712590
508...

output:

walk 452399783
walk 18344627
walk 856308972
walk 263761208
walk 257254529
walk 165908512
walk 919278523
walk 303177279
walk 725274242
walk 594133659
walk 859104831
walk 249037931
walk 764955210
walk 274775887
walk 538861843
walk 307462229
walk 936255838
walk 140354200
walk 843139430
walk 644662788
w...

result:

ok OK, guesses=6667

Test #32:

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

input:

14611067
466976486
961826080
284022558
947222829
550439710
242151673
440198331
583323527
934591266
674854752
726948685
154176715
553053729
306294178
822046835
554745589
796976034
192222332
219464700
768290174
876326758
330876301
185259354
786039009
969690311
211344864
689015621
385234852
891352826
7...

output:

walk 66637648
walk 697543440
walk 371024852
walk 873508130
walk 750476589
walk 552292534
walk 960503199
walk 38802563
walk 162810923
walk 159232906
walk 783328599
walk 480344275
walk 269655807
walk 522470837
walk 424231255
walk 979393933
walk 863456111
walk 24620321
walk 439193126
walk 809229817
wal...

result:

ok OK, guesses=6668

Test #33:

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

input:

66637649
764181089
186847616
111997421
862474010
466408219
478553093
517355656
680166579
839399485
674369759
206355709
476011516
50124028
474355283
505390891
420488677
445108998
884302124
745173616
786291378
825911075
843747870
819550125
439393102
464918184
724006279
833973228
885950774
180873028
78...

output:

walk 66637648
walk 697543440
walk 371024852
walk 873508130
walk 750476589
walk 552292534
walk 960503199
walk 38802563
walk 162810923
walk 159232906
walk 783328599
walk 480344275
walk 269655807
walk 522470837
walk 424231255
walk 979393933
walk 863456111
walk 24620321
walk 439193126
walk 809229817
wal...

result:

ok OK, guesses=6694

Test #34:

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

input:

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

output:

walk 66637648
walk 697543440
walk 371024852
walk 873508130
walk 750476589
walk 552292534
walk 960503199
walk 38802563
walk 162810923
walk 159232906
walk 783328599
walk 480344275
walk 269655807
walk 522470837
walk 424231255
walk 979393933
walk 863456111
walk 24620321
walk 439193126
walk 809229817
wal...

result:

ok OK, guesses=3336

Test #35:

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

input:

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

output:

walk 66637648
walk 697543440
walk 371024852
walk 873508130
walk 750476589
walk 552292534
walk 960503199
walk 38802563
walk 162810923
walk 159232906
walk 783328599
walk 480344275
walk 269655807
walk 522470837
walk 424231255
walk 979393933
walk 863456111
walk 24620321
walk 439193126
walk 809229817
wal...

result:

ok OK, guesses=3337

Test #36:

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

input:

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

output:

walk 66637648
walk 697543440
walk 371024852
walk 873508130
walk 750476589
walk 552292534
walk 960503199
walk 38802563
walk 162810923
walk 159232906
walk 783328599
walk 480344275
walk 269655807
walk 522470837
walk 424231255
walk 979393933
walk 863456111
walk 24620321
walk 439193126
walk 809229817
wal...

result:

ok OK, guesses=3338

Test #37:

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

input:

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

output:

walk 66637648
walk 697543440
walk 371024852
walk 873508130
walk 750476589
walk 552292534
walk 960503199
walk 38802563
walk 162810923
walk 159232906
walk 783328599
walk 480344275
walk 269655807
walk 522470837
walk 424231255
walk 979393933
walk 863456111
walk 24620321
walk 439193126
walk 809229817
wal...

result:

ok OK, guesses=3339

Test #38:

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

input:

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

output:

walk 66637648
walk 697543440
walk 371024852
walk 873508130
walk 750476589
walk 552292534
walk 960503199
walk 38802563
walk 162810923
walk 159232906
walk 783328599
walk 480344275
walk 269655807
walk 522470837
walk 424231255
walk 979393933
walk 863456111
walk 24620321
walk 439193126
walk 809229817
wal...

result:

ok OK, guesses=3340

Test #39:

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

input:

2122
696
161
396
1288
1198
2568
911
2648
776
783
1866
2172
752
885
192
2991
1694
425
571
2553
1679
1948
279
258
1807
2198
2412
528
2371
772
1636
2374
1831
274
1048
1277
2465
1022
2582
1160
1894
1241
2884
275
534
1942
1080
15
2119
75
1784
1302
1561
1491
1803
2183
3000
566
905
1921
501
792
44
1228
66
...

output:

walk 363134649
walk 654712021
walk 807026068
walk 747212347
walk 525915940
walk 645363985
walk 398067168
walk 414410211
walk 10348331
walk 721861283
walk 234511732
walk 630548024
walk 124593511
walk 319981683
walk 523573549
walk 78140784
walk 80511741
walk 987793037
walk 575771001
walk 200263898
wal...

result:

ok OK, guesses=6334

Test #40:

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

input:

569
175
1333
1266
155
874
384
842
191
1568
1649
738
1037
1426
1741
1367
656
324
789
1615
1350
831
147
1641
1568
534
935
399
1121
910
517
232
39
727
780
1617
656
1473
993
1781
79
765
1535
1983
847
726
1968
450
1944
1963
65
1331
548
557
246
469
929
495
1929
741
98
1059
1812
1325
695
502
277
827
787
45...

output:

walk 363134649
walk 654712021
walk 807026068
walk 747212347
walk 525915940
walk 645363985
walk 398067168
walk 414410211
walk 10348331
walk 721861283
walk 234511732
walk 630548024
walk 124593511
walk 319981683
walk 523573549
walk 78140784
walk 80511741
walk 987793037
walk 575771001
walk 200263898
wal...

result:

ok OK, guesses=5334

Test #41:

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

input:

3918
3095
2156
873
1959
3532
131
1790
1417
3431
487
3738
164
3624
3910
289
3168
1120
1518
3837
1410
2308
3899
2587
3431
2144
2773
3560
3543
2465
2045
66
1138
2765
2699
3002
1910
354
3873
1816
2
1132
3662
1117
2470
54
939
2988
653
1139
660
2960
1453
3843
1128
2254
1971
684
1230
3598
17
2016
1051
630
...

output:

walk 363134649
walk 654712021
walk 807026068
walk 747212347
walk 525915940
walk 645363985
walk 398067168
walk 414410211
walk 10348331
walk 721861283
walk 234511732
walk 630548024
walk 124593511
walk 319981683
walk 523573549
walk 78140784
walk 80511741
walk 987793037
walk 575771001
walk 200263898
wal...

result:

ok OK, guesses=6667

Test #42:

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

input:

2574
3636
3721
634
3310
4017
4919
3240
2749
87
1554
1581
5393
2957
1016
2973
2178
5634
2229
4049
1501
3630
3747
4311
5170
4509
3539
5886
2109
1437
5878
4977
5234
5448
5809
5982
283
5616
5933
3213
2710
3941
6590
4933
4339
3359
1808
2534
155
2471
567
3704
2650
3655
1756
6661
4819
6614
5764
5966
4805
2...

output:

walk 363134649
walk 654712021
walk 807026068
walk 747212347
walk 525915940
walk 645363985
walk 398067168
walk 414410211
walk 10348331
walk 721861283
walk 234511732
walk 630548024
walk 124593511
walk 319981683
walk 523573549
walk 78140784
walk 80511741
walk 987793037
walk 575771001
walk 200263898
wal...

result:

ok OK, guesses=6667

Test #43:

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

input:

1544
2089
6523
4731
3586
306
2091
6267
3088
2006
5282
5316
2002
6509
6630
3770
1676
4668
6411
581
5310
915
2185
5841
3934
90
4105
3666
5291
1271
2349
1726
6131
2932
2357
354
5934
3752
990
1975
1482
3714
4523
1938
5010
2245
3387
4367
6338
597
2875
6132
642
2726
4016
675
3086
4480
3420
2207
4183
4318
...

output:

walk 363134649
walk 654712021
walk 807026068
walk 747212347
walk 525915940
walk 645363985
walk 398067168
walk 414410211
walk 10348331
walk 721861283
walk 234511732
walk 630548024
walk 124593511
walk 319981683
walk 523573549
walk 78140784
walk 80511741
walk 987793037
walk 575771001
walk 200263898
wal...

result:

ok OK, guesses=6667

Test #44:

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

input:

8383507
6547745
8630794
6774391
7610583
3594716
7642166
2396571
6723658
5902604
4728585
950760
3889652
3319317
3650953
824106
4221806
5421743
5074281
431209
4040703
6317605
3228980
3857605
3706723
6074224
2916969
3168819
8176726
8901239
4851409
429064
3713888
7827227
6005612
4021946
5913564
2613398
...

output:

walk 455569021
walk 694009047
walk 902590208
walk 617185569
walk 560594359
walk 904227155
walk 46888769
walk 214337466
walk 761305163
walk 865379165
walk 269307507
walk 112743322
walk 87070079
walk 80693448
walk 497430206
walk 77928824
walk 858877078
walk 426969716
walk 925037228
walk 737571994
walk...

result:

ok OK, guesses=6667

Test #45:

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

input:

7218620
1900015
7559993
9792907
6152584
7938162
1904677
7613383
10040976
4266902
991774
8416152
234867
9877889
547388
10538499
9437298
10748904
10115663
8114829
3337811
9151694
4209097
223582
5195101
6082310
3280842
5517652
2582830
1029658
1019272
4270796
3211305
1883111
6953419
1369137
9625072
2181...

output:

walk 455569021
walk 694009047
walk 902590208
walk 617185569
walk 560594359
walk 904227155
walk 46888769
walk 214337466
walk 761305163
walk 865379165
walk 269307507
walk 112743322
walk 87070079
walk 80693448
walk 497430206
walk 77928824
walk 858877078
walk 426969716
walk 925037228
walk 737571994
walk...

result:

ok OK, guesses=6668

Test #46:

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

input:

3723277
14096750
7913964
16227896
9720265
3207029
4005877
2973373
11962419
15392116
15795391
17593800
2061762
14216271
15174842
4297322
13674847
600191
11036986
2796794
11488038
10632588
11158270
9219355
3082515
12771932
14930232
9707917
4334853
15454244
15214549
927477
15514091
6068611
7840046
6403...

output:

walk 455569021
walk 694009047
walk 902590208
walk 617185569
walk 560594359
walk 904227155
walk 46888769
walk 214337466
walk 761305163
walk 865379165
walk 269307507
walk 112743322
walk 87070079
walk 80693448
walk 497430206
walk 77928824
walk 858877078
walk 426969716
walk 925037228
walk 737571994
walk...

result:

ok OK, guesses=6667

Test #47:

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

input:

502653
766274
568828
127775
538944
43701
394014
382959
660836
51618
434440
133378
548967
509375
47297
634147
588458
485443
242109
117926
742705
594584
230709
474884
307132
373530
501996
521060
346578
800516
257623
579334
20895
424046
215169
793388
305069
116741
661463
14107
830180
453322
180130
7298...

output:

walk 455569021
walk 694009047
walk 902590208
walk 617185569
walk 560594359
walk 904227155
walk 46888769
walk 214337466
walk 761305163
walk 865379165
walk 269307507
walk 112743322
walk 87070079
walk 80693448
walk 497430206
walk 77928824
walk 858877078
walk 426969716
walk 925037228
walk 737571994
walk...

result:

ok OK, guesses=6667

Test #48:

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

input:

7993591
1169055
35751644
19664546
47326238
41475588
21051055
58517842
43481658
32692476
57061777
18199699
52501132
29225146
6885323
5182912
45691106
8732046
26277408
17097014
50240223
3528053
22270987
48300417
43472612
47227816
8515089
35094973
38935581
35062327
50923533
13255552
16659015
29904214
4...

output:

walk 931035418
walk 980298981
walk 540235519
walk 5862705
walk 665765155
walk 230774817
walk 641002638
walk 82525427
walk 581569686
walk 44347686
walk 74410177
walk 843971065
walk 479084848
walk 938118782
walk 323985452
walk 61709373
walk 716249968
walk 738734585
walk 347167147
walk 406111158
walk 5...

result:

ok OK, guesses=6669

Test #49:

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

input:

77263219
50842417
108469427
165787009
171425182
230780962
11101032
36044567
232084556
10033729
122316212
40629153
14406013
214139817
104014380
113639196
203219951
149685724
94835816
27679663
238305379
140794222
86639649
23292882
161084064
67356066
10936133
65105944
73946489
12152599
131184417
598212...

output:

walk 931035418
walk 980298981
walk 540235519
walk 5862705
walk 665765155
walk 230774817
walk 641002638
walk 82525427
walk 581569686
walk 44347686
walk 74410177
walk 843971065
walk 479084848
walk 938118782
walk 323985452
walk 61709373
walk 716249968
walk 738734585
walk 347167147
walk 406111158
walk 5...

result:

ok OK, guesses=6687

Test #50:

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

input:

371093334
369435680
38011475
25003552
289931569
143275968
209008348
217017303
437624529
48526127
389044493
232433269
258037969
395895148
359086504
247941616
250835564
345024813
350330823
423069966
403820366
342661593
363667879
156767346
440433370
63658912
425386249
347724984
82367060
168216405
22841...

output:

walk 931035418
walk 980298981
walk 540235519
walk 5862705
walk 665765155
walk 230774817
walk 641002638
walk 82525427
walk 581569686
walk 44347686
walk 74410177
walk 843971065
walk 479084848
walk 938118782
walk 323985452
walk 61709373
walk 716249968
walk 738734585
walk 347167147
walk 406111158
walk 5...

result:

ok OK, guesses=6673

Test #51:

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

input:

7457184
64177930
604413449
610276154
352463074
583237891
300662294
383187721
41179172
85526858
159937035
80329865
559414713
573955260
897940712
36071850
752321818
567478168
914645315
397178238
922610690
546279680
845177083
109953543
587026288
330191071
662281396
566462135
68031805
505208859
68499270...

output:

walk 931035418
walk 980298981
walk 540235519
walk 5862705
walk 665765155
walk 230774817
walk 641002638
walk 82525427
walk 581569686
walk 44347686
walk 74410177
walk 843971065
walk 479084848
walk 938118782
walk 323985452
walk 61709373
walk 716249968
walk 738734585
walk 347167147
walk 406111158
walk 5...

result:

ok OK, guesses=6704

Test #52:

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

input:

74044671
88052187
48512827
54375532
140365808
177882332
45851798
128377225
130172032
174519718
55671602
126609495
25919464
191005074
128473940
190183313
133400109
99101522
59752083
79346655
25004228
185734867
98115684
93212086
183768245
77478091
23051830
77777632
116408951
167069419
153594975
159320...

output:

walk 931035418
walk 980298981
walk 540235519
walk 5862705
walk 665765155
walk 230774817
walk 641002638
walk 82525427
walk 581569686
walk 44347686
walk 74410177
walk 843971065
walk 479084848
walk 938118782
walk 323985452
walk 61709373
walk 716249968
walk 738734585
walk 347167147
walk 406111158
walk 5...

result:

ok OK, guesses=6683

Test #53:

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

input:

183971536
192894262
12842854
193362995
24913717
238351950
117212688
150893451
216041061
66869485
220225874
177740613
73050751
34855004
13142988
40465272
118767725
191263016
196784383
224339990
226549392
154113183
85474164
36937197
54169219
73839972
143322101
179853439
152096015
136862343
135316241
2...

output:

walk 638753344
walk 854266378
walk 61890234
walk 603349068
walk 669541498
walk 813494651
walk 964295030
walk 474885107
walk 55217520
walk 251945408
walk 712986372
walk 615328414
walk 905552161
walk 944271803
walk 546405405
walk 272753756
walk 71207800
walk 390158322
walk 528941933
walk 779660497
wal...

result:

ok OK, guesses=6694