QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#674639#5309. Guess Cycle Lengthucup-team4946#AC ✓32ms3832kbC++141.6kb2024-10-25 17:01:272024-10-25 17:01:29

詳細信息

Test #1:

score: 100
Accepted
time: 8ms
memory: 3612kb

input:

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

output:

walk 23949700
walk 362130397
walk 500106998
walk 144398285
walk 717392588
walk 937808473
walk 341060353
walk 196979465
walk 703066178
walk 999875280
walk 819305609
walk 830309607
walk 838688870
walk 742853338
walk 5712511
walk 893823304
walk 908449070
walk 35637283
walk 62171986
walk 718034599
walk ...

result:

ok OK, guesses=7832

Test #2:

score: 0
Accepted
time: 32ms
memory: 3612kb

input:

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

output:

walk 33643973
walk 836574136
walk 209883292
walk 724469336
walk 63544311
walk 352824268
walk 452802040
walk 237477701
walk 167595888
walk 899205301
walk 119055275
walk 920663530
walk 971105022
walk 748565968
walk 139839777
walk 811951720
walk 58585939
walk 429133810
walk 394746272
walk 628655977
wal...

result:

ok OK, guesses=7832

Test #3:

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

input:

9952
7828
5215
7352
5663
3049
3148
2532
3054
8857
6059
3452
6024
4920
8831
2879
5103
5263
568
8019
3588
5043
9571
9641
4444
2551
1306
7908
4542
7398
2360
626
7200
8386
8642
4281
3816
3614
5322
9207
8225
1252
1669
6146
5009
1968
2948
3021
7223
3607
4507
8905
8680
9270
1741
2114
4593
8991
6199
4358
42...

output:

walk 453429951
walk 316437876
walk 617997387
walk 420422137
walk 329018311
walk 431707386
walk 500440099
walk 32369384
walk 58350522
walk 228175803
walk 245957202
walk 597207393
walk 755462572
walk 94168896
walk 524023911
walk 198684048
walk 213452224
walk 599310160
walk 555165305
walk 782447451
wal...

result:

ok OK, guesses=7838

Test #4:

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

input:

608365057
362043854
675200400
56393108
693924956
766442195
827282285
160852840
354503418
609130250
489524402
340046283
543271453
71947396
584436695
921989865
265573072
137423436
537679577
138445002
242070821
450280752
201681470
630361724
338675305
751961635
498571258
69811304
595419479
179292437
331...

output:

walk 608365056
walk 753678797
walk 313156546
walk 381192708
walk 637531848
walk 72517239
walk 60840090
walk 333570555
walk 193650578
walk 254626832
walk 880394152
walk 850521881
walk 203225170
walk 528675943
walk 512489299
walk 337553170
walk 343583207
walk 871850364
walk 400256141
walk 600765425
wa...

result:

ok OK, guesses=7732

Test #5:

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

input:

236850665
954550626
55998472
551085648
202318931
697776186
154667970
459492534
355234266
253063301
448714788
730357981
809149990
792931400
328679121
614903721
904533919
959021559
472505649
439464644
762976150
413199286
908978088
483247723
862747525
75461257
85274011
410175912
85057682
369437020
3613...

output:

walk 234930854
walk 717699961
walk 101447846
walk 495087176
walk 651233283
walk 495457255
walk 456891784
walk 304824564
walk 895741732
walk 897829035
walk 195651487
walk 281643193
walk 78792009
walk 983781410
walk 535747721
walk 286224600
walk 289630198
walk 54487640
walk 513484090
walk 966958995
wa...

result:

ok OK, guesses=7792

Test #6:

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

input:

886869420
321920717
187656336
868095239
562136309
127028520
97209450
696120397
66608556
769473179
747869414
768902794
205194353
702152105
999593817
551074257
897992194
98051619
424790721
861643801
13015373
7689709
508342260
697082023
659398684
192913688
388915636
169714651
453374433
391345832
926210...

output:

walk 824957347
walk 53015561
walk 944237947
walk 752777039
walk 167530910
walk 676116843
walk 83555090
walk 619706011
walk 603854967
walk 253323399
walk 393119555
walk 966031940
walk 571439167
walk 330729976
walk 948337456
walk 633169720
walk 957225881
walk 91190025
walk 952472526
walk 805558040
wal...

result:

ok OK, guesses=7746

Test #7:

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

input:

562204944
570468489
318823112
935585603
654159161
475241358
946476749
815951346
749707670
595614371
611724449
339202132
671538348
404623117
378789827
698470989
632805051
612764235
686539430
709435084
640899806
833352089
140943813
265354091
302916968
295183247
507808497
770654900
776226140
407316526
...

output:

walk 562204943
walk 8263545
walk 499827826
walk 865289288
walk 718573558
walk 524353316
walk 767964272
walk 869474597
walk 933756324
walk 845906701
walk 16110078
walk 439109382
walk 620704517
walk 576869426
walk 758118674
walk 691944541
walk 934334062
walk 979959184
walk 73775195
walk 22895654
walk ...

result:

ok OK, guesses=7740

Test #8:

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

input:

704216442
568587739
433973381
71312785
319699660
466651283
74001333
383576937
140963441
588754320
861360675
310457068
418865272
83752897
108542648
20582784
336478377
303504302
257546107
236016666
146711462
395838333
471046122
934021524
919927546
405851633
192252496
26824082
600094250
710143961
63231...

output:

walk 833463430
walk 627137432
walk 797658022
walk 603607583
walk 749968022
walk 463394606
walk 189950489
walk 854986222
walk 851177762
walk 398782970
walk 919338578
walk 98579845
walk 143599474
walk 536539845
walk 101866854
walk 40058815
walk 809872740
walk 889104709
walk 952977406
walk 680119618
wa...

result:

ok OK, guesses=8786

Test #9:

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

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 519202172
walk 522601772
walk 319167861
walk 705470169
walk 111100657
walk 582503021
walk 64243215
walk 689706442
walk 102399988
walk 923481514
walk 296935568
walk 912342465
walk 314691752
walk 465577741
walk 64067101
walk 530934348
walk 124740271
walk 306658684
walk 168505008
walk 953084336
wa...

result:

ok OK, guesses=7832

Test #10:

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

input:

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

output:

walk 46659158
walk 380615155
walk 512813639
walk 306984466
walk 341661571
walk 161955036
walk 401360480
walk 517610910
walk 388971555
walk 573215249
walk 4499264
walk 274220623
walk 431955189
walk 610594611
walk 528015054
walk 868270266
walk 800317578
walk 871554790
walk 99694166
walk 215107155
walk...

result:

ok OK, guesses=7832

Test #11:

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

input:

64
694
107
519
38
746
992
586
582
391
412
463
925
574
376
199
63
1
872
829
420
623
28
432
610
440
787
457
65
633
874
397
887
688
769
83
839
570
459
463
56
80
317
653
527
709
771
671
71
195
719
21
460
890
987
546
317
398
370
666
632
465
199
605
187
655
282
13
210
870
865
535
418
852
53
715
802
373
37...

output:

walk 42825100
walk 995844107
walk 908627204
walk 470166604
walk 913163567
walk 385986677
walk 681030536
walk 606638272
walk 577152186
walk 769714039
walk 395617890
walk 300202874
walk 576607243
walk 337158592
walk 405971577
walk 975027013
walk 644543826
walk 753451170
walk 290348008
walk 579893256
w...

result:

ok OK, guesses=7832

Test #12:

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

input:

1370
2729
1274
5124
6433
867
573
1567
7230
2593
6397
7019
723
3380
5898
3928
992
9710
3016
145
9980
7634
4253
7819
3208
7835
2987
7301
4585
3330
3500
6684
3110
5837
2938
1203
2767
7300
5633
8284
4150
5377
1698
5291
2864
8950
5660
3358
9353
4478
148
7614
3823
6149
3430
8666
2004
4077
8281
1735
980
48...

output:

walk 27934508
walk 850865640
walk 806880521
walk 382858310
walk 914707804
walk 848225016
walk 658253394
walk 201380523
walk 330275095
walk 158409763
walk 222334706
walk 499537727
walk 166559529
walk 239705881
walk 472250532
walk 428201999
walk 84003382
walk 162549773
walk 718762246
walk 543460053
wa...

result:

ok OK, guesses=7838

Test #13:

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

input:

86152
97472
32967
14850
88103
52170
53028
10304
70214
72163
57557
56785
76412
67895
80004
55273
71080
53013
31953
41170
5978
43447
83551
62440
88424
69719
88766
10077
59995
93627
91658
42604
60933
52929
45449
5911
85658
23938
62708
33276
6354
46087
4380
13968
92910
78376
87851
5870
88478
48440
96570...

output:

walk 474062671
walk 456995588
walk 494577337
walk 897266041
walk 903339603
walk 473478931
walk 964421174
walk 688601684
walk 226932699
walk 240278735
walk 955078890
walk 195220516
walk 321382301
walk 895907481
walk 438719015
walk 293027375
walk 663905142
walk 65143451
walk 792454791
walk 917035267
w...

result:

ok OK, guesses=7902

Test #14:

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

input:

975667
392059
466646
328403
148537
636320
311384
380937
709188
634514
614563
955232
152188
40164
687310
646794
256160
525685
209821
511738
184127
439089
521166
472508
251739
760963
856501
309895
266258
616616
628374
239572
385747
815267
322822
59903
430906
545033
69393
544077
926743
283617
932442
82...

output:

walk 374989519
walk 800131810
walk 447794650
walk 327360537
walk 711983993
walk 970427270
walk 332152848
walk 130337069
walk 276508016
walk 638615633
walk 769835586
walk 199271265
walk 753535649
walk 569013155
walk 768193780
walk 832254625
walk 938853032
walk 837015773
walk 148863200
walk 84987461
w...

result:

ok OK, guesses=8468

Test #15:

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

input:

1354145
8267698
5151737
6001176
5657716
4344149
4715626
9684618
3676586
2108160
3942527
4743398
3614681
3524421
3065851
3912862
256731
4951469
3104995
14805
8832361
1582150
8876670
3809443
9617802
925073
3277053
4181109
1097162
3036311
1201688
3316305
7193378
7069817
4952077
4706606
8110650
5946741
...

output:

walk 158755744
walk 494119826
walk 255470301
walk 567502769
walk 407210767
walk 791322128
walk 726637672
walk 24134920
walk 875197903
walk 84231194
walk 653779130
walk 92485686
walk 753224453
walk 541385188
walk 564752870
walk 207297093
walk 184378188
walk 203228601
walk 110400500
walk 566508049
wal...

result:

ok OK, guesses=9004

Test #16:

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

input:

57017442
32525182
97725069
50443531
97727287
65901708
80763084
44296833
83806793
4508508
3652163
92955693
80535717
65485556
8759439
97576837
90976493
19579563
66418500
16399054
10072659
24883591
27870199
13766869
55149932
91830703
78291153
73691950
73696245
42383148
30923419
1193907
76598933
6231984...

output:

walk 381527483
walk 223661173
walk 514356331
walk 792553130
walk 518221900
walk 457279217
walk 491150805
walk 575434341
walk 603055377
walk 840884945
walk 487376757
walk 897148765
walk 153464908
walk 557861887
walk 868793987
walk 211600244
walk 207754098
walk 888303909
walk 50607771
walk 993737456
w...

result:

ok OK, guesses=9004

Test #17:

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

input:

192946833
371412881
205989080
537155905
397024123
530229037
396478045
235129565
754719648
78006634
917080952
212711485
774003664
94596062
283178040
16989345
110992407
172066190
995157901
644871729
355483640
950386016
655767024
897512461
575121875
65685695
686161312
705211391
398760050
722533945
5591...

output:

walk 590341204
walk 900932876
walk 584153605
walk 128383600
walk 274824626
walk 502822351
walk 697523074
walk 134647140
walk 76397462
walk 162555041
walk 210676811
walk 819603179
walk 404540025
walk 829837780
walk 176277563
walk 298109611
walk 825560482
walk 977172171
walk 552726753
walk 166313142
w...

result:

ok OK, guesses=8114

Test #18:

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

input:

35208222
642350534
288324948
306672854
830207312
215872792
917169479
130806723
573298023
778345908
912458938
255426556
54574348
520777097
422897026
913249879
68157736
738149994
731501729
418190479
595194494
112681928
725147043
484014388
765013598
877971724
715591380
23630839
815461855
439744374
8148...

output:

walk 489514826
walk 300761311
walk 624825819
walk 237019608
walk 52572357
walk 772439960
walk 841664897
walk 250000601
walk 75162217
walk 581804178
walk 172522449
walk 15224421
walk 761159747
walk 822298575
walk 565153985
walk 970892543
walk 498879417
walk 883530631
walk 74935399
walk 499951418
walk...

result:

ok OK, guesses=9004

Test #19:

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

input:

27152862
41625918
24722235
59340230
6928745
249905682
36645915
164700286
75095963
24516055
14483075
64290234
155985316
189971461
243056615
240903833
81098172
247354309
253101611
260396860
22598041
150751000
209016400
127214450
84427840
15554262
47103593
34789854
60437411
54176080
241127391
21100088
...

output:

walk 564566286
walk 238647517
walk 285322735
walk 227939251
walk 339886211
walk 963105096
walk 347057161
walk 126103456
walk 301160942
walk 757315315
walk 59811801
walk 527767889
walk 437274351
walk 645497687
walk 775809409
walk 663498283
walk 10581408
walk 932129387
walk 884174422
walk 7579723
walk...

result:

ok OK, guesses=9004

Test #20:

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

input:

57769530
367044076
203851945
335198757
19519666
378648936
373414023
357807980
216323245
139150507
118319183
174866332
329569746
231032299
124357700
132816065
153997791
112005046
219232590
373774211
237657314
228240105
264055739
128752602
357361889
368696770
47997935
45244434
191695785
240843552
2344...

output:

walk 118870671
walk 447124021
walk 942266816
walk 685367116
walk 732144455
walk 811213495
walk 318959351
walk 560263139
walk 601784544
walk 379902387
walk 265277352
walk 34013073
walk 828370133
walk 838135464
walk 842005177
walk 418777723
walk 65869950
walk 918977466
walk 279162418
walk 283343538
wa...

result:

ok OK, guesses=9004

Test #21:

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

input:

68629806
53686069
146318470
105233153
149471070
129750421
60134828
94802777
62169856
121109572
9203795
24237537
119673526
122901861
15588071
121843889
8500923
25039436
68179603
64998065
119825373
20435880
72790178
44316083
102160484
89772199
119268512
132101903
72425677
144084284
98672906
89319057
6...

output:

walk 840888290
walk 58816587
walk 713215221
walk 520370205
walk 13385022
walk 183301006
walk 935278805
walk 467287365
walk 68813432
walk 854099509
walk 419219575
walk 917292528
walk 576782808
walk 497511580
walk 345774818
walk 891793478
walk 176678448
walk 836785503
walk 945657688
walk 817995226
wal...

result:

ok OK, guesses=9004

Test #22:

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

input:

283566850
323089500
288801263
321126728
72204895
94319141
141345027
263097358
10294910
22359242
98789672
82458151
270735049
276477694
249155175
115160213
109312150
1670254
117473812
294997205
292403329
209523668
36994890
87666797
128914795
233030110
300641829
125498053
192455764
151838658
206700347
...

output:

walk 606206838
walk 577519266
walk 717124820
walk 80876760
walk 650147902
walk 625221105
walk 186222006
walk 642455893
walk 856386291
walk 6401862
walk 27144963
walk 703345398
walk 829610790
walk 894004546
walk 338642160
walk 69490615
walk 855930018
walk 552962224
walk 170614566
walk 641143268
walk ...

result:

ok OK, guesses=9004

Test #23:

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

input:

662310104
699755206
716943287
328408375
671109747
872091856
927758224
101468629
444347830
928666239
899694310
981343091
127236851
938546779
591263714
794702585
998040235
303241004
66239108
995324914
249802400
872629373
143041881
280213078
489223654
917566302
331179477
718322294
235854752
505877710
8...

output:

walk 373040357
walk 617588748
walk 988056911
walk 158937197
walk 375295799
walk 142125911
walk 381664068
walk 49809004
walk 41393160
walk 940243687
walk 5547386
walk 547068556
walk 776455871
walk 977887808
walk 39752838
walk 815358905
walk 325427377
walk 759700918
walk 781540382
walk 556161759
walk ...

result:

ok OK, guesses=8792

Test #24:

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

input:

950858096
444176497
297767606
762415835
575506775
144420268
837568634
215737785
590990873
470856376
615140894
711950342
541627634
227346485
638296099
401578074
752144070
847203268
977402214
852419691
960933580
528519384
203160171
702712046
311027030
279523594
215638434
910848665
866690702
257005884
...

output:

walk 709771452
walk 149345760
walk 277484078
walk 870444673
walk 401643460
walk 400605735
walk 648950426
walk 445662387
walk 148453874
walk 418189432
walk 285569612
walk 782856508
walk 158312481
walk 816775409
walk 450380460
walk 310774205
walk 755809420
walk 574906914
walk 38145170
walk 928923073
w...

result:

ok OK, guesses=9004

Test #25:

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

input:

507970861
426410996
94137576
193007675
449524814
58457116
14149312
555052932
531734187
745500897
585798639
650315103
445841847
362426610
342769880
495169567
395311969
306452250
623856614
25599581
218673800
192966700
500410970
642272686
554392489
721070743
444970355
186800064
317561877
510612320
1431...

output:

walk 140254490
walk 920385856
walk 420893699
walk 191746560
walk 832233120
walk 805655578
walk 139416909
walk 454721723
walk 978559576
walk 591041998
walk 554433652
walk 132224280
walk 520597193
walk 781138357
walk 149956424
walk 198585891
walk 395728347
walk 939742458
walk 144445502
walk 200253055
...

result:

ok OK, guesses=9004

Test #26:

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

input:

12962695
107501429
123957393
66500720
38518336
9600490
59929942
113444423
23756332
38345100
93336263
117639692
104871719
6147168
32110519
71426407
81137792
115870897
5064395
38890484
96091930
86218276
109324425
25721813
72569694
86034448
80510925
57167453
42046159
44303315
60457906
62181093
11046138...

output:

walk 513273870
walk 714703425
walk 384144689
walk 978145462
walk 609310364
walk 458099270
walk 178962832
walk 778971893
walk 649867338
walk 444377402
walk 962137314
walk 297189201
walk 684436844
walk 677697181
walk 316207750
walk 996759114
walk 769575297
walk 339625644
walk 630875088
walk 99472774
w...

result:

ok OK, guesses=9004

Test #27:

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

input:

890074241
624233510
948176516
529455552
651270726
22949178
75349315
119411959
417215133
348955701
421693721
136986166
659017962
414349718
538996658
399464556
584892785
247483744
730119919
709315315
563333651
940371519
809257147
557215146
345616395
307058308
745254135
249987887
636730798
600014862
47...

output:

walk 150905816
walk 715437084
walk 121301301
walk 307333491
walk 223495809
walk 389358262
walk 912458462
walk 767944754
walk 173607179
walk 859937033
walk 340256740
walk 52479330
walk 801309746
walk 353943476
walk 666913560
walk 937174753
walk 298114824
walk 914090054
walk 545565475
walk 519988761
w...

result:

ok OK, guesses=9004

Test #28:

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

input:

431703723
706292158
35206656
203407177
520648678
696597913
643720476
60685824
547283369
131528415
347915103
266283989
127628915
806525011
663160613
624754140
191422391
295039411
199650158
32054141
546965667
253249577
433922601
496675349
377384021
14655164
680169576
82924987
369717769
737122886
45945...

output:

walk 841182586
walk 197226054
walk 418076647
walk 248220223
walk 179638648
walk 147166222
walk 374509643
walk 230504587
walk 699493500
walk 896378604
walk 885291891
walk 335121818
walk 151385519
walk 101256000
walk 566268317
walk 847663419
walk 917778122
walk 817295012
walk 12715521
walk 114859827
w...

result:

ok OK, guesses=9004

Test #29:

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

input:

361279050
753558472
651505485
49005715
685537680
552701222
345462664
900117702
737795276
951481811
233607780
602738145
689304814
975248754
102480183
128261704
331071220
59737618
508434894
403652340
233833967
543253678
604387261
438460169
118420469
977654978
490829180
825512670
497287027
511310848
38...

output:

walk 927599115
walk 321219825
walk 149419249
walk 379992747
walk 181647618
walk 553530137
walk 776878268
walk 434706890
walk 455944375
walk 564370600
walk 225747074
walk 757865418
walk 256094867
walk 441478929
walk 230227825
walk 647447137
walk 520953130
walk 967162904
walk 677179369
walk 856441639
...

result:

ok OK, guesses=9004

Test #30:

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

input:

22829986
825753735
137580822
582479280
103210814
568709686
163496372
338106229
286674188
490548985
105080061
545314261
587766697
662888864
402123558
730674528
747439477
61425737
466341245
252599446
136844182
90232808
608739604
628255114
259033829
672597124
251394389
299409739
204296929
189144164
126...

output:

walk 305983678
walk 493606017
walk 85566678
walk 125125396
walk 431491492
walk 687046840
walk 914232685
walk 818474523
walk 530872869
walk 810817233
walk 315729483
walk 504114808
walk 936165629
walk 429224537
walk 179001320
walk 310959554
walk 286788293
walk 652920135
walk 527927082
walk 567487250
w...

result:

ok OK, guesses=9004

Test #31:

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

input:

176603725
224055639
330874429
412179386
434412908
293854977
270316624
362239858
705848608
21916927
269493719
846675876
711022588
841906240
453195006
666783274
656121110
269258486
14884114
607892929
451199670
637653493
661593640
535147872
778797559
423245036
491916663
86478288
325249176
730648153
564...

output:

walk 749871453
walk 906690608
walk 966057484
walk 940543651
walk 22233522
walk 718680763
walk 835700341
walk 91923234
walk 343608750
walk 175307013
walk 247576792
walk 577182157
walk 723585406
walk 990122346
walk 470527460
walk 213588268
walk 848576530
walk 472376070
walk 604864322
walk 593008815
wa...

result:

ok OK, guesses=9004

Test #32:

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

input:

313357468
122241376
313993082
502561537
977985326
48843457
840157596
55205207
369832908
222381584
796369064
233586884
34654373
604800793
827335615
568377979
796109899
242023586
966417655
495364158
223862609
162467154
69474681
390712072
525278454
767042257
470173267
417666241
2974433
135351636
522036...

output:

walk 87303705
walk 540277827
walk 446771134
walk 218655377
walk 573960430
walk 427584893
walk 287916434
walk 824115440
walk 872842072
walk 257022485
walk 925668885
walk 376970337
walk 969864351
walk 577776617
walk 571886415
walk 82259064
walk 595763382
walk 742369534
walk 240714173
walk 491247065
wa...

result:

ok OK, guesses=9004

Test #33:

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

input:

746318831
374404757
554110228
536145785
258954356
82939087
612171754
78926775
844136464
96679212
119964787
171216843
88245275
756917825
820195990
706295093
120015932
371772742
742820761
608658247
40565697
427697099
9895727
246577471
874126593
429801775
657746088
362684252
366909983
856270786
8605591...

output:

walk 746318830
walk 576444251
walk 179705471
walk 930393882
walk 671166896
walk 772343056
walk 529232667
walk 415113346
walk 765209689
walk 200901073
walk 23285575
walk 999610381
walk 865386757
walk 668672550
walk 63278165
walk 834457428
walk 362079164
walk 251756810
walk 371048019
walk 814195811
wa...

result:

ok OK, guesses=9004

Test #34:

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

input:

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

output:

walk 598875575
walk 150712044
walk 796025310
walk 803219087
walk 369400816
walk 786282271
walk 655180213
walk 303972047
walk 80958056
walk 368484086
walk 238866586
walk 433244200
walk 866566353
walk 285169345
walk 487402352
walk 196823411
walk 545112410
walk 867728400
walk 967928101
walk 81554936
wa...

result:

ok OK, guesses=7832

Test #35:

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

input:

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

output:

walk 514932447
walk 831808028
walk 413937901
walk 691985035
walk 468760867
walk 613699047
walk 492062477
walk 727805797
walk 868396831
walk 834571245
walk 257729858
walk 560065714
walk 991618790
walk 62977338
walk 142480065
walk 64716048
walk 488002890
walk 927083751
walk 430630680
walk 578964944
wa...

result:

ok OK, guesses=7832

Test #36:

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

input:

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

output:

walk 223834157
walk 374811454
walk 889634474
walk 363846743
walk 352785618
walk 281092770
walk 573939827
walk 739726137
walk 375287746
walk 552594131
walk 220222381
walk 958827186
walk 774103157
walk 25742678
walk 519505743
walk 262747076
walk 70934560
walk 352601093
walk 991134269
walk 770918307
wa...

result:

ok OK, guesses=7832

Test #37:

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

input:

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

output:

walk 991148857
walk 960956259
walk 297738974
walk 655558583
walk 568053786
walk 698446400
walk 185140695
walk 697216486
walk 670189232
walk 464200098
walk 695387113
walk 384178556
walk 147234507
walk 340350363
walk 935104020
walk 964339746
walk 365688078
walk 248988282
walk 434108011
walk 40074191
w...

result:

ok OK, guesses=7832

Test #38:

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

input:

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

output:

walk 197015672
walk 69422197
walk 932383981
walk 884783556
walk 616306667
walk 689493001
walk 655863605
walk 837043557
walk 384903895
walk 105626624
walk 324827757
walk 707216966
walk 226634498
walk 582344783
walk 732384673
walk 273849472
walk 45052230
walk 470553510
walk 172206510
walk 956012480
wa...

result:

ok OK, guesses=7832

Test #39:

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

input:

513
2256
939
2256
2344
284
2497
1861
2384
2780
2282
696
2314
2126
2515
2602
2221
1982
426
1846
280
1890
2826
1451
1934
452
2598
2172
490
37
1763
2520
813
96
524
258
2651
927
731
3
1281
2270
403
655
2791
1435
956
583
707
848
1735
1403
40
2367
2440
959
2132
904
1167
1645
621
2797
1907
2073
2244
932
24...

output:

walk 537962101
walk 423982675
walk 644962196
walk 169183804
walk 189625413
walk 488338098
walk 767975156
walk 961127531
walk 167529195
walk 203896812
walk 965532848
walk 869737841
walk 985405794
walk 570931450
walk 146460426
walk 810573768
walk 943736224
walk 506693127
walk 696016769
walk 941475407
...

result:

ok OK, guesses=7834

Test #40:

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

input:

417
1650
989
1775
325
1219
1502
450
245
1618
524
903
1152
1218
1377
1172
1424
1221
1509
450
1260
878
1247
790
1079
815
1145
815
1955
213
616
562
62
1002
911
1462
737
1295
349
31
944
1508
1881
1743
631
789
1397
1138
1125
1998
1308
333
1631
821
1736
903
1547
985
1839
1685
1178
1967
554
944
670
1629
39...

output:

walk 205691302
walk 830345648
walk 84865023
walk 544461590
walk 595377083
walk 171570269
walk 131695419
walk 381028065
walk 109928813
walk 552628196
walk 704547576
walk 594857732
walk 305259316
walk 303969031
walk 794277517
walk 6697331
walk 948219884
walk 682218198
walk 460080704
walk 790619702
wal...

result:

ok OK, guesses=7832

Test #41:

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

input:

447
476
1989
3308
3362
252
290
508
2596
3088
1087
159
1475
3249
3236
172
792
1471
3263
3000
3556
388
824
3121
1799
2641
2090
2568
180
2065
354
1104
1652
1599
2901
2149
3271
46
728
2852
3924
3884
3938
982
161
2338
1611
763
2924
2841
86
2184
248
2680
644
138
656
2119
1135
2065
3689
552
2885
2768
3788
...

output:

walk 799471033
walk 458912882
walk 572392381
walk 214244547
walk 399608738
walk 786475535
walk 126113796
walk 605569020
walk 511133456
walk 666262850
walk 871986718
walk 208108988
walk 563543617
walk 811557597
walk 400450195
walk 85658826
walk 318852421
walk 561846949
walk 146576351
walk 10168606
wa...

result:

ok OK, guesses=7834

Test #42:

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

input:

2075
72
2503
4377
324
206
4470
4198
722
1443
1426
6109
5725
2762
4248
4486
1372
5577
6160
6050
307
909
103
3227
4205
1530
1144
44
1471
1161
5575
750
1962
3698
6589
4684
2693
5459
3342
4467
5707
5203
3551
4394
1015
1766
5301
1837
3497
1938
4084
3062
6204
5122
6090
2627
91
447
6605
6534
3058
4745
61
1...

output:

walk 259783266
walk 332766079
walk 672594641
walk 879760521
walk 622936343
walk 369225886
walk 181891203
walk 601618354
walk 940504880
walk 357842493
walk 794780781
walk 371668824
walk 129184179
walk 390369320
walk 921013903
walk 679759053
walk 967851570
walk 286071934
walk 348476035
walk 947253712
...

result:

ok OK, guesses=7836

Test #43:

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

input:

422
3879
5901
2335
2944
2858
3463
1420
1448
2689
822
2079
6128
4419
3694
6476
6416
6541
3248
6564
1543
5220
4767
160
2575
6284
5172
5749
627
4820
3818
4700
585
5944
4552
3173
3360
2636
1113
5833
1476
1399
1272
809
5214
1635
2851
3681
5417
83
1348
814
4481
1735
147
4265
5815
3153
1558
6181
3775
964
4...

output:

walk 325262261
walk 522589028
walk 811231603
walk 356054863
walk 24911766
walk 811153408
walk 808767911
walk 116301043
walk 545147229
walk 155887311
walk 187454224
walk 735905702
walk 716235237
walk 8700807
walk 784488081
walk 934044379
walk 498676405
walk 625060016
walk 292517564
walk 760072812
wal...

result:

ok OK, guesses=7836

Test #44:

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

input:

2683102
398245
2726492
6806971
2995179
5286176
3726329
3637311
1804982
2980335
5618653
4912137
6292581
7207950
5749750
3730484
5741017
8880167
3905795
1423198
6358319
6863322
3287204
1569655
6515208
5460778
6768772
5934016
3892530
3718281
3934027
7214170
4451755
1344685
7593559
4331964
3851042
34051...

output:

walk 48988092
walk 453410805
walk 726262924
walk 759145897
walk 523263834
walk 449143124
walk 270544915
walk 331810648
walk 849930522
walk 143835925
walk 331368612
walk 336029611
walk 921316739
walk 355287804
walk 305108486
walk 93138280
walk 458290770
walk 688256597
walk 263328916
walk 715878662
wa...

result:

ok OK, guesses=9004

Test #45:

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

input:

5073070
2833227
6987763
5712630
3338689
1039049
1936081
3531900
5028842
8264226
9287801
728403
4942520
8594520
6191746
9222226
1082655
10344194
6934116
9318324
8261300
6170597
3120872
2631403
111078
8371034
4787355
3684204
7263241
5896470
6128318
7982157
7141409
1933191
7996238
3829749
10907355
9124...

output:

walk 261673635
walk 334797765
walk 551515124
walk 227014764
walk 385764547
walk 454503128
walk 606276481
walk 163337775
walk 93392957
walk 478272246
walk 429399782
walk 714853498
walk 591167081
walk 504594780
walk 976325942
walk 416330764
walk 804430291
walk 761494555
walk 196572934
walk 53365240
wa...

result:

ok OK, guesses=9004

Test #46:

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

input:

11177396
2030935
15861755
13383204
4836746
16581221
12536887
16222736
14700895
2554380
11908166
9249222
9165722
4175586
17477978
17919116
5209503
16254031
1552049
11563345
17546061
1171862
2068641
9177496
11606378
2354335
2259307
1411615
12212295
7211414
3349811
4124735
7397057
4726274
1067730
51590...

output:

walk 715930158
walk 611573367
walk 722830478
walk 838421994
walk 152370494
walk 447985929
walk 381283893
walk 718458441
walk 44282599
walk 608756859
walk 693626322
walk 720611120
walk 129730754
walk 635969301
walk 266721882
walk 226813575
walk 770563347
walk 79331292
walk 249692520
walk 228846403
wa...

result:

ok OK, guesses=9004

Test #47:

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

input:

346288
809881
267163
506055
711283
94584
184545
263509
466640
778797
765202
804528
137174
293017
347255
802432
467771
609771
469168
748900
783165
702587
354280
440149
771157
168918
428221
589084
47621
447737
525962
185233
74703
261498
486629
203282
512333
520276
181804
211130
815589
331145
209833
63...

output:

walk 332233506
walk 61897375
walk 754693913
walk 106236007
walk 398677573
walk 810969686
walk 310477550
walk 11898960
walk 515156838
walk 748158481
walk 949752630
walk 655112849
walk 560017270
walk 800419411
walk 657782953
walk 306700131
walk 110155170
walk 421910695
walk 890760483
walk 668450411
wa...

result:

ok OK, guesses=8370

Test #48:

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

input:

3403934
34607546
35638590
1221464
39905095
17801683
3774706
5040847
49280401
24064853
53851654
24552497
11162881
39328953
42202469
34099602
54390277
22925448
4235475
44380352
13785968
56975464
15940097
31122509
55335305
48156575
2484630
34662267
15689307
13038649
17836004
26757204
8102210
41302073
4...

output:

walk 177825563
walk 305685174
walk 228288462
walk 895719525
walk 996403569
walk 875381115
walk 125753661
walk 413193538
walk 217072337
walk 16064485
walk 135361074
walk 89554855
walk 879676318
walk 883560361
walk 423890305
walk 74355641
walk 659603810
walk 669070533
walk 929390488
walk 266676006
wal...

result:

ok OK, guesses=9004

Test #49:

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

input:

46266057
4844133
158868043
63693384
181410198
132072776
3804644
14177694
91246620
25979137
60018561
132959971
202488788
211244606
4196214
3089804
152566260
165465103
161783595
20445854
87113025
106475222
226965152
116942454
7557773
32943392
178009051
2260448
1191153
107048751
46362027
87694545
26843...

output:

walk 18603322
walk 325088812
walk 957029533
walk 280566165
walk 674318134
walk 125245
walk 294373606
walk 365636958
walk 530510626
walk 844620123
walk 567226454
walk 325977038
walk 331901197
walk 263476724
walk 938728649
walk 194073035
walk 28657724
walk 343131371
walk 963849551
walk 860216374
walk ...

result:

ok OK, guesses=9004

Test #50:

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

input:

25152483
293482401
439954986
257630484
196886565
162719210
475011357
398126343
416680595
263861091
125725924
270292685
166624008
230447821
478999450
236963582
133433268
69775260
137580321
444915835
478331678
124783770
460002127
308137183
206900022
6479070
90227496
405156432
505288169
322398973
19355...

output:

walk 261936885
walk 18937422
walk 815233539
walk 668749191
walk 678424389
walk 569835505
walk 71493143
walk 219419702
walk 948331758
walk 188534050
walk 368993695
walk 255304968
walk 610254555
walk 390288917
walk 773020249
walk 806477004
walk 493911317
walk 92366799
walk 511874325
walk 476265465
wal...

result:

ok OK, guesses=9004

Test #51:

score: 0
Accepted
time: 23ms
memory: 3572kb

input:

546415602
810266401
601076066
407523822
49492486
300686325
217656050
218618472
336068915
583300827
861970149
837381584
231879316
850503111
305508370
771913170
632598121
503306608
320741103
459440958
597471720
480370113
558934232
560743679
799475101
60219283
264515120
573848643
326893732
17502700
179...

output:

walk 546415601
walk 263850799
walk 714387900
walk 730025991
walk 565546899
walk 251193839
walk 840547960
walk 962422
walk 117450443
walk 247231912
walk 278669322
walk 898989670
walk 318075967
walk 618623795
walk 378583494
walk 466404800
walk 784263186
walk 794286722
walk 741012730
walk 138699855
wal...

result:

ok OK, guesses=9004

Test #52:

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

input:

80264947
103091477
21805316
87570574
58195996
22377935
132187275
159522117
59582011
130653210
185652317
143817839
175565527
121470946
90803395
122641043
109588887
147220709
147491718
166096081
141599191
66858258
140114729
186654661
9642726
42098853
74075506
191160312
2685698
70992480
147794560
18908...

output:

walk 743997401
walk 989117995
walk 305230425
walk 65765258
walk 550400301
walk 543956818
walk 496325926
walk 220593135
walk 866351359
walk 844104371
walk 441515693
walk 731198694
walk 418264274
walk 718938591
walk 355849035
walk 611612527
walk 759981016
walk 810664994
walk 271009
walk 405120949
walk...

result:

ok OK, guesses=9004

Test #53:

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

input:

187577490
233490110
133725230
80543985
233644284
52908873
151232756
68566828
62814355
183779045
151551011
41194068
95816456
133368945
192244327
150908595
48585585
233036248
206725437
172089516
42044491
135548590
190041759
71232201
46372213
181206429
200773817
82058851
230468463
149956519
9818927
171...

output:

walk 860101611
walk 485510102
walk 478629959
walk 325730100
walk 493508201
walk 697914970
walk 941121608
walk 88922802
walk 900504951
walk 466307123
walk 106675568
walk 405911203
walk 416666048
walk 325815125
walk 723977476
walk 38585900
walk 840706958
walk 106800410
walk 36611769
walk 867616064
wal...

result:

ok OK, guesses=9004