QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#745171#5309. Guess Cycle LengthShui_DreamAC ✓19ms4356kbC++23739b2024-11-14 08:00:032024-11-14 08:00:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 5ms
memory: 3668kb

input:

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

output:

walk 251098270
walk 457626522
walk 4323096
walk 783669627
walk 25702384
walk 437009192
walk 872400535
walk 631783399
walk 113460700
walk 929186194
walk 194111167
walk 472000337
walk 395743631
walk 178864842
walk 521726159
walk 586343977
walk 847615042
walk 816103455
walk 550222725
walk 776879962
wal...

result:

ok OK, guesses=3344

Test #2:

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

input:

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

output:

walk 251098270
walk 457626522
walk 4323096
walk 783669627
walk 25702384
walk 437009192
walk 872400535
walk 631783399
walk 113460700
walk 929186194
walk 194111167
walk 472000337
walk 395743631
walk 178864842
walk 521726159
walk 586343977
walk 847615042
walk 816103455
walk 550222725
walk 776879962
wal...

result:

ok OK, guesses=3354

Test #3:

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

input:

8271
4793
7889
7516
9900
9092
9627
3026
3726
9920
1087
1424
5055
9897
6056
33
5075
8530
1255
1217
5882
2604
6245
4886
9928
1287
6014
5817
1480
8861
7016
6366
2402
9698
615
2527
9261
7320
2019
2536
9483
3948
6494
7085
5245
931
3704
7703
7741
2871
943
6548
2163
6917
7554
4988
8021
9497
9337
6713
5274
...

output:

walk 251098270
walk 457626522
walk 4323096
walk 783669627
walk 25702384
walk 437009192
walk 872400535
walk 631783399
walk 113460700
walk 929186194
walk 194111167
walk 472000337
walk 395743631
walk 178864842
walk 521726159
walk 586343977
walk 847615042
walk 816103455
walk 550222725
walk 776879962
wal...

result:

ok OK, guesses=6667

Test #4:

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

input:

302198049
430204130
465994814
542461174
480452509
446480340
16007861
154885376
306733085
579337734
531748469
246610583
295911536
218862408
937410163
647121339
939683555
888978554
218425645
949750849
372878289
308340838
552456392
614700938
667942478
541485643
278307523
90836584
531485245
848413767
39...

output:

walk 302198048
walk 128006081
walk 35790684
walk 76466360
walk 937991335
walk 966027831
walk 569527521
walk 138877515
walk 151847709
walk 272604649
walk 952410735
walk 714862114
walk 49300953
walk 922950872
walk 718547755
walk 709711176
walk 292562216
walk 949294999
walk 329447091
walk 731325204
wal...

result:

ok OK, guesses=6704

Test #5:

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

input:

304117859
432123940
467914624
544380984
482372319
448400150
17927671
156805186
308652895
581257544
533668279
248530393
297831346
220782218
939329973
649041149
941603365
890898364
220345455
951670659
374798099
310260648
554376202
616620748
669862288
543405453
280227333
92756394
533405055
850333577
39...

output:

walk 302198048
walk 128006081
walk 35790684
walk 76466360
walk 937991335
walk 966027831
walk 569527521
walk 138877515
walk 151847709
walk 272604649
walk 952410735
walk 714862114
walk 49300953
walk 922950872
walk 718547755
walk 709711176
walk 292562216
walk 949294999
walk 329447091
walk 731325204
wal...

result:

ok OK, guesses=6674

Test #6:

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

input:

39550497
109963834
463982902
264248622
50009917
50023004
444611221
501086376
915623869
62519742
434314837
737087015
413036696
423685040
194272675
843302827
371047059
434084882
988326989
101996097
432432977
53477150
772988208
716914850
473247430
435592635
85825395
344266192
149076189
987818583
178946...

output:

walk 302198048
walk 128006081
walk 35790684
walk 76466360
walk 937991335
walk 966027831
walk 569527521
walk 138877515
walk 151847709
walk 272604649
walk 952410735
walk 714862114
walk 49300953
walk 922950872
walk 718547755
walk 709711176
walk 292562216
walk 949294999
walk 329447091
walk 731325204
wal...

result:

ok OK, guesses=6770

Test #7:

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

input:

120816850
257166609
225848685
542461174
173233742
208467495
373586694
537597107
83368398
579337734
159489862
411222884
122911043
440134267
937410163
647121339
939683555
888978554
439652478
949750849
17420834
76583317
552456392
614700938
667942478
541485643
107404016
328886171
159230830
848413767
224...

output:

walk 302198048
walk 128006081
walk 35790684
walk 76466360
walk 937991335
walk 966027831
walk 569527521
walk 138877515
walk 151847709
walk 272604649
walk 952410735
walk 714862114
walk 49300953
walk 922950872
walk 718547755
walk 709711176
walk 292562216
walk 949294999
walk 329447091
walk 731325204
wal...

result:

ok OK, guesses=6704

Test #8:

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

input:

982061959
17983570
96344220
560739809
565305481
641976631
660776729
426127149
40437278
666390925
505910570
878951658
166854577
357254453
222984711
711832323
574588497
343342344
118810251
418299395
916365588
100896221
899046711
41557581
955653753
550238346
67095398
313667959
399372788
141330182
84991...

output:

walk 302198048
walk 128006081
walk 35790684
walk 76466360
walk 937991335
walk 966027831
walk 569527521
walk 138877515
walk 151847709
walk 272604649
walk 952410735
walk 714862114
walk 49300953
walk 922950872
walk 718547755
walk 709711176
walk 292562216
walk 949294999
walk 329447091
walk 731325204
wal...

result:

ok OK, guesses=6752

Test #9:

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

input:

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
...

output:

walk 374872977
walk 705672935
walk 379268863
walk 312584815
walk 809700875
walk 946839823
walk 295797407
walk 273877783
walk 336804893
walk 708817995
walk 857049692
walk 962378239
walk 708449050
walk 832058247
walk 535580759
walk 658111854
walk 842983131
walk 428958073
walk 667197518
walk 228397234
...

result:

ok OK, guesses=3335

Test #10:

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

input:

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

output:

walk 374872977
walk 705672935
walk 379268863
walk 312584815
walk 809700875
walk 946839823
walk 295797407
walk 273877783
walk 336804893
walk 708817995
walk 857049692
walk 962378239
walk 708449050
walk 832058247
walk 535580759
walk 658111854
walk 842983131
walk 428958073
walk 667197518
walk 228397234
...

result:

ok OK, guesses=3344

Test #11:

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

input:

839
750
235
718
160
606
58
514
380
487
222
625
833
55
728
694
620
107
286
288
483
969
461
606
26
150
201
575
129
630
816
980
979
286
90
463
649
319
36
206
742
835
149
881
222
725
933
617
574
741
39
491
688
557
70
876
403
634
447
758
814
975
176
978
531
658
251
871
227
730
837
251
211
140
59
339
525
...

output:

walk 374872977
walk 705672935
walk 379268863
walk 312584815
walk 809700875
walk 946839823
walk 295797407
walk 273877783
walk 336804893
walk 708817995
walk 857049692
walk 962378239
walk 708449050
walk 832058247
walk 535580759
walk 658111854
walk 842983131
walk 428958073
walk 667197518
walk 228397234
...

result:

ok OK, guesses=4334

Test #12:

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

input:

9272
5425
6336
3372
5380
4002
3789
6385
6193
8466
6760
9469
787
727
7334
9466
6601
4159
6799
3491
176
1095
7956
3876
440
5860
3472
6307
451
6061
5548
5816
772
1190
6311
6306
9764
5277
5461
6936
7915
464
1280
8170
7904
7989
5524
8299
4190
2716
234
764
7329
6109
6110
2337
314
5409
3561
8051
4419
3263
...

output:

walk 374872977
walk 705672935
walk 379268863
walk 312584815
walk 809700875
walk 946839823
walk 295797407
walk 273877783
walk 336804893
walk 708817995
walk 857049692
walk 962378239
walk 708449050
walk 832058247
walk 535580759
walk 658111854
walk 842983131
walk 428958073
walk 667197518
walk 228397234
...

result:

ok OK, guesses=6667

Test #13:

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

input:

86086
79994
69690
32574
93524
7911
46616
92836
73010
44117
13890
68374
43413
14588
35978
31350
70615
38294
31070
50409
757
56998
87793
12756
99900
52824
25462
89268
71863
81309
44603
20912
27708
11573
8269
53528
10325
90920
67613
95868
46241
27246
31086
86732
28962
79297
17552
35097
78826
85900
5574...

output:

walk 374872977
walk 705672935
walk 379268863
walk 312584815
walk 809700875
walk 946839823
walk 295797407
walk 273877783
walk 336804893
walk 708817995
walk 857049692
walk 962378239
walk 708449050
walk 832058247
walk 535580759
walk 658111854
walk 842983131
walk 428958073
walk 667197518
walk 228397234
...

result:

ok OK, guesses=6667

Test #14:

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

input:

925302
29847
371874
770591
193276
940133
162663
534659
975265
69584
165730
533391
138991
909019
221273
844066
739773
307275
425426
449685
156356
764129
701830
120405
822949
508545
983065
653988
366149
4090
344365
437775
622347
976659
389192
50453
21359
963354
34631
166843
53586
470967
14561
165788
2...

output:

walk 374872977
walk 705672935
walk 379268863
walk 312584815
walk 809700875
walk 946839823
walk 295797407
walk 273877783
walk 336804893
walk 708817995
walk 857049692
walk 962378239
walk 708449050
walk 832058247
walk 535580759
walk 658111854
walk 842983131
walk 428958073
walk 667197518
walk 228397234
...

result:

ok OK, guesses=6667

Test #15:

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

input:

3160670
3119167
3171656
365844
2498032
8146700
5192410
6967540
8287471
17558
3305553
7963811
4876002
6234122
5061146
8916946
4667762
1886414
4883095
2118234
9579003
6326711
1754657
8566896
9923957
7886595
9895338
5461778
5781309
4081160
3271290
8898859
8807612
6489502
4841795
2849422
2898687
1601120...

output:

walk 374872977
walk 705672935
walk 379268863
walk 312584815
walk 809700875
walk 946839823
walk 295797407
walk 273877783
walk 336804893
walk 708817995
walk 857049692
walk 962378239
walk 708449050
walk 832058247
walk 535580759
walk 658111854
walk 842983131
walk 428958073
walk 667197518
walk 228397234
...

result:

ok OK, guesses=6667

Test #16:

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

input:

30889116
62513851
83964559
76779807
43254707
66498087
59126051
10109673
6363492
27500247
25207407
18494076
31211732
46511827
67366820
68956920
50234234
17489651
99089019
13069548
61565980
99586948
20832116
89132463
55667410
50369412
18583776
81034697
25294106
27591138
46285344
42897803
12482974
4844...

output:

walk 47927827
walk 501905259
walk 198035424
walk 370127444
walk 583514795
walk 740699918
walk 244654569
walk 8714439
walk 561678093
walk 483310172
walk 133189696
walk 990402910
walk 405553083
walk 557989907
walk 236389686
walk 282671439
walk 559385334
walk 243119634
walk 683421453
walk 438821320
wal...

result:

ok OK, guesses=6686

Test #17:

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

input:

145439030
875049850
82991749
921216931
676009765
787710326
423492978
528074693
767088087
333502149
67588610
724840413
293734517
957590353
124149768
114416989
54758081
990122473
666122023
326850926
838936337
168477902
138530469
406043025
953599660
809830853
444229643
141228566
23021758
763077706
9772...

output:

walk 47927827
walk 501905259
walk 198035424
walk 370127444
walk 583514795
walk 740699918
walk 244654569
walk 8714439
walk 561678093
walk 483310172
walk 133189696
walk 990402910
walk 405553083
walk 557989907
walk 236389686
walk 282671439
walk 559385334
walk 243119634
walk 683421453
walk 438821320
wal...

result:

ok OK, guesses=6976

Test #18:

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

input:

874686958
743022140
176564592
682113284
911069041
492262655
433792389
871776836
31618078
238675382
731633300
590333672
325872390
398818464
203128673
11557682
448878933
718656587
117536856
647641593
674137092
317965291
684898131
913583526
826940983
729430309
427678903
416607750
125751337
46648503
568...

output:

walk 47927827
walk 501905259
walk 198035424
walk 370127444
walk 583514795
walk 740699918
walk 244654569
walk 8714439
walk 561678093
walk 483310172
walk 133189696
walk 990402910
walk 405553083
walk 557989907
walk 236389686
walk 282671439
walk 559385334
walk 243119634
walk 683421453
walk 438821320
wal...

result:

ok OK, guesses=6715

Test #19:

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

input:

94880959
212713417
143235744
225174566
185926853
41928963
20431
62284146
109256575
78591657
49347617
2581123
251958248
183728822
36831020
76294170
246577712
35882977
78288169
71282847
128256223
94805805
123246280
27886563
259053891
180906400
22685550
257892087
161364552
53718917
30928417
226946477
2...

output:

walk 47927827
walk 501905259
walk 198035424
walk 370127444
walk 583514795
walk 740699918
walk 244654569
walk 8714439
walk 561678093
walk 483310172
walk 133189696
walk 990402910
walk 405553083
walk 557989907
walk 236389686
walk 282671439
walk 559385334
walk 243119634
walk 683421453
walk 438821320
wal...

result:

ok OK, guesses=6695

Test #20:

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

input:

230253450
212349822
115899911
275760205
311983630
95916272
54844547
116736194
364322098
302737326
15516801
4253499
337120475
34542800
240374341
344368318
289864440
268491545
7025572
316273718
312835152
328545097
147061155
339159579
321596941
338795205
232586033
85864354
25247589
91741568
186049714
7...

output:

walk 660361065
walk 528360299
walk 40101707
walk 180937754
walk 254557345
walk 264552177
walk 156460067
walk 287159182
walk 60893282
walk 233478708
walk 482433287
walk 465984232
walk 316188282
walk 862488618
walk 343186752
walk 111992539
walk 833645061
walk 96323209
walk 611931066
walk 553772857
wal...

result:

ok OK, guesses=6703

Test #21:

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

input:

149096356
94105766
129373325
102641619
132085924
82163030
145663799
39971441
17119308
128885318
80844736
97057411
120778334
104897917
14516927
68134384
63047820
105362392
13983273
43183629
1315111
66730898
97726536
29684935
145317870
72256876
24314086
125698698
77623052
117473627
141519937
15080743
...

output:

walk 660361065
walk 528360299
walk 40101707
walk 180937754
walk 254557345
walk 264552177
walk 156460067
walk 287159182
walk 60893282
walk 233478708
walk 482433287
walk 465984232
walk 316188282
walk 862488618
walk 343186752
walk 111992539
walk 833645061
walk 96323209
walk 611931066
walk 553772857
wal...

result:

ok OK, guesses=6668

Test #22:

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

input:

294238094
249706123
300268987
12436439
102205912
121524082
43147545
160927736
23409695
246829651
91282553
291446966
15101954
82817629
98178050
135492690
216632825
106135900
218430683
316084976
82554961
291562510
40333241
240920742
229046809
71153186
73179762
277097340
219469774
96454644
285300429
27...

output:

walk 660361065
walk 528360299
walk 40101707
walk 180937754
walk 254557345
walk 264552177
walk 156460067
walk 287159182
walk 60893282
walk 233478708
walk 482433287
walk 465984232
walk 316188282
walk 862488618
walk 343186752
walk 111992539
walk 833645061
walk 96323209
walk 611931066
walk 553772857
wal...

result:

ok OK, guesses=6699

Test #23:

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

input:

261754018
359706919
93865554
122921410
136771844
762276582
736704357
918409292
522499676
376781712
663272530
137156271
815114075
235894434
332144993
979086049
947479104
860941488
85288620
904537950
277709611
13799690
433923581
510580572
449798312
264137259
655305662
448417495
518832357
586740217
738...

output:

walk 660361065
walk 528360299
walk 40101707
walk 180937754
walk 254557345
walk 264552177
walk 156460067
walk 287159182
walk 60893282
walk 233478708
walk 482433287
walk 465984232
walk 316188282
walk 862488618
walk 343186752
walk 111992539
walk 833645061
walk 96323209
walk 611931066
walk 553772857
wal...

result:

ok OK, guesses=6713

Test #24:

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

input:

302232713
913053234
793950079
252658133
133745859
387552772
7357259
905811469
518119326
697287440
842649315
435487450
164195380
107358566
183175875
840019524
260572308
345783544
590466893
524193481
799150303
240233772
859002159
951881284
498379068
583478682
658971011
733483112
557359141
339559038
47...

output:

walk 660361065
walk 528360299
walk 40101707
walk 180937754
walk 254557345
walk 264552177
walk 156460067
walk 287159182
walk 60893282
walk 233478708
walk 482433287
walk 465984232
walk 316188282
walk 862488618
walk 343186752
walk 111992539
walk 833645061
walk 96323209
walk 611931066
walk 553772857
wal...

result:

ok OK, guesses=6760

Test #25:

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

input:

439882609
236633476
717917290
219114030
23423854
26494487
504544406
678127918
501679611
592772810
321172566
102777074
182668762
731032017
246531408
217231513
500061568
575335019
114981853
170294155
718327151
341888335
258507550
211487692
430392780
640570880
198462179
419949313
746128940
555307711
24...

output:

walk 865821182
walk 876540800
walk 186737521
walk 123584494
walk 881706935
walk 637338649
walk 248100474
walk 773400523
walk 546862511
walk 559147990
walk 871766155
walk 150039986
walk 333234319
walk 140230862
walk 642937724
walk 886980201
walk 563756652
walk 103887861
walk 566838505
walk 650724466
...

result:

ok OK, guesses=6748

Test #26:

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

input:

14302950
73156389
53896706
68540670
14358440
23001706
9765562
54867505
83056497
79574077
100841258
105671747
63978447
46264035
61322656
49751414
74041799
67715085
110349515
70503156
51659871
2980912
63188001
25790393
86704227
64057100
57546376
46320234
112459055
72958030
120326063
110621663
78782060...

output:

walk 865821182
walk 876540800
walk 186737521
walk 123584494
walk 881706935
walk 637338649
walk 248100474
walk 773400523
walk 546862511
walk 559147990
walk 871766155
walk 150039986
walk 333234319
walk 140230862
walk 642937724
walk 886980201
walk 563756652
walk 103887861
walk 566838505
walk 650724466
...

result:

ok OK, guesses=6670

Test #27:

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

input:

730594757
518474942
851502978
736683467
731320267
857071581
620732575
482212578
732610249
190107409
329279884
306418225
801660334
236728661
891477205
585893761
696051428
806574134
549411139
691663480
335514019
40201361
579340705
235142670
927673238
423419502
61441593
827247231
602898194
210187465
35...

output:

walk 865821182
walk 876540800
walk 186737521
walk 123584494
walk 881706935
walk 637338649
walk 248100474
walk 773400523
walk 546862511
walk 559147990
walk 871766155
walk 150039986
walk 333234319
walk 140230862
walk 642937724
walk 886980201
walk 563756652
walk 103887861
walk 566838505
walk 650724466
...

result:

ok OK, guesses=6793

Test #28:

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

input:

446919887
553671979
284084439
558823984
423982203
330720820
506893306
523475795
196493562
797235460
445306288
133837451
533905839
507586780
394913973
635452141
340474090
749851839
744130657
808566065
170997774
32744495
44488927
760659254
621431049
130472036
637657970
432873307
147075728
269899605
73...

output:

walk 865821182
walk 876540800
walk 186737521
walk 123584494
walk 881706935
walk 637338649
walk 248100474
walk 773400523
walk 546862511
walk 559147990
walk 871766155
walk 150039986
walk 333234319
walk 140230862
walk 642937724
walk 886980201
walk 563756652
walk 103887861
walk 566838505
walk 650724466
...

result:

ok OK, guesses=6694

Test #29:

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

input:

679168862
422699206
977417201
563302270
434604100
472507675
952595796
179588234
386769762
980765824
3122760
694028923
844419718
489339316
730706248
496775452
616266849
632217821
458127370
220236534
57020103
664023466
911184999
312534809
505638588
713419233
317309885
219817441
312558745
245445420
656...

output:

walk 865821182
walk 876540800
walk 186737521
walk 123584494
walk 881706935
walk 637338649
walk 248100474
walk 773400523
walk 546862511
walk 559147990
walk 871766155
walk 150039986
walk 333234319
walk 140230862
walk 642937724
walk 886980201
walk 563756652
walk 103887861
walk 566838505
walk 650724466
...

result:

ok OK, guesses=6680

Test #30:

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

input:

493433663
718508472
85930896
761632803
25352064
648118237
361308217
666215837
170636356
246848428
122535979
174365019
242960104
448905519
146785688
689799358
47787646
422042866
677788060
750678545
223146010
460089116
70426543
464930300
652303842
708830849
159950560
676409347
8741567
172866470
731150...

output:

walk 865821182
walk 876540800
walk 186737521
walk 123584494
walk 881706935
walk 637338649
walk 248100474
walk 773400523
walk 546862511
walk 559147990
walk 871766155
walk 150039986
walk 333234319
walk 140230862
walk 642937724
walk 886980201
walk 563756652
walk 103887861
walk 566838505
walk 650724466
...

result:

ok OK, guesses=6732

Test #31:

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

input:

777558757
148596824
349377489
628505520
718774648
798437916
212737142
468239218
426317609
212015914
858415662
327297963
762981466
652126622
830703721
264776857
276723987
350439604
795967233
567613246
572596653
66045869
104146812
390023529
397573863
586206230
42478813
851900938
662542048
652369684
17...

output:

walk 491587791
walk 230276761
walk 200780665
walk 279128031
walk 949507822
walk 79663268
walk 273537920
walk 255502076
walk 817317085
walk 644936999
walk 646399748
walk 328120995
walk 435683503
walk 748383850
walk 178577099
walk 293311830
walk 871185824
walk 73715617
walk 445527629
walk 630884707
wa...

result:

ok OK, guesses=6716

Test #32:

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

input:

931962286
702416138
240534624
804991422
745704292
394085352
827265719
466577803
204615569
804381862
764534916
353090322
664593433
749269055
49996558
343214512
79815270
295618045
564043725
819419095
582238506
400237562
964199328
650226819
501283809
619003856
22435765
562852855
749845900
622519000
628...

output:

walk 491587791
walk 230276761
walk 200780665
walk 279128031
walk 949507822
walk 79663268
walk 273537920
walk 255502076
walk 817317085
walk 644936999
walk 646399748
walk 328120995
walk 435683503
walk 748383850
walk 178577099
walk 293311830
walk 871185824
walk 73715617
walk 445527629
walk 630884707
wa...

result:

ok OK, guesses=6696

Test #33:

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

input:

491587792
721864553
922645218
253414924
254564421
334227689
607765609
863267685
732226445
428805119
126846542
454967537
890651040
690676565
869253664
214207169
137034668
210750285
656277914
338804296
254668072
607355982
556337294
842214011
760644714
918756
316430033
177493833
847373637
748081642
178...

output:

walk 491587791
walk 230276761
walk 200780665
walk 279128031
walk 949507822
walk 79663268
walk 273537920
walk 255502076
walk 817317085
walk 644936999
walk 646399748
walk 328120995
walk 435683503
walk 748383850
walk 178577099
walk 293311830
walk 871185824
walk 73715617
walk 445527629
walk 630884707
wa...

result:

ok OK, guesses=6744

Test #34:

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

input:

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

output:

walk 491587791
walk 230276761
walk 200780665
walk 279128031
walk 949507822
walk 79663268
walk 273537920
walk 255502076
walk 817317085
walk 644936999
walk 646399748
walk 328120995
walk 435683503
walk 748383850
walk 178577099
walk 293311830
walk 871185824
walk 73715617
walk 445527629
walk 630884707
wa...

result:

ok OK, guesses=3336

Test #35:

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

input:

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

output:

walk 491587791
walk 230276761
walk 200780665
walk 279128031
walk 949507822
walk 79663268
walk 273537920
walk 255502076
walk 817317085
walk 644936999
walk 646399748
walk 328120995
walk 435683503
walk 748383850
walk 178577099
walk 293311830
walk 871185824
walk 73715617
walk 445527629
walk 630884707
wa...

result:

ok OK, guesses=3337

Test #36:

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

input:

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

output:

walk 491587791
walk 230276761
walk 200780665
walk 279128031
walk 949507822
walk 79663268
walk 273537920
walk 255502076
walk 817317085
walk 644936999
walk 646399748
walk 328120995
walk 435683503
walk 748383850
walk 178577099
walk 293311830
walk 871185824
walk 73715617
walk 445527629
walk 630884707
wa...

result:

ok OK, guesses=3338

Test #37:

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

input:

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

output:

walk 298842685
walk 138404098
walk 482661703
walk 585250139
walk 77547037
walk 859775746
walk 42502793
walk 605202280
walk 41812307
walk 54673671
walk 210785687
walk 304843847
walk 944733199
walk 511717713
walk 120457187
walk 944126951
walk 16111183
walk 940236296
walk 786144263
walk 33408141
walk 5...

result:

ok OK, guesses=3339

Test #38:

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

input:

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

output:

walk 298842685
walk 138404098
walk 482661703
walk 585250139
walk 77547037
walk 859775746
walk 42502793
walk 605202280
walk 41812307
walk 54673671
walk 210785687
walk 304843847
walk 944733199
walk 511717713
walk 120457187
walk 944126951
walk 16111183
walk 940236296
walk 786144263
walk 33408141
walk 5...

result:

ok OK, guesses=3340

Test #39:

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

input:

1226
2737
1743
1633
2067
2862
2618
1889
2816
1982
936
2363
454
871
584
1219
945
859
2424
1271
2605
130
2483
1814
596
1090
2480
1740
434
1341
2398
1019
1983
1691
1460
2977
2202
1935
253
1034
527
126
902
1016
729
257
997
1424
578
2432
1553
563
195
2805
2098
1428
2742
2055
2325
1804
669
970
1173
677
13...

output:

walk 298842685
walk 138404098
walk 482661703
walk 585250139
walk 77547037
walk 859775746
walk 42502793
walk 605202280
walk 41812307
walk 54673671
walk 210785687
walk 304843847
walk 944733199
walk 511717713
walk 120457187
walk 944126951
walk 16111183
walk 940236296
walk 786144263
walk 33408141
walk 5...

result:

ok OK, guesses=6334

Test #40:

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

input:

1528
637
347
304
1021
1618
103
1672
1919
1542
913
1221
702
1207
1836
1609
916
526
427
1943
495
1450
1771
1023
1045
1650
628
1572
1368
372
1793
1706
1051
1122
1738
1870
1881
199
717
154
1398
1635
1335
1834
1921
1721
1427
1248
802
12
405
1322
938
66
203
587
350
216
212
495
683
1704
134
1414
1903
966
6...

output:

walk 298842685
walk 138404098
walk 482661703
walk 585250139
walk 77547037
walk 859775746
walk 42502793
walk 605202280
walk 41812307
walk 54673671
walk 210785687
walk 304843847
walk 944733199
walk 511717713
walk 120457187
walk 944126951
walk 16111183
walk 940236296
walk 786144263
walk 33408141
walk 5...

result:

ok OK, guesses=5334

Test #41:

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

input:

2565
2326
942
2365
3449
3981
3854
319
1950
3468
3104
1694
488
3288
2106
3291
3481
1733
1764
1256
684
2701
541
671
1573
2813
676
2843
531
92
3627
1771
511
636
2212
2233
504
2028
3915
2250
499
538
328
3037
1734
1484
1488
3614
1649
2863
2139
3316
1535
2490
3893
3070
1901
3512
2162
2455
407
3500
3793
22...

output:

walk 298842685
walk 138404098
walk 482661703
walk 585250139
walk 77547037
walk 859775746
walk 42502793
walk 605202280
walk 41812307
walk 54673671
walk 210785687
walk 304843847
walk 944733199
walk 511717713
walk 120457187
walk 944126951
walk 16111183
walk 940236296
walk 786144263
walk 33408141
walk 5...

result:

ok OK, guesses=6667

Test #42:

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

input:

5345
2780
130
1599
3279
2160
1292
4414
735
3258
5370
5144
6370
2725
5047
3108
4422
4110
4839
89
3981
2284
1115
3460
3636
2779
1614
5343
6640
902
3389
1153
4696
2956
1184
6015
4110
1985
4488
3876
1254
3997
6652
1651
6520
2405
3069
83
1553
6071
5783
3889
3902
5861
2059
5829
1907
1398
1776
2682
4247
42...

output:

walk 298842685
walk 138404098
walk 482661703
walk 585250139
walk 77547037
walk 859775746
walk 42502793
walk 605202280
walk 41812307
walk 54673671
walk 210785687
walk 304843847
walk 944733199
walk 511717713
walk 120457187
walk 944126951
walk 16111183
walk 940236296
walk 786144263
walk 33408141
walk 5...

result:

ok OK, guesses=6667

Test #43:

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

input:

6665
4633
3499
3649
925
5283
5873
3871
1455
3767
1530
6617
6463
2238
4331
1864
609
2575
149
2751
3876
6014
5990
5636
2041
3527
4726
717
6282
2431
5595
1153
4675
1655
5833
5221
6368
2605
5200
6588
331
5362
3193
5303
3317
6209
164
3315
3214
5174
2860
3541
2303
4058
8
213
2919
5021
4744
3401
6173
3370
...

output:

walk 298842685
walk 138404098
walk 482661703
walk 585250139
walk 77547037
walk 859775746
walk 42502793
walk 605202280
walk 41812307
walk 54673671
walk 210785687
walk 304843847
walk 944733199
walk 511717713
walk 120457187
walk 944126951
walk 16111183
walk 940236296
walk 786144263
walk 33408141
walk 5...

result:

ok OK, guesses=6667

Test #44:

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

input:

2961205
2395099
1669352
4068527
4571763
8885802
2625291
4781326
6931129
1136961
8221904
8086245
3376899
4423007
2422712
8825692
8918508
7826327
1521865
8642338
2425715
6881325
2469495
5025686
4688013
5440806
1340087
2294882
5693147
6903017
2295117
772685
5527924
2646183
5765955
4515418
1226683
80415...

output:

walk 590385393
walk 928419187
walk 64931956
walk 199423773
walk 920004042
walk 659869133
walk 138784079
walk 475286127
walk 717766158
walk 53612450
walk 141740963
walk 773547301
walk 160172794
walk 144560381
walk 685710713
walk 60994214
walk 789324220
walk 448922451
walk 210991632
walk 568879162
wal...

result:

ok OK, guesses=6667

Test #45:

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

input:

3638080
5941470
4613899
7568963
6439472
10580682
5895845
3346496
3507208
2408713
919209
10897541
2899699
1162392
10090469
6907881
101704
6381891
3117732
8096252
7324322
6032181
8477929
7586983
2564591
5291782
5374521
4460934
5493767
9346388
3449206
5080380
11066561
1461532
318566
7974844
920863
1066...

output:

walk 590385393
walk 928419187
walk 64931956
walk 199423773
walk 920004042
walk 659869133
walk 138784079
walk 475286127
walk 717766158
walk 53612450
walk 141740963
walk 773547301
walk 160172794
walk 144560381
walk 685710713
walk 60994214
walk 789324220
walk 448922451
walk 210991632
walk 568879162
wal...

result:

ok OK, guesses=6667

Test #46:

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

input:

6739757
14487953
13193264
5308770
11276791
13400740
3870531
4806809
9912210
8319246
1942181
180002
15835890
9405983
17162704
10822923
15119954
10091830
8472742
16632056
17637722
10183702
6477286
4952988
2072970
7712510
1212543
17046075
12908158
12892654
6771021
4619587
14454889
5976031
6603679
12962...

output:

walk 590385393
walk 928419187
walk 64931956
walk 199423773
walk 920004042
walk 659869133
walk 138784079
walk 475286127
walk 717766158
walk 53612450
walk 141740963
walk 773547301
walk 160172794
walk 144560381
walk 685710713
walk 60994214
walk 789324220
walk 448922451
walk 210991632
walk 568879162
wal...

result:

ok OK, guesses=6673

Test #47:

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

input:

286742
533154
144999
68696
169251
258942
452601
661637
374215
820061
476608
357899
412303
198855
348698
175377
184649
529880
133441
20613
243198
463390
486653
275196
626802
313728
565380
797177
443878
228271
824269
150172
180654
436034
407635
354250
494561
412515
192966
723100
528794
289673
534202
3...

output:

walk 590385393
walk 928419187
walk 64931956
walk 199423773
walk 920004042
walk 659869133
walk 138784079
walk 475286127
walk 717766158
walk 53612450
walk 141740963
walk 773547301
walk 160172794
walk 144560381
walk 685710713
walk 60994214
walk 789324220
walk 448922451
walk 210991632
walk 568879162
wal...

result:

ok OK, guesses=6667

Test #48:

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

input:

11348733
28863180
42859772
37877949
19406013
30309356
8219303
33398082
9168209
40764083
38913504
49381026
16469458
44151177
32624435
49776439
16680571
21774620
12223898
24633581
51728793
46435292
31485968
18847882
41934723
22247233
16304066
43722957
4251499
30150169
47299691
54146641
6273733
3164026...

output:

walk 590385393
walk 928419187
walk 64931956
walk 199423773
walk 920004042
walk 659869133
walk 138784079
walk 475286127
walk 717766158
walk 53612450
walk 141740963
walk 773547301
walk 160172794
walk 144560381
walk 685710713
walk 60994214
walk 789324220
walk 448922451
walk 210991632
walk 568879162
wal...

result:

ok OK, guesses=6667

Test #49:

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

input:

112284918
101099292
103109027
223899801
157103348
88489918
196785517
49982826
192328588
16042082
53755187
113971151
179631533
165232744
215353430
96581938
85816427
129526028
87101306
146267767
216893957
58446883
22084261
186750213
140717880
133302417
211828911
174325815
26445709
93813768
77652587
70...

output:

walk 64897146
walk 557073934
walk 142749942
walk 574074559
walk 269109605
walk 972924870
walk 60110991
walk 304684936
walk 274162260
walk 931132022
walk 613339050
walk 336163847
walk 923680752
walk 1904016
walk 52515112
walk 849975118
walk 313802363
walk 926461925
walk 49413492
walk 476660780
walk 2...

result:

ok OK, guesses=6667

Test #50:

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

input:

180422837
493829014
78798192
347352890
93234796
383773496
182686696
295537976
59189648
165730002
236631534
512800200
203402089
18308210
330273312
69488290
394821306
411145590
10177242
310542066
414129326
94015998
255313108
351839241
197542933
16848990
167586223
488384272
324927661
128678711
38952909...

output:

walk 64897146
walk 557073934
walk 142749942
walk 574074559
walk 269109605
walk 972924870
walk 60110991
walk 304684936
walk 274162260
walk 931132022
walk 613339050
walk 336163847
walk 923680752
walk 1904016
walk 52515112
walk 849975118
walk 313802363
walk 926461925
walk 49413492
walk 476660780
walk 2...

result:

ok OK, guesses=6684

Test #51:

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

input:

64897147
621971081
764721023
415217347
684326952
733673587
793784578
174891279
449053539
456607326
146368141
482531988
482634505
484538521
537053633
463450516
777252879
780136569
829550061
382632606
599768351
80285168
137705439
227905563
86206412
834649149
718483279
343999959
553835727
558936909
114...

output:

walk 64897146
walk 557073934
walk 142749942
walk 574074559
walk 269109605
walk 972924870
walk 60110991
walk 304684936
walk 274162260
walk 931132022
walk 613339050
walk 336163847
walk 923680752
walk 1904016
walk 52515112
walk 849975118
walk 313802363
walk 926461925
walk 49413492
walk 476660780
walk 2...

result:

ok OK, guesses=6685

Test #52:

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

input:

174197864
151496919
100988568
95288248
171139560
177772965
44625663
156052306
43697980
8538537
42102708
185008262
142397549
144301565
3558384
80500330
7786107
161214860
17370059
107514253
131391705
148970171
163677212
60619043
69464955
44874520
79253713
48573749
65151224
27539176
120506504
91209259
...

output:

walk 64897146
walk 557073934
walk 142749942
walk 574074559
walk 269109605
walk 972924870
walk 60110991
walk 304684936
walk 274162260
walk 931132022
walk 613339050
walk 336163847
walk 923680752
walk 1904016
walk 52515112
walk 849975118
walk 313802363
walk 926461925
walk 49413492
walk 476660780
walk 2...

result:

ok OK, guesses=6680

Test #53:

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

input:

112074054
95903060
235230981
178047099
117122631
4086810
183481398
33656087
4352886
53793952
114730885
73782057
180245775
195239368
10122485
105178167
52870683
43107669
128683925
66532579
121379718
132499386
41049911
33535862
132965141
8123943
29346971
166186862
228904475
158219571
237823069
1795632...

output:

walk 64897146
walk 557073934
walk 142749942
walk 574074559
walk 269109605
walk 972924870
walk 60110991
walk 304684936
walk 274162260
walk 931132022
walk 613339050
walk 336163847
walk 923680752
walk 1904016
walk 52515112
walk 849975118
walk 313802363
walk 926461925
walk 49413492
walk 476660780
walk 2...

result:

ok OK, guesses=6675