QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#660488#5309. Guess Cycle LengthZhaoZiLongAC ✓20ms4068kbC++17739b2024-10-20 11:36:092024-10-20 11:36:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 3808kb

input:

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

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #2:

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

input:

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

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #3:

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

input:

9833
3092
4035
6285
6040
2696
7267
2533
7258
3777
5196
535
7198
225
7525
3381
9045
7155
3596
1111
3953
6279
9396
1555
4563
2792
1990
2711
1396
8624
6438
2378
9217
1566
5358
1889
9902
2668
188
553
1982
9401
3785
2779
6889
7602
4201
4793
1631
8133
2434
9215
9094
1336
6435
2198
3568
1054
3826
9320
6694...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #4:

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

input:

9829833
309533092
427534035
277576285
407556040
562502696
531697267
748932533
547637258
141753777
719415196
431690535
660927198
948170225
366527525
603133381
230459045
534197155
111333596
231601111
857983953
864516279
713459396
257291555
498614563
896102792
939531990
723622711
978441396
942288624
95...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7002

Test #5:

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

input:

11749643
311452902
429453845
279496095
409475850
564422506
533617077
750852343
549557068
143673587
721335006
433610345
662847008
950090035
368447335
605053191
232378855
536116965
113253406
233520921
859903763
866436089
715379206
259211365
500534373
898022602
941451800
725542521
980361206
944208434
9...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7033

Test #6:

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

input:

884144265
251464108
215542019
401270269
459321904
554992016
608498083
783222165
215283490
860770353
341004516
151742519
966982870
603777649
995119749
622868261
830038789
707154259
67361316
859866471
526663505
606587207
510227916
203663059
506251475
811201008
512215054
970889671
226041916
142357272
2...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7048

Test #7:

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

input:

375763962
79913047
265015072
112935822
251307515
562502696
159475520
748932533
547637258
516076546
719415196
260795092
660927198
948170225
53013974
603133381
462171990
153586256
273852687
454937124
857983953
864516279
713459396
430292176
193493200
896102792
939531990
723622711
978441396
942288624
95...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7002

Test #8:

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

input:

147951236
980793637
649032890
213777416
192431839
362566569
215594551
194032237
481863873
505391111
919004396
699867971
286481018
902645655
147305261
721100239
361876607
72329229
933374664
527284047
870506038
285334123
883562769
768283179
500727765
434484242
483954982
527533502
793055903
650159240
6...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7004

Test #9:

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

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 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #10:

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

input:

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

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #11:

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

input:

554
357
498
382
355
58
752
996
56
917
824
167
196
549
267
407
866
633
154
689
23
583
797
790
712
343
646
79
797
758
539
185
92
258
342
178
182
217
256
349
502
697
649
961
178
985
788
314
537
475
345
581
262
665
458
196
428
330
858
637
815
428
879
336
118
643
362
683
679
809
657
622
372
138
419
987
2...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #12:

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

input:

7938
147
1921
5128
7199
7748
4868
9997
4658
4288
5249
1237
1253
4388
4797
2120
9630
1797
8955
8431
7102
6003
6207
5703
186
3154
7392
1147
2817
5530
9105
9436
3565
1463
2998
2307
8283
5391
25
955
7735
7895
8018
2413
2349
244
8624
3052
41
98
4004
5562
2165
9843
7598
6393
9824
1020
7503
3412
8671
7901
...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #13:

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

input:

69372
57807
53222
18702
55643
18382
3343
54287
76290
11305
31933
45163
65297
75112
64078
24064
88222
77508
59603
72374
70972
4803
47195
63876
12453
84372
25705
27949
55942
24861
3307
54196
17716
42398
48771
60981
99870
49027
60680
39856
20744
53299
48011
90729
56174
26152
71531
28405
85490
251
24238...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #14:

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

input:

783075
13690
884513
326383
24945
436222
121739
505705
420546
307025
500128
9448
196336
366295
187228
915696
58452
6976
453944
635798
657213
387356
667056
348414
962514
45681
46737
179886
195653
522190
830791
989357
369884
225058
389351
36002
696218
113124
489470
610630
236681
589184
584957
497389
61...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #15:

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

input:

8909763
5143230
1720746
8944595
3408661
4216730
5180680
5162518
7475816
1669192
2339180
8963211
7493862
22858
9518668
5689537
9364030
3544758
3013695
5175090
5260265
1780784
9251446
1754879
4895391
9745310
6374987
909971
8918501
4370923
4639136
5629536
5439435
7424615
3271720
5446809
7056330
6409037...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #16:

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

input:

70852180
91367112
83471658
19867293
97890077
46013620
95717704
94539950
98122376
46665281
83255763
33619725
75201094
73016267
94748465
11669238
42606203
39083377
15086258
69898619
89493035
31680087
39296805
16011069
55439025
13421727
50941542
19235878
1450312
11992945
42800927
47425118
99813013
7619...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7016

Test #17:

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

input:

135457348
825942651
639297486
45078107
338464780
602465995
27590695
159234067
637527970
386154463
523019230
675058427
19708070
988282391
138200298
887959426
248311661
715880788
888310402
882889338
565759290
496866829
20734320
875802379
705938105
917472501
934497513
193971979
744309690
904626221
6856...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7032

Test #18:

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

input:

266479706
726348219
630289921
300932261
354101079
504471471
752256147
116097861
634436882
546234417
799512179
286019459
631638030
256181575
751748785
821633225
245238741
175460129
214241394
100866737
312205876
114294091
506563295
149657794
733091162
706805764
84746549
762155697
880746552
76000996
16...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7051

Test #19:

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

input:

159613853
184607196
158491843
98019342
113803852
242352535
74331989
31610663
222804847
235690509
159196695
208119678
112254094
66342089
68471010
199239354
173934283
82791732
249140851
208026577
7620751
7348855
113686275
59262161
131453314
151007859
26978572
130083346
177269923
200429433
58668690
231...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7050

Test #20:

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

input:

336158419
327519974
242242973
368290978
206748455
257653350
294924002
130826961
249848184
273854051
237692015
121777021
335235110
102083162
183631685
350200299
87967079
285526639
373262584
245830275
334955113
374362490
175284451
96255145
11339708
136209838
12870201
268313755
396220104
34445239
20105...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7010

Test #21:

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

input:

696991
77240742
115359575
26832594
21603466
53782893
25179574
42357551
11777394
137682572
25423409
141963193
34249694
78758251
25927222
16186363
50178796
91583482
53067738
59307854
322571
85344239
124918687
51114927
7110840
73832755
62492973
140568308
25457092
28818942
114039241
38041076
59010354
14...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7017

Test #22:

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

input:

309043606
122850794
72047478
243463505
237703019
12273137
323755730
7441818
11039531
164968753
238176437
127315227
152683936
252417005
146713363
295535862
276071627
33530112
171416191
189458712
70033975
318691158
126412605
218437210
124724081
20843085
248563487
160201309
54763525
16271972
296549497
...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7026

Test #23:

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

input:

502509774
16322945
589330757
52250000
342446623
484249794
768393815
924145418
698028010
801453370
245645458
980221025
161583986
569170409
560044405
882647009
537882176
802132102
459357474
753023954
257874886
242313975
626388764
440515815
41683454
254602928
233993556
785506463
855937272
758316917
600...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7051

Test #24:

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

input:

723877344
791879483
2166528
79265274
179962809
384075852
348527582
981149175
453837323
958686812
122397325
163686259
79590232
77631634
41962069
245356816
714469680
84258246
750861798
9509554
105367013
59121301
613055910
930776512
597081779
822891708
481491400
555322423
368806015
718303017
891680699
...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7032

Test #25:

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

input:

418821345
638739796
609368917
393408
588457605
749682311
73607675
312545509
568325425
233388237
340015259
6591398
238740686
483129718
351894283
329965469
80781238
558484256
243699737
638109288
634767565
57798573
142537814
525397155
259629598
95793700
312296416
476191255
356860996
567170772
378428390...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7024

Test #26:

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

input:

118340940
35383942
103381711
43269995
77065369
43851883
576087
23407591
51132941
109531631
119738889
82999910
28582323
111434191
22250376
43640605
13107057
47543058
105157765
36584384
42388064
25956113
66753125
32538438
12052026
41705419
108434104
101764554
100492132
95508656
19827480
105573877
1216...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7027

Test #27:

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

input:

821828007
905731486
592723949
14600719
744896064
869832915
189032181
145818727
233479797
818564531
277853905
538103684
585116697
80954214
396299584
886747980
151244379
665642694
939213775
656664260
449978187
542376048
763946440
255881109
254219312
81703911
839665389
926431160
151727400
71699908
6941...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7033

Test #28:

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

input:

613891444
577089334
628602912
547837949
151643785
180121639
592446766
326034155
702757921
225341707
166196546
667826430
786468863
338246892
65634568
119097771
144842932
509439107
134510892
781135818
243861143
527146381
58595945
301135561
420533149
428436308
539239050
565270022
205154402
351338405
65...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7017

Test #29:

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

input:

469880759
240525678
467640167
197215247
556870369
676228018
340984976
567210495
309474073
114507034
136096580
372587686
209885716
268880891
517783960
132956027
389561023
853458583
825942821
376819193
163710524
797057695
811041674
678893107
721027576
276992081
246397799
413559545
587416834
981766336
...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7097

Test #30:

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

input:

507930484
434664659
161908916
23609461
262274321
46681423
735678235
712365486
655522831
822908018
789426067
812394030
132537028
112736735
632757175
762611807
475448527
149504346
419592019
73640719
594244969
183158823
143207742
476743723
129532581
491415218
506631586
723023381
654931846
696544170
671...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7122

Test #31:

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

input:

295800798
595504057
713505000
704308556
834288311
129996273
239952150
457187416
396653447
131531272
709192691
562229336
791465999
219470332
637827632
15194794
642520458
87019874
664156315
784423830
551567978
558100304
547804727
232398192
473721200
11970735
55399933
839490654
235070645
339679179
3523...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7032

Test #32:

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

input:

308493345
199264822
6711882
481641461
81296792
148823688
706206834
772570060
350070098
784499944
979038968
958962215
215969249
158792047
834176555
933740425
607877316
97310687
630633226
62087835
286828571
188674376
508101863
497811981
365204435
146148126
685379437
209328210
721631717
764278533
18578...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7361

Test #33:

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

input:

9829833
309533092
427534035
329217960
459197715
614144371
634980617
852215883
702562283
348320477
925981896
689898910
919135573
258020275
676377575
912983431
591950770
895688880
524466996
644734511
322759028
329291354
229876146
773708305
66672988
464161217
507590415
343322811
598141496
613630399
626...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7022

Test #34:

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

input:

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

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #35:

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

input:

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

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #36:

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

input:

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

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #37:

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

input:

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

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #38:

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

input:

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

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #39:

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

input:

2082
811
1155
1415
1144
2386
286
2684
2678
2319
975
1385
1742
2058
1965
2572
2914
1484
1930
1227
1281
1502
1301
666
575
729
2291
2376
1301
884
1616
282
2523
2607
1549
437
1214
1071
1489
2278
2780
891
1546
2480
437
2845
2477
429
1358
1731
1407
590
255
2277
1713
2883
946
1662
2974
2561
2343
946
1903
2...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #40:

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

input:

898
251
647
82
597
759
1955
1720
1724
209
1791
1796
1873
1692
1125
72
1273
1870
30
1062
45
1067
387
1619
586
971
309
872
387
1431
810
1161
1806
1640
358
1269
1856
1523
1050
1040
1744
1996
1239
628
262
1527
1328
594
1093
996
1700
170
644
986
239
1199
1550
199
991
973
558
1550
1345
1384
626
188
1772
1...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #41:

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

input:

2048
3075
3812
2290
821
2151
2123
2036
3423
1871
1710
969
3272
1865
65
2938
426
3724
2379
847
1924
1250
1222
651
2205
3698
1621
780
1827
197
2384
561
1163
436
3292
1265
321
1565
2982
3654
2374
2423
3818
676
1536
963
2037
52
3645
1510
1327
2627
3351
2335
1927
3055
3071
3513
2334
2258
3152
3330
292
27...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #42:

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

input:

5346
478
905
6650
5413
3660
5912
75
1627
4582
104
4190
2280
3794
558
707
6399
5186
3771
1018
3227
2441
3885
2910
5405
5189
568
3416
306
1400
820
1551
4174
279
3785
5264
2339
1413
2745
4218
5768
2040
5510
1457
5613
6586
1546
4713
4329
3348
2974
4393
5726
6465
1281
5270
6506
1572
393
4701
304
2542
225...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #43:

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

input:

5311
455
5518
6347
4370
5268
2010
3841
4426
2118
538
671
4543
5738
5751
2669
6091
5748
6568
3691
2558
2100
4546
4988
2250
4755
1409
5841
1412
6276
6159
3776
6464
1618
2339
277
2917
3184
1857
352
5306
2735
381
3420
5907
352
735
2309
4309
2044
4296
4331
6238
538
6547
1702
845
3592
876
3330
1002
6408
4...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #44:

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

input:

5646482
1445924
5371630
6790893
8246774
8630714
4319826
8000926
4767604
5765601
8328943
3779232
3305435
6391609
8718605
2074426
6268390
4547539
8309179
4027525
5261664
1922024
3628162
5221482
1755163
1391660
3388991
8730787
3175836
2938882
2362997
2803022
2093448
4262574
6819785
8988143
6666785
7699...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7004

Test #45:

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

input:

6809600
1327764
4096595
5614078
766855
1306074
7916070
865957
6551878
10593635
9252794
6034516
1871325
9058779
7379612
5486800
7581606
8877496
2045353
7162454
5793144
2201396
1075756
9278501
1477920
4499126
8964296
2157342
427202
8250418
5417988
7328265
303479
7332754
1699479
2753890
6823492
7857468...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #46:

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

input:

5951685
2551770
8122094
17820209
4779935
17116849
1892311
4848787
17059918
7659900
16682572
11890203
15381265
4176059
12957348
14241640
5046455
13338645
15490797
4666565
17241746
13210499
5777721
6926177
15304041
15834278
9644718
7858531
4969728
4093494
5500850
5481942
10166888
392632
1234819
567862...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #47:

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

input:

795034
455386
524377
587789
72078
599199
613393
11011
607161
257298
409581
473506
450698
787946
448373
40456
677741
237105
424789
577116
428963
83412
818731
391157
562739
225364
468355
760296
187937
438146
763658
587671
747364
449046
574024
121457
774022
615136
106040
342508
35302
212500
731039
5077...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7001

Test #48:

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

input:

3215520
56564111
46613075
568690
51292503
55251156
9738973
5298300
1464178
49366580
7071781
36649331
26665865
51147689
50517911
14511341
22196400
18313505
26964038
49872956
33971996
37777494
26138843
46272623
15996998
1770582
57558476
30570145
15188732
14307989
54198352
32129437
9633039
36554437
529...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7006

Test #49:

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

input:

86448536
142983348
152186552
66974131
160556438
96170657
237919700
144521575
236318089
227008267
156042929
193915794
173494699
4744829
184396866
3816049
168040119
158603988
53472907
162668958
115507317
180844743
100053317
145347076
229787358
227516051
203459145
98631918
238196746
152634096
140432379...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7008

Test #50:

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

input:

335796040
425134816
367599491
411930293
187216898
171512589
164211136
417030263
389070185
243140916
446010193
452509613
275908062
447919271
484366616
292064847
471249183
287703134
305408528
464783195
240397722
418558878
499669920
474211571
255446686
242196701
298096949
57144656
265327359
207236672
4...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7092

Test #51:

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

input:

9829833
309533092
427534035
353998050
483977805
638924461
684540797
901776063
776902553
447440837
101524021
813799360
119457788
406700815
825058115
138085736
765411400
145571275
722707716
842975231
545779838
552312164
477677046
97930970
339253978
736742207
780171405
640683891
895502576
12193334
2488...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7076

Test #52:

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

input:

119130550
32317223
150318166
34068951
164048706
125737069
128640175
152617148
178288701
192630341
190516881
129759048
165737418
66463859
98304573
141652136
189202921
106424445
103786007
30795229
77403192
83935518
159845463
123902743
171967458
182939101
33110006
44167555
105727947
103283710
115971524...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7027

Test #53:

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

input:

23139041
132388518
46941190
133708187
70514827
10723534
106628461
125884739
157059478
11799155
74298532
92125238
8968563
147054526
139158784
59955011
200480395
136698358
21226452
234877072
4759992
97811602
147093883
33596889
177089989
210957436
129003915
227048632
79805952
78741236
219788138
1970886...

output:

walk 9829832
walk 299703259
walk 118000943
walk 850042250
walk 129979755
walk 154946656
walk 969194571
walk 217235266
walk 798704725
walk 594116519
walk 577661419
walk 712275339
walk 229236663
walk 287243027
walk 418357300
walk 236605856
walk 627325664
walk 303738110
walk 577136441
walk 120267515
wa...

result:

ok OK, guesses=7013