QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#333607#5309. Guess Cycle Lengthucup-team2335#AC ✓22ms4276kbC++141.0kb2024-02-20 09:59:182024-02-20 09:59:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

walk 487364546
walk 276840552
walk 809198726
walk 495087091
walk 758691204
walk 150260676
walk 641653790
walk 625170170
walk 468656806
walk 723100679
walk 289828281
walk 8708509
walk 234495823
walk 492089046
walk 4940027
walk 299512136
walk 547261123
walk 104525914
walk 829338930
walk 451680515
walk...

result:

ok OK, guesses=811

Test #2:

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

input:

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

output:

walk 487364546
walk 276840552
walk 809198726
walk 495087091
walk 758691204
walk 150260676
walk 641653790
walk 625170170
walk 468656806
walk 723100679
walk 289828281
walk 8708509
walk 234495823
walk 492089046
walk 4940027
walk 299512136
walk 547261123
walk 104525914
walk 829338930
walk 451680515
walk...

result:

ok OK, guesses=821

Test #3:

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

input:

4547
5099
3825
916
2120
2796
6586
6756
3562
4241
2522
1031
6854
5900
5927
8063
9186
5100
4030
4545
213
209
804
3767
1485
6847
9768
4334
1344
3500
5483
8021
3708
5824
3559
2800
7823
2748
5426
2586
1860
7459
5511
4632
6123
4026
5602
178
4920
7863
9851
440
1377
8392
2312
2885
6569
1639
821
8802
3084
14...

output:

walk 487364546
walk 276840552
walk 809198726
walk 495087091
walk 758691204
walk 150260676
walk 641653790
walk 625170170
walk 468656806
walk 723100679
walk 289828281
walk 8708509
walk 234495823
walk 492089046
walk 4940027
walk 299512136
walk 547261123
walk 104525914
walk 829338930
walk 451680515
walk...

result:

ok OK, guesses=4801

Test #4:

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

input:

545570231
829194463
70598619
833820857
518288743
305166177
510969541
838234586
50959524
866393282
741012636
822099983
872043953
847558188
427878521
376054095
500069082
959860912
775169014
880351236
204838356
534147323
189011696
491810992
314629110
431246742
809933384
998545428
774378084
870103829
93...

output:

walk 545570230
walk 283624232
walk 241404156
walk 763222238
walk 684467886
walk 786877434
walk 205803364
walk 327265045
walk 212724938
walk 815433758
walk 874619354
walk 81087347
walk 49943970
walk 975514235
walk 580320333
walk 948175574
walk 124014987
walk 459791830
walk 815308102
walk 105182222
wa...

result:

ok OK, guesses=4912

Test #5:

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

input:

547490041
831114273
72518429
835740667
520208553
307085987
512889351
840154396
52879334
868313092
742932446
824019793
873963763
849477998
429798331
377973905
501988892
961780722
777088824
882271046
206758166
536067133
190931506
493730802
316548920
433166552
811853194
465238
776297894
872023639
93782...

output:

walk 545570230
walk 283624232
walk 241404156
walk 763222238
walk 684467886
walk 786877434
walk 205803364
walk 327265045
walk 212724938
walk 815433758
walk 874619354
walk 81087347
walk 49943970
walk 975514235
walk 580320333
walk 948175574
walk 124014987
walk 459791830
walk 815308102
walk 105182222
wa...

result:

ok OK, guesses=4859

Test #6:

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

input:

206640711
961193775
837341387
389803513
178441335
579565153
630188581
434066546
426406572
699347738
790631396
22510815
635283505
915898100
272538041
774212639
76564338
523628248
421216302
585763596
480223836
614069995
540085016
2952408
334645294
160830158
357999792
862119580
676611692
941933557
8161...

output:

walk 545570230
walk 283624232
walk 241404156
walk 763222238
walk 684467886
walk 786877434
walk 205803364
walk 327265045
walk 212724938
walk 815433758
walk 874619354
walk 81087347
walk 49943970
walk 975514235
walk 580320333
walk 948175574
walk 124014987
walk 459791830
walk 815308102
walk 105182222
wa...

result:

ok OK, guesses=4951

Test #7:

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

input:

545570231
829194463
319125032
833820857
135543956
83902098
147123958
838234586
339336535
866393282
741012636
822099983
872043953
847558188
263229770
10115228
186534697
959860912
775169014
880351236
453368871
153503944
502554307
195053827
74487237
260318309
809933384
998545428
774378084
870103829
935...

output:

walk 545570230
walk 283624232
walk 241404156
walk 763222238
walk 684467886
walk 786877434
walk 205803364
walk 327265045
walk 212724938
walk 815433758
walk 874619354
walk 81087347
walk 49943970
walk 975514235
walk 580320333
walk 948175574
walk 124014987
walk 459791830
walk 815308102
walk 105182222
wa...

result:

ok OK, guesses=4912

Test #8:

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

input:

625728575
701596814
445548474
347080612
667187916
513483779
631523742
861704600
155118164
714668178
102232825
93684729
185798125
83036604
692444939
590893234
419198579
599324135
632972458
45677424
680805949
356632222
801589266
398080640
67573952
844456838
311657331
627946154
301071456
718759964
9830...

output:

walk 545570230
walk 283624232
walk 241404156
walk 763222238
walk 684467886
walk 786877434
walk 205803364
walk 327265045
walk 212724938
walk 815433758
walk 874619354
walk 81087347
walk 49943970
walk 975514235
walk 580320333
walk 948175574
walk 124014987
walk 459791830
walk 815308102
walk 105182222
wa...

result:

ok OK, guesses=5048

Test #9:

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

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 382573436
walk 227303536
walk 723050542
walk 247974563
walk 173656033
walk 879588494
walk 61835465
walk 387492137
walk 940557966
walk 386251522
walk 447108480
walk 742667750
walk 895253561
walk 703430712
walk 563287473
walk 130719012
walk 3685562
walk 46802640
walk 929335818
walk 963255986
walk...

result:

ok OK, guesses=802

Test #10:

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

input:

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

output:

walk 382573436
walk 227303536
walk 723050542
walk 247974563
walk 173656033
walk 879588494
walk 61835465
walk 387492137
walk 940557966
walk 386251522
walk 447108480
walk 742667750
walk 895253561
walk 703430712
walk 563287473
walk 130719012
walk 3685562
walk 46802640
walk 929335818
walk 963255986
walk...

result:

ok OK, guesses=811

Test #11:

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

input:

847
934
145
324
689
738
307
392
707
402
883
662
872
196
14
951
335
425
626
481
768
510
739
422
348
134
796
983
442
564
826
463
127
26
86
976
20
992
776
236
64
480
229
368
576
72
744
318
126
869
848
193
995
56
531
910
606
462
100
390
513
509
329
553
38
238
459
866
394
494
281
767
124
605
102
933
238
...

output:

walk 382573436
walk 227303536
walk 723050542
walk 247974563
walk 173656033
walk 879588494
walk 61835465
walk 387492137
walk 940557966
walk 386251522
walk 447108480
walk 742667750
walk 895253561
walk 703430712
walk 563287473
walk 130719012
walk 3685562
walk 46802640
walk 929335818
walk 963255986
walk...

result:

ok OK, guesses=1801

Test #12:

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

input:

8132
9440
6188
6168
9838
3097
623
2980
730
2465
7615
1396
9994
1182
2471
1265
2361
482
9052
8504
7526
3734
6260
8678
9494
3155
9107
4410
5960
3377
8579
7698
8287
440
6740
1985
4380
3254
2004
8722
5297
656
8771
7122
2007
2838
3179
949
5195
3528
9726
2545
8720
8139
487
6598
9330
4884
1983
1275
4686
84...

output:

walk 382573436
walk 227303536
walk 723050542
walk 247974563
walk 173656033
walk 879588494
walk 61835465
walk 387492137
walk 940557966
walk 386251522
walk 447108480
walk 742667750
walk 895253561
walk 703430712
walk 563287473
walk 130719012
walk 3685562
walk 46802640
walk 929335818
walk 963255986
walk...

result:

ok OK, guesses=4801

Test #13:

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

input:

57937
14401
87952
26725
20885
24705
84718
29613
98197
98566
86611
89999
43031
27789
33384
69021
70862
86650
69637
84327
20970
49120
5419
35268
49848
20565
38347
85215
86811
12451
29020
50138
44535
28375
99993
17227
41883
43075
41246
52708
12012
34037
94626
42354
84696
24219
47600
79923
70890
45783
7...

output:

walk 382573436
walk 227303536
walk 723050542
walk 247974563
walk 173656033
walk 879588494
walk 61835465
walk 387492137
walk 940557966
walk 386251522
walk 447108480
walk 742667750
walk 895253561
walk 703430712
walk 563287473
walk 130719012
walk 3685562
walk 46802640
walk 929335818
walk 963255986
walk...

result:

ok OK, guesses=4801

Test #14:

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

input:

577619
726585
127706
764951
31551
660634
478603
675079
890246
490678
175207
962795
452539
276728
35745
706254
424007
950985
447815
154190
744406
687192
823309
982406
711239
286508
300419
16215
581642
119247
748914
849976
766159
241873
253475
297895
879616
440381
490651
797269
567031
151262
910363
16...

output:

walk 382573436
walk 227303536
walk 723050542
walk 247974563
walk 173656033
walk 879588494
walk 61835465
walk 387492137
walk 940557966
walk 386251522
walk 447108480
walk 742667750
walk 895253561
walk 703430712
walk 563287473
walk 130719012
walk 3685562
walk 46802640
walk 929335818
walk 963255986
walk...

result:

ok OK, guesses=4801

Test #15:

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

input:

8320480
4111356
3375724
8473452
1377795
4720540
9538802
8199415
426030
9588468
7208095
5295424
674002
9968699
5847393
9708958
6049052
8062770
6950121
5515691
2331561
1177031
9656690
2936873
2415753
6917461
4813610
1442376
6444953
9857323
9736795
1036353
6534573
3158558
1735111
8320600
3287712
433525...

output:

walk 382573436
walk 227303536
walk 723050542
walk 247974563
walk 173656033
walk 879588494
walk 61835465
walk 387492137
walk 940557966
walk 386251522
walk 447108480
walk 742667750
walk 895253561
walk 703430712
walk 563287473
walk 130719012
walk 3685562
walk 46802640
walk 929335818
walk 963255986
walk...

result:

ok OK, guesses=4801

Test #16:

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

input:

67028655
5141164
99778376
45644126
70123205
72001572
40855333
35419578
34815128
23505053
84104274
79757430
97942795
73975750
33966961
21235797
64521219
43948631
28510519
17874080
43850209
27949015
9344945
13483194
13436948
97547993
2373227
37629150
53683930
47364548
8543352
5588918
8632104
6635310
1...

output:

walk 763458767
walk 957503233
walk 686394275
walk 618456917
walk 816976568
walk 635150314
walk 616947802
walk 815192195
walk 487169066
walk 52919911
walk 722344039
walk 51631117
walk 628541232
walk 182444590
walk 258530012
walk 408361627
walk 748150623
walk 783598335
walk 298188646
walk 427080366
wa...

result:

ok OK, guesses=4820

Test #17:

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

input:

145332266
653470490
271330920
643468692
627463861
250402273
906762843
196465174
365317978
534715100
294533775
450109388
251970738
985055554
994451341
250873357
965288368
433903019
582419004
121859036
668827940
572640614
365977184
112449258
335136051
243037551
120739210
585153382
219069065
982916573
...

output:

walk 763458767
walk 957503233
walk 686394275
walk 618456917
walk 816976568
walk 635150314
walk 616947802
walk 815192195
walk 487169066
walk 52919911
walk 722344039
walk 51631117
walk 628541232
walk 182444590
walk 258530012
walk 408361627
walk 748150623
walk 783598335
walk 298188646
walk 427080366
wa...

result:

ok OK, guesses=4895

Test #18:

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

input:

708948263
439812228
802876261
224334484
101764996
844294417
402557328
8052895
324254761
886536353
827105776
914410634
798889390
737149378
860934780
711026891
411095288
920407868
290135613
720623978
177860960
740258057
367839379
569334851
549359436
534454908
227505245
337594976
783603853
613806335
81...

output:

walk 763458767
walk 957503233
walk 686394275
walk 618456917
walk 816976568
walk 635150314
walk 616947802
walk 815192195
walk 487169066
walk 52919911
walk 722344039
walk 51631117
walk 628541232
walk 182444590
walk 258530012
walk 408361627
walk 748150623
walk 783598335
walk 298188646
walk 427080366
wa...

result:

ok OK, guesses=4992

Test #19:

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

input:

24825629
257297479
64849832
199255135
238422359
121773543
63836277
150825458
230213693
217287139
3142079
168881021
193541137
48044321
178533211
213780283
31383120
255735604
196836015
237273344
167469287
234173929
36934785
217411440
177782394
138378514
39214673
65767572
171356889
257372533
260660407
...

output:

walk 763458767
walk 957503233
walk 686394275
walk 618456917
walk 816976568
walk 635150314
walk 616947802
walk 815192195
walk 487169066
walk 52919911
walk 722344039
walk 51631117
walk 628541232
walk 182444590
walk 258530012
walk 408361627
walk 748150623
walk 783598335
walk 298188646
walk 427080366
wa...

result:

ok OK, guesses=4914

Test #20:

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

input:

34348573
96739823
241029688
67385239
396126377
292074541
97901783
334256364
277646932
222329782
1911139
103608457
334662800
320191743
190242919
123364386
24776901
50180918
338209407
170235673
364457276
59091986
277353985
308435637
113487334
13037842
8456391
235222757
242313828
271752628
168472556
39...

output:

walk 763458767
walk 957503233
walk 686394275
walk 618456917
walk 816976568
walk 635150314
walk 616947802
walk 815192195
walk 487169066
walk 52919911
walk 722344039
walk 51631117
walk 628541232
walk 182444590
walk 258530012
walk 408361627
walk 748150623
walk 783598335
walk 298188646
walk 427080366
wa...

result:

ok OK, guesses=4854

Test #21:

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

input:

41727917
138829612
126440122
100990475
10145915
75349834
48076351
79046293
133483054
636065
109510822
96328037
67903222
134645112
66849563
60573121
100369160
40754370
7292844
92875236
22832983
9100983
44941225
97716173
96790697
143046267
75222441
18555707
22696550
69798292
87355336
92454313
13129202...

output:

walk 288283208
walk 136651042
walk 111389570
walk 341964541
walk 384860989
walk 228175846
walk 906441897
walk 626424828
walk 997205275
walk 901055194
walk 634338598
walk 120078613
walk 145542582
walk 176421535
walk 240013141
walk 139635228
walk 621832695
walk 250301973
walk 830034763
walk 537925087
...

result:

ok OK, guesses=4851

Test #22:

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

input:

129805124
219554507
35162647
274864510
190552185
68214512
167240328
249155195
226392087
15518790
173746671
208590584
171796928
309887763
30560669
6569640
305219849
255840565
111576719
210791215
42137456
294280201
57969609
215544558
101557170
306315297
195968132
28988351
139331688
127619931
129770173...

output:

walk 288283208
walk 136651042
walk 111389570
walk 341964541
walk 384860989
walk 228175846
walk 906441897
walk 626424828
walk 997205275
walk 901055194
walk 634338598
walk 120078613
walk 145542582
walk 176421535
walk 240013141
walk 139635228
walk 621832695
walk 250301973
walk 830034763
walk 537925087
...

result:

ok OK, guesses=4874

Test #23:

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

input:

364747764
77197485
321208028
608528042
307495077
124826720
211606799
133743442
447206111
336260386
312187518
340184192
715853520
595392457
864291508
429867559
439911225
100632405
758789159
956590327
482302984
846766890
382484249
673858653
994427940
801862854
735582563
639713223
433461837
500908741
1...

output:

walk 288283208
walk 136651042
walk 111389570
walk 341964541
walk 384860989
walk 228175846
walk 906441897
walk 626424828
walk 997205275
walk 901055194
walk 634338598
walk 120078613
walk 145542582
walk 176421535
walk 240013141
walk 139635228
walk 621832695
walk 250301973
walk 830034763
walk 537925087
...

result:

ok OK, guesses=5336

Test #24:

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

input:

265953969
134393388
685844751
156337006
747598752
557922121
798861941
981836450
708134144
11810543
587523428
71896222
797522031
823117488
53371507
333760210
388480484
348426835
152596962
233448832
227990205
878100630
524549663
203756290
241437017
860583310
37730572
263653090
681824453
727566367
5907...

output:

walk 288283208
walk 136651042
walk 111389570
walk 341964541
walk 384860989
walk 228175846
walk 906441897
walk 626424828
walk 997205275
walk 901055194
walk 634338598
walk 120078613
walk 145542582
walk 176421535
walk 240013141
walk 139635228
walk 621832695
walk 250301973
walk 830034763
walk 537925087
...

result:

ok OK, guesses=4992

Test #25:

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

input:

156791957
667916025
75168181
686642982
724304543
548567592
518281623
259434245
207056097
165176365
608823352
75563638
61275163
599782066
276369782
510681992
332208970
405500855
377440446
177774667
622336656
411885959
13087028
563598921
458802653
727148652
304364775
396891002
312256316
419645830
7046...

output:

walk 288283208
walk 136651042
walk 111389570
walk 341964541
walk 384860989
walk 228175846
walk 906441897
walk 626424828
walk 997205275
walk 901055194
walk 634338598
walk 120078613
walk 145542582
walk 176421535
walk 240013141
walk 139635228
walk 621832695
walk 250301973
walk 830034763
walk 537925087
...

result:

ok OK, guesses=4950

Test #26:

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

input:

112981891
123554537
13309649
39169853
7660136
60346354
82046132
12503780
57373126
79489844
104817185
109814653
13288292
49414485
62057269
64884350
79960425
80074998
21826574
68997564
109285013
45165093
47943243
60741023
12159556
25055081
75007313
85963250
13276497
14488275
94628666
26754039
36565792...

output:

walk 742713902
walk 855077100
walk 911105378
walk 636469130
walk 94650771
walk 82578917
walk 868984795
walk 925224733
walk 984024698
walk 154217402
walk 850977613
walk 381257460
walk 592179155
walk 702172371
walk 870301429
walk 461533432
walk 327146938
walk 881459483
walk 855585987
walk 791491104
wa...

result:

ok OK, guesses=4805

Test #27:

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

input:

244007577
716462192
645570890
41707710
733396776
91685903
841662823
555081296
361666584
652208076
307144269
197957019
640884484
759290840
287225964
361925466
420782669
326071887
542351479
908405753
334467103
714384553
139465464
258566903
170411094
776332525
762579466
624408224
339353887
788021988
44...

output:

walk 742713902
walk 855077100
walk 911105378
walk 636469130
walk 94650771
walk 82578917
walk 868984795
walk 925224733
walk 984024698
walk 154217402
walk 850977613
walk 381257460
walk 592179155
walk 702172371
walk 870301429
walk 461533432
walk 327146938
walk 881459483
walk 855585987
walk 791491104
wa...

result:

ok OK, guesses=4865

Test #28:

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

input:

787996748
158104269
63720725
480085026
74982025
525015723
429211774
342177538
250186306
336627678
510059712
188582910
228509571
180791005
255847998
253584899
581830287
315136106
319450573
271890586
149647270
189157283
427402598
15811540
575337643
224222495
549139033
456318067
603789251
231436124
688...

output:

walk 742713902
walk 855077100
walk 911105378
walk 636469130
walk 94650771
walk 82578917
walk 868984795
walk 925224733
walk 984024698
walk 154217402
walk 850977613
walk 381257460
walk 592179155
walk 702172371
walk 870301429
walk 461533432
walk 327146938
walk 881459483
walk 855585987
walk 791491104
wa...

result:

ok OK, guesses=5425

Test #29:

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

input:

831388382
216641467
248155120
957894559
438553878
134753216
380011292
22426233
187253963
484640674
454516967
177603786
776794737
163725597
127910463
964978423
840707261
303935825
716651179
317395459
230657864
142043055
897218121
3248709
609391337
148307524
582446119
470363176
325984634
863301383
894...

output:

walk 742713902
walk 855077100
walk 911105378
walk 636469130
walk 94650771
walk 82578917
walk 868984795
walk 925224733
walk 984024698
walk 154217402
walk 850977613
walk 381257460
walk 592179155
walk 702172371
walk 870301429
walk 461533432
walk 327146938
walk 881459483
walk 855585987
walk 791491104
wa...

result:

ok OK, guesses=4898

Test #30:

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

input:

362699601
160604037
1243304
773883716
292882890
716304325
42932408
157891503
390516684
382018232
45322190
243929599
731435408
666800527
264410019
516624671
792436838
30516692
156050410
197198129
34097905
480113096
185117817
809208949
55989848
799651643
799924275
89932267
707243189
189214408
12258178...

output:

walk 742713902
walk 855077100
walk 911105378
walk 636469130
walk 94650771
walk 82578917
walk 868984795
walk 925224733
walk 984024698
walk 154217402
walk 850977613
walk 381257460
walk 592179155
walk 702172371
walk 870301429
walk 461533432
walk 327146938
walk 881459483
walk 855585987
walk 791491104
wa...

result:

ok OK, guesses=4816

Test #31:

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

input:

193677834
178723201
244825006
247887293
282937
786911812
422427059
449510107
247794820
301774382
683136176
615957428
63081145
641012470
718276704
777074228
54868333
603835034
650220144
159564150
60145056
739494925
157271144
227706465
177654868
234335572
461701281
408914087
147730680
217734769
642699...

output:

walk 766945562
walk 844284061
walk 66101805
walk 862300981
walk 611634338
walk 786628875
walk 494753941
walk 886321742
walk 657523407
walk 53979562
walk 381361794
walk 792059946
walk 306362411
walk 577931325
walk 77264234
walk 918036218
walk 137032799
walk 548966701
walk 905623804
walk 368582700
wal...

result:

ok OK, guesses=4840

Test #32:

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

input:

980231319
392841667
301884082
680996609
271900402
506729959
637767608
910858567
412192054
611965502
272019347
952717742
540476068
799969426
226297899
563161073
692297968
758785415
671116176
539115927
15916359
54844702
245409887
785592147
341778694
609423409
495729921
743760311
471345720
694373092
39...

output:

walk 766945562
walk 844284061
walk 66101805
walk 862300981
walk 611634338
walk 786628875
walk 494753941
walk 886321742
walk 657523407
walk 53979562
walk 381361794
walk 792059946
walk 306362411
walk 577931325
walk 77264234
walk 918036218
walk 137032799
walk 548966701
walk 905623804
walk 368582700
wal...

result:

ok OK, guesses=4872

Test #33:

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

input:

766945563
662871299
728973104
642915760
306191773
144462323
639216264
577179681
286344763
340324325
721686119
565387740
871750151
501323151
578587385
548265278
685298077
285906453
243171932
611754632
423215907
154207451
431222364
501657685
362486457
330047530
557413239
415506414
65203376
46087834
47...

output:

walk 766945562
walk 844284061
walk 66101805
walk 862300981
walk 611634338
walk 786628875
walk 494753941
walk 886321742
walk 657523407
walk 53979562
walk 381361794
walk 792059946
walk 306362411
walk 577931325
walk 77264234
walk 918036218
walk 137032799
walk 548966701
walk 905623804
walk 368582700
wal...

result:

ok OK, guesses=5056

Test #34:

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

input:

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

output:

walk 766945562
walk 844284061
walk 66101805
walk 862300981
walk 611634338
walk 786628875
walk 494753941
walk 886321742
walk 657523407
walk 53979562
walk 381361794
walk 792059946
walk 306362411
walk 577931325
walk 77264234
walk 918036218
walk 137032799
walk 548966701
walk 905623804
walk 368582700
wal...

result:

ok OK, guesses=803

Test #35:

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

input:

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

output:

walk 766945562
walk 844284061
walk 66101805
walk 862300981
walk 611634338
walk 786628875
walk 494753941
walk 886321742
walk 657523407
walk 53979562
walk 381361794
walk 792059946
walk 306362411
walk 577931325
walk 77264234
walk 918036218
walk 137032799
walk 548966701
walk 905623804
walk 368582700
wal...

result:

ok OK, guesses=804

Test #36:

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

input:

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

output:

walk 766945562
walk 844284061
walk 66101805
walk 862300981
walk 611634338
walk 786628875
walk 494753941
walk 886321742
walk 657523407
walk 53979562
walk 381361794
walk 792059946
walk 306362411
walk 577931325
walk 77264234
walk 918036218
walk 137032799
walk 548966701
walk 905623804
walk 368582700
wal...

result:

ok OK, guesses=805

Test #37:

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

input:

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

output:

walk 766945562
walk 844284061
walk 66101805
walk 862300981
walk 611634338
walk 786628875
walk 494753941
walk 886321742
walk 657523407
walk 53979562
walk 381361794
walk 792059946
walk 306362411
walk 577931325
walk 77264234
walk 918036218
walk 137032799
walk 548966701
walk 905623804
walk 368582700
wal...

result:

ok OK, guesses=806

Test #38:

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

input:

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

output:

walk 766945562
walk 844284061
walk 66101805
walk 862300981
walk 611634338
walk 786628875
walk 494753941
walk 886321742
walk 657523407
walk 53979562
walk 381361794
walk 792059946
walk 306362411
walk 577931325
walk 77264234
walk 918036218
walk 137032799
walk 548966701
walk 905623804
walk 368582700
wal...

result:

ok OK, guesses=807

Test #39:

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

input:

353
2868
1095
1375
2576
1042
2327
321
2204
2793
1741
2809
256
2645
264
2673
827
615
2636
40
221
183
109
2941
2060
280
35
137
1381
618
1795
2031
745
1455
508
224
690
927
2005
1432
631
325
428
1354
2844
1155
703
894
1246
181
1876
2911
868
443
2385
3
1237
188
2053
2870
663
2384
362
338
2257
2868
2343
2...

output:

walk 766945562
walk 844284061
walk 66101805
walk 862300981
walk 611634338
walk 786628875
walk 494753941
walk 886321742
walk 657523407
walk 53979562
walk 381361794
walk 792059946
walk 306362411
walk 577931325
walk 77264234
walk 918036218
walk 137032799
walk 548966701
walk 905623804
walk 368582700
wal...

result:

ok OK, guesses=3801

Test #40:

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

input:

611
1728
1980
1227
1786
827
1532
538
1003
515
252
910
259
1316
1822
665
1579
1178
1107
190
457
1401
1845
1590
168
1080
100
1359
965
255
503
1958
1938
564
1705
1632
1938
767
1688
261
1915
1382
1549
116
1613
1505
473
1504
1165
168
465
1237
516
1167
738
357
1287
1866
875
585
1382
1581
867
605
326
1351
...

output:

walk 344607176
walk 174856294
walk 958112413
walk 248858520
walk 931328337
walk 158754590
walk 253920755
walk 939750560
walk 272957298
walk 616006445
walk 293172314
walk 598914946
walk 267341551
walk 985911275
walk 129486896
walk 399736865
walk 833801613
walk 626247360
walk 482326478
walk 312508089
...

result:

ok OK, guesses=2801

Test #41:

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

input:

2586
2117
2972
2740
3060
360
2798
2729
1003
80
1161
2588
333
1406
3365
2348
3156
757
3123
2259
2102
1339
2745
2429
2234
2274
3527
652
2989
1394
1857
1473
1695
3077
502
2011
371
1883
2394
249
3765
3522
3579
2785
3346
69
862
2297
3869
3951
1863
1506
1370
1207
3738
3715
2794
174
2939
2459
398
2181
1501...

output:

walk 344607176
walk 174856294
walk 958112413
walk 248858520
walk 931328337
walk 158754590
walk 253920755
walk 939750560
walk 272957298
walk 616006445
walk 293172314
walk 598914946
walk 267341551
walk 985911275
walk 129486896
walk 399736865
walk 833801613
walk 626247360
walk 482326478
walk 312508089
...

result:

ok OK, guesses=4801

Test #42:

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

input:

1903
2999
5066
4633
4809
5084
2920
836
6278
3994
3511
4713
4743
2613
4457
372
5763
1681
5675
2666
6574
4940
5934
4398
5956
2456
5013
996
735
5225
3735
5492
3497
117
2683
4096
1671
1951
1791
3564
2954
4156
598
3427
3739
4385
6241
2469
5579
1517
4089
415
5507
5344
3340
1968
2334
1513
5189
5156
5568
14...

output:

walk 344607176
walk 174856294
walk 958112413
walk 248858520
walk 931328337
walk 158754590
walk 253920755
walk 939750560
walk 272957298
walk 616006445
walk 293172314
walk 598914946
walk 267341551
walk 985911275
walk 129486896
walk 399736865
walk 833801613
walk 626247360
walk 482326478
walk 312508089
...

result:

ok OK, guesses=4801

Test #43:

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

input:

4446
4543
588
1687
6510
1799
4840
6658
727
4271
3480
5187
2042
5071
1074
1481
976
1529
1677
1886
640
111
4153
6137
3515
6500
2776
5093
2448
2530
4613
5464
4313
4658
3479
113
5868
2674
571
3771
1970
3340
4633
6370
4868
369
5263
2947
2372
5730
1405
2188
4294
1931
5529
4535
2074
3251
2578
4070
1478
358...

output:

walk 344607176
walk 174856294
walk 958112413
walk 248858520
walk 931328337
walk 158754590
walk 253920755
walk 939750560
walk 272957298
walk 616006445
walk 293172314
walk 598914946
walk 267341551
walk 985911275
walk 129486896
walk 399736865
walk 833801613
walk 626247360
walk 482326478
walk 312508089
...

result:

ok OK, guesses=4801

Test #44:

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

input:

2692927
2118007
8585513
8456835
7309025
3406906
8176456
4283450
7171733
2039125
946524
8237698
5313361
6655352
615514
3528843
5180440
8038436
2094874
4587253
8596376
4189054
2745237
3687534
6052006
7793812
1247838
325628
896564
4168948
8276369
6135304
4667604
312625
8862929
468344
1835156
1578474
18...

output:

walk 344607176
walk 174856294
walk 958112413
walk 248858520
walk 931328337
walk 158754590
walk 253920755
walk 939750560
walk 272957298
walk 616006445
walk 293172314
walk 598914946
walk 267341551
walk 985911275
walk 129486896
walk 399736865
walk 833801613
walk 626247360
walk 482326478
walk 312508089
...

result:

ok OK, guesses=4804

Test #45:

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

input:

10619976
7637828
4903258
1322917
1411738
585843
6013109
665568
1838906
3467194
4084514
3270388
7107636
3069127
4572781
1019455
6313467
2229638
4892707
3166567
7239751
10028462
2470827
1828876
7623526
3791196
5774693
8044813
6964320
4185426
8918436
7547026
705443
515037
2825019
3769959
2807272
797755...

output:

walk 901440099
walk 72694971
walk 252954673
walk 93191741
walk 744498300
walk 901868776
walk 558827381
walk 268280011
walk 412843243
walk 126200625
walk 401982583
walk 595384075
walk 448233441
walk 468512805
walk 663520884
walk 939780854
walk 981698378
walk 813486628
walk 200270072
walk 212071249
wa...

result:

ok OK, guesses=4801

Test #46:

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

input:

16713800
1364872
7189505
3717043
7056364
14308620
2416211
8068217
15791988
4228044
10787856
9354539
16465554
8385363
14401901
7398335
5234249
5563793
5602973
11809511
4902728
1377468
3362959
13442621
5290986
6091478
8622882
2374833
5283674
3860593
1955468
2588481
8812381
4650071
16628727
15952989
59...

output:

walk 901440099
walk 72694971
walk 252954673
walk 93191741
walk 744498300
walk 901868776
walk 558827381
walk 268280011
walk 412843243
walk 126200625
walk 401982583
walk 595384075
walk 448233441
walk 468512805
walk 663520884
walk 939780854
walk 981698378
walk 813486628
walk 200270072
walk 212071249
wa...

result:

ok OK, guesses=4802

Test #47:

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

input:

423030
4507
383880
557781
691882
61511
168385
327724
782614
367609
694335
245498
217660
655749
452924
737347
57006
214337
576673
273289
145624
52501
650290
557337
775970
258867
404772
67002
363891
75589
408778
671345
111407
97251
66531
292250
258620
575060
655463
92970
95062
169287
555263
234285
670...

output:

walk 901440099
walk 72694971
walk 252954673
walk 93191741
walk 744498300
walk 901868776
walk 558827381
walk 268280011
walk 412843243
walk 126200625
walk 401982583
walk 595384075
walk 448233441
walk 468512805
walk 663520884
walk 939780854
walk 981698378
walk 813486628
walk 200270072
walk 212071249
wa...

result:

ok OK, guesses=4801

Test #48:

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

input:

4485817
21122795
42983601
6924288
27677207
38359871
19794437
16197257
38155987
32246654
53954852
45832902
26679309
47705424
26709074
18422082
40617428
22776272
27144000
7371522
28125115
5401029
37469459
29124552
46955388
13181410
49333673
56199185
32189930
53987514
45377227
19594622
50828726
2227026...

output:

walk 901440099
walk 72694971
walk 252954673
walk 93191741
walk 744498300
walk 901868776
walk 558827381
walk 268280011
walk 412843243
walk 126200625
walk 401982583
walk 595384075
walk 448233441
walk 468512805
walk 663520884
walk 939780854
walk 981698378
walk 813486628
walk 200270072
walk 212071249
wa...

result:

ok OK, guesses=4818

Test #49:

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

input:

78172049
115164825
109616450
111108592
50446420
187780440
159931608
78149443
235094876
91446118
30480747
199080289
28917339
198627193
19183868
106223422
1799265
168938981
23187678
82776583
149343693
178513576
127050242
93650341
186973014
234820918
219277419
221482873
34034923
137527927
60224486
1439...

output:

walk 901440099
walk 72694971
walk 252954673
walk 93191741
walk 744498300
walk 901868776
walk 558827381
walk 268280011
walk 412843243
walk 126200625
walk 401982583
walk 595384075
walk 448233441
walk 468512805
walk 663520884
walk 939780854
walk 981698378
walk 813486628
walk 200270072
walk 212071249
wa...

result:

ok OK, guesses=5199

Test #50:

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

input:

375590604
424461986
195154794
435618893
298109913
419657500
73069483
50508384
436551724
1039245
477913173
507720455
11408513
331637109
11812620
268805372
236600793
447846084
354000177
111455156
180945865
16571727
404727445
330391556
147770830
455763871
212614659
290840524
53465652
105565680
28405124...

output:

walk 30778209
walk 179388555
walk 70259181
walk 778378895
walk 755236287
walk 284043802
walk 24884214
walk 188871473
walk 986068747
walk 432371161
walk 286063567
walk 552351955
walk 411383030
walk 281679435
walk 227577273
walk 272368141
walk 827336435
walk 679131767
walk 315950746
walk 780811003
wal...

result:

ok OK, guesses=5030

Test #51:

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

input:

30778210
210166765
280425946
135226606
890462893
250928460
275812674
464684147
527174659
35967585
322031152
874383107
362187902
643867337
871444610
220234516
123992716
803124483
195496994
52729762
765355598
632705497
48019560
891534290
255647708
917167592
652507210
768802619
829254381
852197570
4623...

output:

walk 30778209
walk 179388555
walk 70259181
walk 778378895
walk 755236287
walk 284043802
walk 24884214
walk 188871473
walk 986068747
walk 432371161
walk 286063567
walk 552351955
walk 411383030
walk 281679435
walk 227577273
walk 272368141
walk 827336435
walk 679131767
walk 315950746
walk 780811003
wal...

result:

ok OK, guesses=5418

Test #52:

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

input:

140078927
126209189
3210077
8555800
184017208
81544424
106428638
102041818
121819100
167673675
67220656
39797732
64664176
153085318
187404298
73255853
127559116
33657711
156350164
164127995
103720659
121615621
73991333
144472891
45647958
127392963
13277644
129573053
190024815
19709711
166925677
1608...

output:

walk 30778209
walk 179388555
walk 70259181
walk 778378895
walk 755236287
walk 284043802
walk 24884214
walk 188871473
walk 986068747
walk 432371161
walk 286063567
walk 552351955
walk 411383030
walk 281679435
walk 227577273
walk 272368141
walk 827336435
walk 679131767
walk 315950746
walk 780811003
wal...

result:

ok OK, guesses=4816

Test #53:

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

input:

194359814
201703611
220331725
66822564
32196150
40052365
160172569
55903575
143111103
49213714
133058469
104778139
213201296
121522684
188662134
175002467
63950785
30745551
200782961
33166262
89618295
120975583
115050112
49987120
124979396
149006316
99343211
76733611
8670884
117132971
218007858
6634...

output:

walk 30778209
walk 179388555
walk 70259181
walk 778378895
walk 755236287
walk 284043802
walk 24884214
walk 188871473
walk 986068747
walk 432371161
walk 286063567
walk 552351955
walk 411383030
walk 281679435
walk 227577273
walk 272368141
walk 827336435
walk 679131767
walk 315950746
walk 780811003
wal...

result:

ok OK, guesses=4995