QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#742864#5309. Guess Cycle LengthidAC ✓20ms4100kbC++14619b2024-11-13 17:31:172024-11-13 17:31:22

詳細信息

Test #1:

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

input:

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

output:

walk 450413693
walk 496186720
walk 591078050
walk 972118608
walk 207775989
walk 159854341
walk 786917410
walk 84243005
walk 915804627
walk 49258969
walk 399268168
walk 635394231
walk 246663402
walk 755104177
walk 850635003
walk 85979131
walk 193546211
walk 255293243
walk 324901644
walk 662991512
wal...

result:

ok OK, guesses=2001

Test #2:

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

input:

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

output:

walk 450413693
walk 496186720
walk 591078050
walk 972118608
walk 207775989
walk 159854341
walk 786917410
walk 84243005
walk 915804627
walk 49258969
walk 399268168
walk 635394231
walk 246663402
walk 755104177
walk 850635003
walk 85979131
walk 193546211
walk 255293243
walk 324901644
walk 662991512
wal...

result:

ok OK, guesses=2001

Test #3:

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

input:

3694
414
8464
7072
3061
7402
4812
7817
2444
1413
9581
3812
7214
1391
6394
5525
1736
4979
6623
8135
7388
9336
778
8585
9058
9734
4140
9873
1004
4249
2017
3756
6277
9582
6739
8119
5489
8234
8224
4718
3840
4734
1762
1141
4753
1532
7356
2709
2599
7875
89
3524
7219
5325
4678
4794
6882
4066
7662
2621
8342...

output:

walk 450413693
walk 496186720
walk 591078050
walk 972118608
walk 207775989
walk 159854341
walk 786917410
walk 84243005
walk 915804627
walk 49258969
walk 399268168
walk 635394231
walk 246663402
walk 755104177
walk 850635003
walk 85979131
walk 193546211
walk 255293243
walk 324901644
walk 662991512
wal...

result:

ok OK, guesses=2001

Test #4:

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

input:

450413694
946600414
537678464
509797072
717573061
877427402
664344812
748587817
664392444
713651413
112919581
748313812
994977214
750081391
600716394
686695525
880241736
135534979
460436623
123428135
228897388
776639336
717530778
203688585
195329058
372079734
995974140
273819873
755701004
413104249
...

output:

walk 450413693
walk 496186720
walk 591078050
walk 972118608
walk 207775989
walk 159854341
walk 786917410
walk 84243005
walk 915804627
walk 49258969
walk 399268168
walk 635394231
walk 246663402
walk 755104177
walk 850635003
walk 85979131
walk 193546211
walk 255293243
walk 324901644
walk 662991512
wal...

result:

ok OK, guesses=2875

Test #5:

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

input:

452333504
948520224
539598274
511716882
719492871
879347212
666264622
750507627
666312254
715571223
114839391
750233622
996897024
752001201
602636204
688615335
882161546
137454789
462356433
125347945
230817198
778559146
719450588
205608395
197248868
373999544
997893950
275739683
757620814
415024059
...

output:

walk 450413693
walk 496186720
walk 591078050
walk 972118608
walk 207775989
walk 159854341
walk 786917410
walk 84243005
walk 915804627
walk 49258969
walk 399268168
walk 635394231
walk 246663402
walk 755104177
walk 850635003
walk 85979131
walk 193546211
walk 255293243
walk 324901644
walk 662991512
wal...

result:

ok OK, guesses=2039

Test #6:

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

input:

607884662
922374102
208038952
882648568
62051621
931626978
167578548
975475433
470873412
540223925
412425661
543091548
778667702
200436031
689362562
400855749
684882096
786797107
873376095
344497719
851336500
922457296
479476530
300247369
905332090
711853742
313025604
927461345
367608532
467347897
8...

output:

walk 450413693
walk 496186720
walk 591078050
walk 972118608
walk 207775989
walk 159854341
walk 786917410
walk 84243005
walk 915804627
walk 49258969
walk 399268168
walk 635394231
walk 246663402
walk 755104177
walk 850635003
walk 85979131
walk 193546211
walk 255293243
walk 324901644
walk 662991512
wal...

result:

ok OK, guesses=2351

Test #7:

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

input:

204008749
946600414
154938163
143825699
717573061
877427402
664344812
748587817
664392444
713651413
277523918
748313812
994977214
750081391
600716394
686695525
880241736
518283312
230817116
296424660
458558271
776639336
717530778
450081594
492058065
14497093
995974140
111300882
755701004
240075082
7...

output:

walk 450413693
walk 496186720
walk 591078050
walk 972118608
walk 207775989
walk 159854341
walk 786917410
walk 84243005
walk 915804627
walk 49258969
walk 399268168
walk 635394231
walk 246663402
walk 755104177
walk 850635003
walk 85979131
walk 193546211
walk 255293243
walk 324901644
walk 662991512
wal...

result:

ok OK, guesses=2875

Test #8:

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

input:

103109925
688481537
89062724
813085111
64677452
236861137
760019083
92698946
208810148
977354888
872652868
18846411
675852828
923895753
196621785
423356477
120580729
339497069
718414750
737948386
25792276
841956321
447012555
721113668
704309112
267451099
297086339
779195667
881424756
27181058
775910...

output:

walk 450413693
walk 496186720
walk 591078050
walk 972118608
walk 207775989
walk 159854341
walk 786917410
walk 84243005
walk 915804627
walk 49258969
walk 399268168
walk 635394231
walk 246663402
walk 755104177
walk 850635003
walk 85979131
walk 193546211
walk 255293243
walk 324901644
walk 662991512
wal...

result:

ok OK, guesses=3275

Test #9:

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

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 450413693
walk 496186720
walk 591078050
walk 972118608
walk 207775989
walk 159854341
walk 786917410
walk 84243005
walk 915804627
walk 49258969
walk 399268168
walk 635394231
walk 246663402
walk 755104177
walk 850635003
walk 85979131
walk 193546211
walk 255293243
walk 324901644
walk 662991512
wal...

result:

ok OK, guesses=2001

Test #10:

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

input:

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

output:

walk 450413693
walk 496186720
walk 591078050
walk 972118608
walk 207775989
walk 159854341
walk 786917410
walk 84243005
walk 915804627
walk 49258969
walk 399268168
walk 635394231
walk 246663402
walk 755104177
walk 850635003
walk 85979131
walk 193546211
walk 255293243
walk 324901644
walk 662991512
wal...

result:

ok OK, guesses=2001

Test #11:

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

input:

815
512
246
903
520
865
500
749
366
569
83
500
136
995
462
267
445
86
305
726
116
665
856
80
616
623
113
213
902
781
508
777
867
383
589
290
22
108
613
446
588
623
667
468
553
550
285
163
692
754
789
536
10
893
6
151
208
2
45
780
337
778
897
555
399
713
872
758
929
838
843
267
797
855
679
115
126
12...

output:

walk 450413693
walk 496186720
walk 591078050
walk 972118608
walk 207775989
walk 159854341
walk 786917410
walk 84243005
walk 915804627
walk 49258969
walk 399268168
walk 635394231
walk 246663402
walk 755104177
walk 850635003
walk 85979131
walk 193546211
walk 255293243
walk 324901644
walk 662991512
wal...

result:

ok OK, guesses=2001

Test #12:

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

input:

3136
653
5986
2162
5057
2708
646
7104
9978
8933
615
1533
3879
9159
9243
9865
3638
8537
9111
5633
65
4035
5467
8703
593
8754
4525
9548
6577
4928
1723
1787
8352
9411
4897
6469
7859
8291
4059
9002
2929
4726
6170
6246
4272
6689
2649
8159
7254
7534
1408
5673
2971
1563
7055
5517
3918
7983
7581
6784
6994
4...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=2001

Test #13:

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

input:

50243
76835
49979
65126
64300
37748
6447
88254
76286
53964
84203
406
94915
46877
78340
8020
63950
67461
84131
35059
67728
66841
89903
54837
69478
55853
4367
44307
56950
78510
24900
45159
48430
23119
86926
47171
95571
6437
65417
28763
12904
40906
3236
29561
92312
91285
25435
12040
75519
80007
25892
8...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=2001

Test #14:

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

input:

304187
462757
147861
95660
729745
83991
980562
28723
612705
198986
306927
797058
846975
471158
884211
851263
807875
750229
22209
654166
309667
911292
213160
180168
797332
230108
385069
787775
192231
128283
348764
635903
545763
37177
794343
836478
816143
197183
720473
456254
865858
149146
176226
7855...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=2001

Test #15:

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

input:

1663570
3185921
2840958
3593699
9617480
8432429
9216799
5748480
1062579
6276247
9361235
6110620
9448248
5682555
5996944
3497215
1570279
2753418
9646572
5755822
1124180
7411216
7168098
4648557
9045950
2401168
9340561
2270573
2722193
8558283
1885879
1613311
3355753
9424836
5812274
4290595
8437348
8993...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=2001

Test #16:

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

input:

75158459
65114187
13890540
71730320
94475386
91264663
10110677
27528744
56704840
87456431
37939180
1722025
17424571
2789416
23649196
24120160
7645818
87767233
47628063
95012836
37730913
71726839
82162779
45385320
22852952
35645033
39008694
22688060
13071795
83002032
48474579
73990277
35838296
503675...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=2055

Test #17:

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

input:

747350413
486834977
152629130
307104651
965142977
126957421
896018220
413378982
618921644
983544439
494279850
218293955
90270315
232866072
224007598
68027156
432820219
243364135
633644143
200930913
677964160
25317196
426100427
541846014
427516130
446453739
380768230
609438225
489956688
140224318
524...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=2628

Test #18:

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

input:

719386428
826739549
345893363
481393186
907025899
264721100
37643212
214317376
227741699
492818824
95462087
583867369
320079642
759498935
257043608
130890087
465734717
438007464
155923676
335803641
569044566
745212481
921909440
745360331
902183703
63635356
470103898
684419062
66995977
401039964
3423...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=3671

Test #19:

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

input:

96344351
14194433
154538357
94616260
204842877
137417796
194570098
194040789
221596198
178678880
53467847
7012034
157855952
260574248
175262819
99767924
130435646
97004878
164944428
201902057
124389307
60313055
70810316
66706551
208806087
147579110
137300100
122611753
226658439
63644579
162578790
19...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=2161

Test #20:

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

input:

392133436
76384420
169851414
320621916
122850155
397655253
55144822
201295810
240809853
229637643
237681623
190931119
104972335
316045377
116937099
97409436
156824972
295293961
189859760
268233130
126725136
274762386
349023603
379310624
145247330
268951485
109044536
177748357
101652129
110102612
182...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=2686

Test #21:

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

input:

67672239
141070149
31154394
102545210
50910462
96088438
148346498
103942123
11568745
68939651
138368450
28846371
111171594
54463505
22898620
72924360
95661656
71912829
73354142
96731488
13199033
149551519
107157459
140336579
48490330
2372199
104179098
8081186
8843417
75112825
13224233
93392753
14114...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=2014

Test #22:

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

input:

202725095
292476370
256917447
265825512
122085918
231553158
292239199
206184974
283145803
235183122
88542310
52949673
7952336
255249659
88316670
294117239
142073579
7559563
155624301
71157344
301421035
15815434
298356028
192342134
248598040
129526896
4032443
44183675
29403352
323431438
206392790
754...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=2001

Test #23:

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

input:

779523124
544785573
548404291
505230283
40807269
313681541
179731013
303464115
197279801
27176107
459080719
50483277
714638302
845743019
271310164
918750719
682627608
725339199
672626929
452786740
518493708
281036292
458522410
884893463
121737330
494575315
644433204
744321996
459856491
318393267
562...

output:

walk 160607231
walk 656999487
walk 395046562
walk 223978863
walk 558855352
walk 254747926
walk 613529740
walk 621224015
walk 311653400
walk 893947701
walk 571426069
walk 139075399
walk 692151315
walk 640831298
walk 877869827
walk 541102342
walk 754435926
walk 230562703
walk 341841917
walk 547554144
...

result:

ok OK, guesses=3026

Test #24:

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

input:

250195012
86956919
210842037
739182429
849789823
687262260
739110210
740333401
440150767
913596607
501140167
696663216
644532877
906009571
540339568
435238949
586975790
950440431
474098905
921254261
949409143
758230481
713237563
187482785
787147443
318982070
780209097
450583959
706302741
533860204
7...

output:

walk 547885581
walk 932568480
walk 160945872
walk 670686731
walk 548680908
walk 658915999
walk 418592116
walk 816346862
walk 957669577
walk 174577492
walk 681931637
walk 472785903
walk 662362861
walk 408534205
walk 328382147
walk 869501511
walk 843340603
walk 9151964
walk 711567468
walk 454107859
wa...

result:

ok OK, guesses=2454

Test #25:

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

input:

406204267
641076786
550250926
134686595
254789767
302914923
202287335
116698681
371502752
723527600
656328467
560818381
717698855
312282505
357166191
234394840
751715037
569577244
221872098
694509636
412219859
250830407
720160228
293067374
12230998
291868313
504630052
673227750
654609987
336033291
3...

output:

walk 547885581
walk 932568480
walk 160945872
walk 670686731
walk 548680908
walk 658915999
walk 418592116
walk 816346862
walk 957669577
walk 174577492
walk 681931637
walk 472785903
walk 662362861
walk 408534205
walk 328382147
walk 869501511
walk 843340603
walk 9151964
walk 711567468
walk 454107859
wa...

result:

ok OK, guesses=2677

Test #26:

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

input:

95727857
90066514
12484408
13748119
103489673
37684613
9408514
58493097
109496773
122786510
77395209
83874057
58889293
57823021
37315460
50488030
17909751
114431115
120120752
42372258
96527067
80747829
89528576
109647268
90092912
62424331
53137700
53468242
50314759
110124578
48077830
34098280
636774...

output:

walk 547885581
walk 932568480
walk 160945872
walk 670686731
walk 548680908
walk 658915999
walk 418592116
walk 816346862
walk 957669577
walk 174577492
walk 681931637
walk 472785903
walk 662362861
walk 408534205
walk 328382147
walk 869501511
walk 843340603
walk 9151964
walk 711567468
walk 454107859
wa...

result:

ok OK, guesses=2066

Test #27:

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

input:

39159421
914825951
159629358
705541334
860376237
792880606
515868827
619721214
217162726
192820028
314289175
740369958
898012239
634986464
450682906
854063867
208267625
105376994
226147997
188240836
751021502
628679578
829361946
850923354
351078387
253323220
454992237
221015585
578574939
634289399
5...

output:

walk 547885581
walk 932568480
walk 160945872
walk 670686731
walk 548680908
walk 658915999
walk 418592116
walk 816346862
walk 957669577
walk 174577492
walk 681931637
walk 472785903
walk 662362861
walk 408534205
walk 328382147
walk 869501511
walk 843340603
walk 9151964
walk 711567468
walk 454107859
wa...

result:

ok OK, guesses=2835

Test #28:

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

input:

6960241
685304874
210794288
484042688
6762292
675325542
99714591
165366279
478580315
738982313
219188813
510429784
400356423
695470525
290325072
156018171
164958945
66830437
435432146
329046235
129264513
143310367
770572833
742641777
136413506
171351718
240140640
198469619
367208330
231925676
415354...

output:

walk 547885581
walk 932568480
walk 160945872
walk 670686731
walk 548680908
walk 658915999
walk 418592116
walk 816346862
walk 957669577
walk 174577492
walk 681931637
walk 472785903
walk 662362861
walk 408534205
walk 328382147
walk 869501511
walk 843340603
walk 9151964
walk 711567468
walk 454107859
wa...

result:

ok OK, guesses=3302

Test #29:

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

input:

569698664
266923456
701434244
77970218
678658157
446025803
59281947
366835323
860420296
554567459
518223880
29539087
420552839
633729589
547620001
204289180
816765496
173728590
673015457
589773454
974153278
842369193
782704411
572287044
510960432
653923682
218737822
355147678
327558719
323346718
312...

output:

walk 547885581
walk 932568480
walk 160945872
walk 670686731
walk 548680908
walk 658915999
walk 418592116
walk 816346862
walk 957669577
walk 174577492
walk 681931637
walk 472785903
walk 662362861
walk 408534205
walk 328382147
walk 869501511
walk 843340603
walk 9151964
walk 711567468
walk 454107859
wa...

result:

ok OK, guesses=2187

Test #30:

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

input:

13199186
775017737
271002251
673401115
489786682
288445030
75738865
453551537
661512671
624383751
245938812
518062808
784792552
783184846
776474911
545190420
360618523
337934686
185500738
668617702
522211531
60569322
664216519
317712039
835348373
122798794
797443053
190760969
151187370
776262330
139...

output:

walk 547885581
walk 932568480
walk 160945872
walk 670686731
walk 548680908
walk 658915999
walk 418592116
walk 816346862
walk 957669577
walk 174577492
walk 681931637
walk 472785903
walk 662362861
walk 408534205
walk 328382147
walk 869501511
walk 843340603
walk 9151964
walk 711567468
walk 454107859
wa...

result:

ok OK, guesses=2261

Test #31:

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

input:

833856547
47947639
208893511
20341548
569022456
368699761
787291877
744400045
842830928
158169726
840101363
453648572
256772739
665306944
134450397
144713214
128815123
137967087
849534555
444403720
660615016
503878243
735277381
698654300
771004313
459818692
715035679
403017988
193478433
23624474
156...

output:

walk 547885581
walk 932568480
walk 160945872
walk 670686731
walk 548680908
walk 658915999
walk 418592116
walk 816346862
walk 957669577
walk 174577492
walk 681931637
walk 472785903
walk 662362861
walk 408534205
walk 328382147
walk 869501511
walk 843340603
walk 9151964
walk 711567468
walk 454107859
wa...

result:

ok OK, guesses=2247

Test #32:

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

input:

698771302
718602664
654225577
380334936
971433648
672487108
537179579
156551530
879427295
699415104
500189798
132393062
899580051
340291429
521209008
743516919
243760687
157052643
574133169
756315196
330013303
631377523
56286994
405032633
751052120
316789207
813645703
195756598
345201975
783848870
4...

output:

walk 547885581
walk 932568480
walk 160945872
walk 670686731
walk 548680908
walk 658915999
walk 418592116
walk 816346862
walk 957669577
walk 174577492
walk 681931637
walk 472785903
walk 662362861
walk 408534205
walk 328382147
walk 869501511
walk 843340603
walk 9151964
walk 711567468
walk 454107859
wa...

result:

ok OK, guesses=3233

Test #33:

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

input:

547885582
532095737
693041609
415370015
15692598
674608597
144842388
12830925
22142177
196719669
878651306
403078884
117083420
525617625
853999772
775142958
670125236
679277200
442486343
896594202
164447173
866949094
149989907
24247195
96597208
644650281
899867268
498729946
200070760
889455495
74165...

output:

walk 547885581
walk 932568480
walk 160945872
walk 670686731
walk 548680908
walk 658915999
walk 418592116
walk 816346862
walk 957669577
walk 174577492
walk 681931637
walk 472785903
walk 662362861
walk 408534205
walk 328382147
walk 869501511
walk 843340603
walk 9151964
walk 711567468
walk 454107859
wa...

result:

ok OK, guesses=2936

Test #34:

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

input:

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

output:

walk 547885581
walk 932568480
walk 160945872
walk 670686731
walk 548680908
walk 658915999
walk 418592116
walk 816346862
walk 957669577
walk 174577492
walk 681931637
walk 472785903
walk 662362861
walk 408534205
walk 328382147
walk 869501511
walk 843340603
walk 9151964
walk 711567468
walk 454107859
wa...

result:

ok OK, guesses=2001

Test #35:

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

input:

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

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2001

Test #36:

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

input:

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

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2001

Test #37:

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

input:

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

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2001

Test #38:

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

input:

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

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2001

Test #39:

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

input:

2885
246
2692
1836
2066
660
2803
826
316
1953
1468
1435
1754
329
192
1978
2471
1112
2782
2393
2369
1625
966
1498
1664
922
2546
2453
1037
450
2436
851
2021
655
2856
1660
2784
1731
2302
1548
261
261
2312
2077
406
184
1886
1836
1953
896
2271
78
2596
1390
2633
2040
1100
784
276
1455
2936
2511
2015
365
8...

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2001

Test #40:

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

input:

1828
1499
1560
776
608
1189
143
1478
1374
26
1096
1114
1760
127
1367
1778
552
1996
648
1844
1485
1928
1010
1212
1808
1412
1222
514
1787
1192
1264
1280
119
3
1906
1371
1026
996
774
1862
978
293
1197
270
594
194
1241
776
26
1455
1173
283
1987
1082
279
910
1468
271
711
884
1804
1892
506
1126
636
1581
8...

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2001

Test #41:

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

input:

295
3146
2666
3587
956
2823
2085
965
3297
2364
3911
2771
755
2413
289
337
303
2423
1982
10
552
958
2013
1825
260
1648
1533
783
323
2790
1494
441
3315
2815
2200
279
1626
2801
3504
2071
2306
230
3388
1020
52
1735
2420
3587
2364
904
1991
1114
1272
1028
3772
2588
1280
1190
976
3525
3143
606
2936
1797
12...

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2001

Test #42:

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

input:

1471
74
3954
4263
1503
4664
1315
6595
5684
6053
4239
5696
1190
3264
5221
4692
1715
1988
1532
4349
5036
1243
771
485
3925
3481
2954
4017
3602
1161
2140
21
4815
5043
2330
2759
4046
61
5359
3658
1896
1256
1586
3372
6326
838
6091
3191
3578
5734
68
516
4384
4250
2201
4192
4984
1693
5518
3473
1381
5975
14...

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2001

Test #43:

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

input:

915
4243
1825
4386
5040
2872
3265
6147
3815
360
2588
261
3431
578
2205
2620
1799
6324
5328
5466
5234
5101
4440
5685
6035
545
3672
2989
6341
2859
1604
2363
2962
1430
882
4599
5859
598
1754
847
2561
3137
2412
322
5345
2947
1754
4421
331
4058
2814
2871
230
5454
2816
6082
3348
1909
5708
4143
5876
5191
3...

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2001

Test #44:

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

input:

5940454
3457225
3188007
8708703
2802161
8787685
8714401
5201709
8471513
4739333
3117398
5955758
283673
2995329
2011244
6947645
3738683
8930436
269377
131234
186537
1219890
6899592
2614028
2739314
711021
560333
2847388
2532006
6873149
8983993
3403236
8922741
3567968
8035635
6737888
6790085
5319703
65...

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2017

Test #45:

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

input:

604595
4124205
6765929
5854049
8588645
2464707
5070686
1423425
2946955
10977699
10306432
7344268
6940831
2103316
8557112
3403997
5663482
6771079
9389146
7814432
5805906
3493227
7521388
4323502
3691712
5844950
5866930
2452069
2496446
3019765
433197
2274290
8714451
4054101
332233
912282
693426
1350174...

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2018

Test #46:

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

input:

6865822
3506346
527454
9131738
16866133
15609498
9568309
7920646
12334555
14116965
2592297
5513058
15431302
1554511
2875272
2344691
13787750
15829009
18596904
6522119
11627751
2699606
17140084
3492283
17488607
6340318
14997190
10122512
14073348
10270653
303426
196234
2236080
10987989
4643178
2341337...

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2056

Test #47:

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

input:

61812
440857
58174
151917
334594
794157
347981
83112
207449
722476
423440
249695
371847
789355
251022
211339
495775
326303
450512
792016
442905
599384
27184
143806
351717
505404
506241
331113
160410
97231
571705
317669
266406
716123
749338
380071
610946
601251
555120
11602
389738
823125
798057
23873...

output:

walk 99346129
walk 976494788
walk 245955627
walk 459419486
walk 42421629
walk 245951181
walk 170612610
walk 443852426
walk 743783369
walk 481479491
walk 842828203
walk 398460491
walk 655193085
walk 280091483
walk 162907288
walk 760893231
walk 409110249
walk 512130634
walk 619049220
walk 34391453
wal...

result:

ok OK, guesses=2001

Test #48:

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

input:

13845971
7172364
21093826
28508688
40365737
4715099
51046776
9661301
27161821
10806677
13291544
34889382
44297031
56266366
42617854
8903630
17257335
28848268
14064956
27931911
1709885
38722844
2050926
6082497
16623359
17888712
1534000
14280542
45810279
15298353
22155695
43303550
11676576
53845060
59...

output:

walk 982708741
walk 75767903
walk 262863488
walk 696987409
walk 961112237
walk 37195771
walk 499568513
walk 393932124
walk 39385972
walk 410413109
walk 681130175
walk 580043878
walk 669587750
walk 705666514
walk 169104241
walk 422889191
walk 258598855
walk 44302741
walk 81460654
walk 811166325
walk ...

result:

ok OK, guesses=2020

Test #49:

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

input:

17589219
55070980
55658339
2318649
193462612
17689897
4243881
237749769
32060799
46000751
232706861
183729991
109352518
213849263
182569352
80080664
24224162
133964068
51762273
225135457
65764381
171827398
178543992
150052000
35399401
90861103
156781678
57458005
38759355
83512810
114251554
45957058
...

output:

walk 982708741
walk 75767903
walk 262863488
walk 696987409
walk 961112237
walk 37195771
walk 499568513
walk 393932124
walk 39385972
walk 410413109
walk 681130175
walk 580043878
walk 669587750
walk 705666514
walk 169104241
walk 422889191
walk 258598855
walk 44302741
walk 81460654
walk 811166325
walk ...

result:

ok OK, guesses=2243

Test #50:

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

input:

340372392
279878539
187966166
368343657
468139434
283139545
46200602
58909061
140993632
387021064
94518438
381109319
473013118
164964353
226641773
326010557
276540189
269782890
46651550
99752770
317651035
221093022
454567596
335458934
274128167
278644422
378240225
361437838
79697176
57209436
2075946...

output:

walk 982708741
walk 75767903
walk 262863488
walk 696987409
walk 961112237
walk 37195771
walk 499568513
walk 393932124
walk 39385972
walk 410413109
walk 681130175
walk 580043878
walk 669587750
walk 705666514
walk 169104241
walk 422889191
walk 258598855
walk 44302741
walk 81460654
walk 811166325
walk ...

result:

ok OK, guesses=2460

Test #51:

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

input:

59130507
134898410
397761898
171171072
208705074
245900845
745469358
215823247
255209219
665622328
423174268
79639911
749227661
531315940
700420181
199731137
458329992
502632733
584093387
471681477
570796350
633472749
644361131
805530558
585105191
848809450
27213139
98096046
881405127
606424703
3433...

output:

walk 982708741
walk 75767903
walk 262863488
walk 696987409
walk 961112237
walk 37195771
walk 499568513
walk 393932124
walk 39385972
walk 410413109
walk 681130175
walk 580043878
walk 669587750
walk 705666514
walk 169104241
walk 422889191
walk 258598855
walk 44302741
walk 81460654
walk 811166325
walk ...

result:

ok OK, guesses=3999

Test #52:

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

input:

125717994
8227604
77832799
1787036
189866101
33803579
146855506
154271044
398723
24295246
125650542
125919541
22474119
148365754
124211702
160584307
32666576
76969317
158429971
3304831
102419704
165096103
133271255
101182389
31302085
101748051
10471682
38641359
48917268
117740200
5228716
23965342
12...

output:

walk 982708741
walk 75767903
walk 262863488
walk 696987409
walk 961112237
walk 37195771
walk 499568513
walk 393932124
walk 39385972
walk 410413109
walk 681130175
walk 580043878
walk 669587750
walk 705666514
walk 169104241
walk 422889191
walk 258598855
walk 44302741
walk 81460654
walk 811166325
walk ...

result:

ok OK, guesses=2052

Test #53:

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

input:

68523331
137685108
36075461
69225712
8511860
162528886
148922947
138941721
124566199
208526176
183923135
52265184
77247121
107436036
164660711
184193586
40215288
56323012
126167149
197609422
212817675
43389208
168814964
695877
108763999
229742742
44061596
48539416
221442457
36317750
50421379
3480146...

output:

walk 982708741
walk 75767903
walk 262863488
walk 696987409
walk 961112237
walk 37195771
walk 499568513
walk 393932124
walk 39385972
walk 410413109
walk 681130175
walk 580043878
walk 669587750
walk 705666514
walk 169104241
walk 422889191
walk 258598855
walk 44302741
walk 81460654
walk 811166325
walk ...

result:

ok OK, guesses=3099