QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#80039#5309. Guess Cycle Lengthybw051114AC ✓67ms3680kbC++144.9kb2023-02-21 20:18:472023-02-21 20:18:50

详细

Test #1:

score: 100
Accepted
time: 13ms
memory: 3372kb

input:

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

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=3344

Test #2:

score: 0
Accepted
time: 26ms
memory: 3436kb

input:

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

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=3354

Test #3:

score: 0
Accepted
time: 37ms
memory: 3648kb

input:

6561
6147
8899
5642
1153
6523
6332
7546
4369
9825
838
6078
7491
7104
2696
1050
4985
795
8533
2846
1193
8828
8752
2656
5239
9283
3402
5638
752
3738
377
3115
7210
760
638
9216
8833
9679
4581
1692
3907
6902
9283
5354
6164
8338
2107
967
7714
1926
4569
4107
3432
338
123
1903
8171
8126
1626
2274
9570
7726...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6667

Test #4:

score: 0
Accepted
time: 21ms
memory: 3536kb

input:

265576561
46306147
325158899
951115642
773691153
591336523
882966332
348237546
728314369
490209825
309140838
751496078
489627491
432377104
904572696
609361050
777134985
470480795
7278533
184542846
246221193
435518828
693408752
143332656
854365239
1739283
769673402
695295638
915170752
9263738
8113803...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6740

Test #5:

score: 0
Accepted
time: 39ms
memory: 3532kb

input:

267496371
48225957
327078709
953035452
775610963
593256333
884886142
350157356
730234179
492129635
311060648
753415888
491547301
434296914
906492506
611280860
779054795
472400605
9198343
186462656
248141003
437438638
695328562
145252466
856285049
3659093
771593212
697215448
917090562
11183548
813300...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6749

Test #6:

score: 0
Accepted
time: 33ms
memory: 3528kb

input:

178171121
226029843
624070947
272925458
181237905
624958395
912627588
148510466
690779137
753986849
795077150
449434630
459795731
508978232
491382016
435578674
613060169
913638539
752464165
312648566
716134985
298211380
9275928
184814936
995773127
74766915
401168978
144076750
135149928
770130450
492...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6683

Test #7:

score: 0
Accepted
time: 30ms
memory: 3532kb

input:

421796162
343075472
93401536
951115642
773691153
591336523
882966332
41027353
728314369
201833426
77419669
751496078
201283216
259384547
904572696
609361050
777134985
221953640
381642230
472878893
408727610
256193599
693408752
515595395
854365239
384447456
769673402
695295638
915170752
381494089
811...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6740

Test #8:

score: 0
Accepted
time: 28ms
memory: 3532kb

input:

827096319
328974750
645151322
479566591
101233503
782846541
8079000
749055733
161331375
232695265
381022512
585983057
149558718
28905723
414768139
92632442
102687981
827593330
542123076
784407396
99602499
907331403
410827004
366269748
6006518
580971371
689736753
455024452
181976273
180638641
6459875...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6814

Test #9:

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

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 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=3335

Test #10:

score: 0
Accepted
time: 21ms
memory: 3372kb

input:

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

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=3344

Test #11:

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

input:

619
26
102
261
690
791
684
398
983
21
245
324
491
541
58
365
928
673
996
641
984
413
768
932
778
911
865
239
768
308
930
677
319
843
239
601
554
362
83
578
873
182
911
728
288
794
300
346
929
981
131
300
489
794
417
853
967
923
650
555
668
317
80
968
324
507
846
79
667
575
974
129
807
949
979
223
72...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=4334

Test #12:

score: 0
Accepted
time: 40ms
memory: 3508kb

input:

7483
3249
8715
9119
516
7150
4727
6039
4949
3559
4129
6636
1075
6155
7748
9878
7665
7819
3764
7036
5597
7004
2844
9917
8247
5976
4368
2200
9420
6308
6710
66
5277
4510
3231
7847
3431
5258
1668
7890
3864
3288
5976
990
9632
1084
4087
2621
1889
1634
1009
1681
724
5063
3858
8471
5117
3351
5645
4622
8058
...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6667

Test #13:

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

input:

25295
35188
81612
45264
67294
57113
26358
47622
7794
5278
36948
87810
15888
71612
79454
76495
35628
3259
42994
48246
68576
99803
69050
67674
3262
67322
53048
39912
64503
96990
3185
69002
24897
23116
97891
37682
73344
3777
12608
34453
45741
978
40305
38214
2222
48619
67088
60497
9521
28534
30400
1605...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6667

Test #14:

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

input:

970825
501734
588156
240498
743211
906551
109976
184963
785255
47995
588959
100277
810813
107684
924359
798182
739189
102836
196095
551919
452872
876104
516639
897322
60771
632129
50782
607876
742716
246875
379839
646390
395792
947331
63690
336863
7342
56088
687044
199233
415866
130067
480097
932701...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6667

Test #15:

score: 0
Accepted
time: 67ms
memory: 3504kb

input:

6004777
2256550
3438193
9257142
8712573
7780728
3216190
6789777
6422719
1582832
5756083
1304020
5985552
463794
7492203
4599647
1246983
172935
6275856
2429940
6106306
5840748
3405550
5469299
7683061
9533800
3867074
3745434
9964029
3481819
4654170
8330344
4551165
2243628
4383708
8992798
5381057
100242...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6668

Test #16:

score: 0
Accepted
time: 46ms
memory: 3532kb

input:

7486765
24772957
78076218
51559098
89277848
19238725
65294837
57487886
37922987
63064018
39228084
68506147
63026038
93194816
32649905
23662394
71217109
94982007
53521279
76303051
38296871
67579025
74396647
80868173
11947462
19618809
65548648
70219270
60914055
17013695
64275305
10511744
43548082
6926...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6672

Test #17:

score: 0
Accepted
time: 39ms
memory: 3532kb

input:

206821461
688732328
861222460
555981299
345667382
631752434
903863043
173958043
38792813
142368221
874997176
230417898
967518318
524660011
288090785
430820150
339593971
608386300
612196232
418480926
428178933
930338009
323733250
117207730
533381827
836539295
924677060
900295951
594234558
928040393
5...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6733

Test #18:

score: 0
Accepted
time: 33ms
memory: 3532kb

input:

438074181
331548435
594870040
533125546
734911792
571586758
800190388
426104565
19884177
92265866
743493264
348383595
252172149
720546061
498130414
479450262
620885117
136778088
461431486
225791894
265114802
439700874
209964541
310343096
723928791
261270661
732020084
189557356
623855196
898874183
17...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6713

Test #19:

score: 0
Accepted
time: 37ms
memory: 3536kb

input:

111016127
56017968
91389521
45097344
114315155
123969910
95622474
11868531
225822861
214555777
70721033
40057681
212274710
57392359
66401766
75468820
263541726
65616818
46010458
182785400
157602221
158142508
203004093
187163524
157106400
214532138
39377813
160122094
97637596
146155749
159394085
2710...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6678

Test #20:

score: 0
Accepted
time: 42ms
memory: 3616kb

input:

267411610
212798375
83417260
148874697
157119179
76812733
393928761
136646563
117703046
159164015
220516492
362964228
368846217
55657214
341465096
125640852
198959586
279976462
371615755
23901314
133977326
393141950
200573613
153535933
93475184
15447517
184834591
247308815
298760738
377178641
382679...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6704

Test #21:

score: 0
Accepted
time: 28ms
memory: 3464kb

input:

77550597
124248670
54861018
23043689
60710408
140528396
33683220
5331091
45374562
44822305
86169371
115170608
43574302
37633893
102282795
27452192
143642719
30527750
15954771
119914074
50800881
14818639
4872357
63755018
91241865
24189509
85077406
39957245
97356971
46318530
94994790
53431200
90305092...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6670

Test #22:

score: 0
Accepted
time: 21ms
memory: 3528kb

input:

15390640
105344063
44925513
272950051
293934273
163782290
219087020
320967119
141487924
41770150
105368243
322108666
194942426
150654083
234160092
279263350
212391366
59486484
234840113
76220763
149777209
292066917
156968361
71678998
147653176
218121493
127687617
211006294
244662169
92896354
2797026...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6698

Test #23:

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

input:

911637155
417409887
840169388
328231210
36019677
26569847
780267945
747040121
486136822
681280777
795777818
884826145
699507642
74336545
983473057
513438238
363190431
831852603
784800450
794864486
672673228
191272581
669334097
731443956
645029719
365686336
957501608
837766983
927658411
170343971
900...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6788

Test #24:

score: 0
Accepted
time: 39ms
memory: 3536kb

input:

811604418
346363212
552485221
258784663
6087931
256239970
709384241
776142162
555971788
101764911
387805220
701804630
862764393
653214527
610515200
984092601
884863868
709873078
638025387
598941641
501893308
301779684
320984831
602714157
291646575
20819110
23639749
154891063
714914786
531018448
1692...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6686

Test #25:

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

input:

595220759
666476291
387870128
624024972
524242319
233158252
459870484
734472332
140131000
43743764
402207933
297337607
211881531
370342130
127469883
427684361
603504473
358043379
29880656
673690971
473648198
68346863
662313049
670235793
87968956
473714222
186293118
153695610
61240481
208068468
47232...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6685

Test #26:

score: 0
Accepted
time: 35ms
memory: 3540kb

input:

29796951
16134539
36507198
97955847
28571728
84744017
83065239
72999106
37813308
92443267
12998321
60377935
74444311
53265209
87609210
105988729
30418564
34225518
93815594
64505476
16583099
17774059
93383284
46117130
48955001
106382060
30659699
101669322
84338951
70234123
79882735
71394913
43698989
...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6671

Test #27:

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

input:

809064360
818372386
125873113
301534871
827993967
849688937
942442236
706557750
253084828
259366544
434123327
578288367
624048555
420645538
617589510
133850139
264764804
157432414
66801252
448059075
690843207
162533042
642342776
78013650
48795498
105397357
220962976
459505917
850178126
938891822
778...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6689

Test #28:

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

input:

47249127
830718656
449751673
401597315
623287663
120946079
608793820
704126340
500815198
54457850
285427507
621418603
180518713
612930677
501426635
656132855
687019773
547810679
360134538
413955541
267306698
151017061
528551754
550181984
412343020
509712721
388036396
308619916
467166993
549353850
72...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6670

Test #29:

score: 0
Accepted
time: 24ms
memory: 3532kb

input:

57071965
30928333
281879399
841171604
10851341
406912930
750457412
284958069
613029593
938486730
865812834
944561697
818441146
750982367
651873203
93465337
774230269
585281119
443734435
823786046
504945901
843753616
139183288
961756006
268484935
990069263
158437014
194662451
651453589
205709270
9391...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6679

Test #30:

score: 0
Accepted
time: 25ms
memory: 3568kb

input:

470492882
356004591
779935204
548537657
471197375
818346205
659456331
331910363
764259516
463539606
254910703
642788015
797792540
264297707
572348172
730636695
476444728
521080780
133084969
312823185
467994185
398560507
799149628
189449727
127325889
424950982
498929290
457994972
752314612
826141700
...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6670

Test #31:

score: 0
Accepted
time: 36ms
memory: 3536kb

input:

551547526
473038418
751891170
518609219
481946036
440352712
731982521
338015041
718091864
620748626
580440945
163557491
42450210
125961129
598156721
443706381
611480316
445587432
123146476
300410789
362089136
551386771
809276695
399961905
251755794
399129838
307825263
374208805
594083919
688176905
6...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6756

Test #32:

score: 0
Accepted
time: 24ms
memory: 3656kb

input:

304310341
574039118
491493015
182748539
960159932
385807624
140114411
269113657
958376120
265334582
98163777
793941062
13919064
254332056
583082732
78426099
525661200
13811691
21771280
300424793
933967187
354009757
934957936
782413710
419999772
894976855
633364797
809174416
50123925
574514723
244663...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6732

Test #33:

score: 0
Accepted
time: 27ms
memory: 3536kb

input:

265576561
97947822
376800574
54398992
876974503
746261548
89533032
554804246
934881069
748418200
618990888
112987803
851119216
845510504
369347771
125777800
293551735
38539220
575336958
752601271
814279618
55218928
313108852
763032756
525707014
673081058
492656852
469920763
689795877
783888863
63764...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6720

Test #34:

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

input:

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

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=3336

Test #35:

score: 0
Accepted
time: 43ms
memory: 3372kb

input:

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

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=3337

Test #36:

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

input:

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

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=3338

Test #37:

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

input:

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

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=3339

Test #38:

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

input:

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

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=3340

Test #39:

score: 0
Accepted
time: 44ms
memory: 3492kb

input:

151
631
279
1556
1993
859
2444
2265
243
1966
76
489
1733
1118
771
2355
264
2836
2684
1724
418
156
1060
2416
56
694
650
2394
2807
1620
2798
731
239
347
2757
372
1611
2814
1613
2653
1136
1214
974
2005
1709
414
1488
1425
1287
1282
300
474
2608
2096
1405
1519
2288
937
1633
1603
2333
62
2754
2816
489
412...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6334

Test #40:

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

input:

1409
913
1701
65
1031
526
620
1831
1442
293
124
1109
1538
422
759
1223
524
218
1720
724
702
1967
899
846
792
1433
282
1636
899
616
1716
77
1000
1748
1871
1206
1416
1201
1377
484
784
1585
1433
1055
909
883
1079
1379
540
1589
498
1079
1850
883
242
703
41
1419
1958
794
1783
1308
635
1919
1109
521
1183
...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=5334

Test #41:

score: 0
Accepted
time: 41ms
memory: 3520kb

input:

3778
3104
658
660
3549
1733
3917
2021
2714
3985
3528
2820
438
89
2105
2161
3378
1623
3530
3130
2338
454
1791
2197
3067
1460
1423
1264
722
2872
3882
2349
1395
796
1428
3968
3930
619
196
23
2761
3377
3997
3236
3044
2318
1045
3593
2783
1075
2542
1045
2170
71
429
2519
3198
921
1473
1309
3719
128
2723
26...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6667

Test #42:

score: 0
Accepted
time: 37ms
memory: 3532kb

input:

999
2131
2144
726
1464
6300
890
567
6231
4422
672
4048
2366
5715
5179
3802
4566
3731
6417
901
2083
3
2275
4666
6492
34
1953
4255
5823
2606
4978
5470
5716
29
1089
2178
4822
852
3358
6440
3047
3867
2281
1213
805
3718
5238
38
3561
5384
3318
4412
1864
3160
2564
2663
1111
2759
3860
4385
989
4694
6204
496...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6667

Test #43:

score: 0
Accepted
time: 24ms
memory: 3532kb

input:

5165
2159
4735
4800
907
5965
309
55
3437
2287
91
1777
4020
3069
2372
2320
4756
850
1129
77
5914
4546
4390
3738
5106
744
2042
4342
5380
1252
773
716
3597
4319
4866
5364
552
4541
1791
1172
147
817
1642
6137
3709
2902
4027
2919
1849
5393
1522
1242
1768
3564
3204
706
5005
2098
1282
1186
3697
5076
2603
6...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6667

Test #44:

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

input:

2193769
2720821
727865
1667315
2837984
4683609
4870411
983501
3703676
3397005
4944716
1217114
3009978
3079253
1639693
6575278
5852167
6393393
5629368
5221285
6020768
1492888
4896594
2157054
1228450
7286626
8498754
5843534
8603460
6500859
1216454
4891161
6579176
4837252
7393891
5721271
3724905
739183...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6667

Test #45:

score: 0
Accepted
time: 55ms
memory: 3504kb

input:

504748
7335298
3350721
3933199
7372833
1357001
10150528
3914495
10547638
7824814
10034024
6840632
978265
8271788
9237951
5578441
3862152
5102764
3232429
2998017
3213864
10169925
11929
4665158
993221
5321440
946373
281976
8590026
1931651
4232778
8639281
10053626
3147561
6264788
9756783
9802622
603543...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6668

Test #46:

score: 0
Accepted
time: 43ms
memory: 3568kb

input:

11172859
12918687
810730
1534779
444520
14280000
10484570
3907662
11555889
19254964
14800244
5990252
11268649
9321053
13197484
7685237
3207290
8716089
12002149
5187891
13413464
10206699
1564186
14321534
11107465
973867
6129546
3022802
10208337
3728365
16019657
13216887
7095237
18055946
12919015
1553...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6667

Test #47:

score: 0
Accepted
time: 25ms
memory: 3676kb

input:

129184
424926
551395
726587
668708
705190
236189
251311
286082
575265
758571
461768
606947
470901
640478
741606
569867
9468
63512
618658
159944
406310
593905
600102
281661
611012
714546
143314
520612
395428
701063
540813
752204
2384
364400
665741
411155
172065
811352
756103
687997
620904
624628
1302...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6667

Test #48:

score: 0
Accepted
time: 24ms
memory: 3528kb

input:

44011421
32231546
8617484
58201529
52540112
17873131
42009893
44140401
28260805
55075419
56925284
41173636
54340361
31953086
57399993
4872017
27390753
11079387
35431220
31594172
3907180
28656579
53874107
49512232
41866118
30384998
35306721
37858359
26215653
11788827
27213904
40688281
11587511
332444...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6676

Test #49:

score: 0
Accepted
time: 35ms
memory: 3512kb

input:

47597951
34395175
95350792
146975246
47955552
105595213
113272828
136008057
134804889
97165371
237197581
214138623
77060198
147360089
49071265
238363484
73936757
4094059
131120625
105839502
13232260
170202865
77213879
81408789
144269847
197692137
89824643
124939087
164288466
158319737
228167533
1079...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6713

Test #50:

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

input:

490634410
81572040
112713149
58310672
92925069
147002298
60477866
56614655
338368213
372752724
302246171
505685959
41816396
414822413
120420203
390974763
440467870
286792827
380289194
179822495
395286522
9188931
361610344
448824835
502113924
451638176
360626630
365246247
443120884
383448075
20464542...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6677

Test #51:

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

input:

265576561
122727912
401580664
103959172
2956448
820601818
188653392
653924606
110423194
872318650
767671428
286448433
101001611
120172989
592368581
373578700
541352635
311120210
847917948
101604026
163282373
352580008
610469932
136815601
847848184
71643993
839578112
841622113
137918992
232011978
110...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6691

Test #52:

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

input:

181618985
189315399
81651565
127833429
177375768
28729673
127101189
12597524
6157761
188278338
40917886
96756540
61854781
38312929
123991935
55747117
30262759
143833690
100856549
84862569
146540916
142580258
13953596
77360914
15360325
162734369
157635316
116966087
143582908
44417601
73501068
5150551...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6678

Test #53:

score: 0
Accepted
time: 42ms
memory: 3540kb

input:

179172431
110059163
227158875
161494642
202146225
329020
5247072
47763753
118531005
115680932
41482712
132219616
44257433
173613443
39415253
96409514
122960691
149311064
100524822
85166378
126687857
118723859
36142368
95979994
109456386
212001834
51053631
22738845
91738296
79918812
178929332
1792267...

output:

walk 265576560
walk 780729586
walk 278852752
walk 625956743
walk 822575511
walk 817645370
walk 291629809
walk 465271214
walk 380076823
walk 761895456
walk 818931013
walk 442355240
walk 738131413
walk 942749613
walk 472195592
walk 704788354
walk 167773935
walk 693345810
walk 536797738
walk 177264313
...

result:

ok OK, guesses=6683