QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#281756#5309. Guess Cycle LengthmonstersqwqAC ✓26ms4040kbC++142.5kb2023-12-10 17:58:272023-12-10 17:58:27

詳細信息

Test #1:

score: 100
Accepted
time: 6ms
memory: 3784kb

input:

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

output:

walk 210839329
walk 404472795
walk 735168928
walk 752534449
walk 729931240
walk 604154794
walk 569180710
walk 959215249
walk 719718950
walk 262371035
walk 66078766
walk 217609200
walk 175952498
walk 891771112
walk 815748526
walk 92752219
walk 817494024
walk 467760120
walk 432184341
walk 445969388
wa...

result:

ok OK, guesses=3344

Test #2:

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

input:

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

output:

walk 901469825
walk 684679072
walk 115017598
walk 200650458
walk 466465011
walk 560026534
walk 797712571
walk 143391927
walk 318967802
walk 235945362
walk 163334039
walk 615924368
walk 407512172
walk 407877813
walk 434287904
walk 431442298
walk 46477333
walk 406614418
walk 958522666
walk 421967177
w...

result:

ok OK, guesses=3354

Test #3:

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

input:

9826
8898
6496
6954
1965
8499
1070
2997
799
6161
200
4568
6740
4553
2457
4755
2088
6506
9172
6349
2934
5711
8603
9746
4054
9842
7459
3151
2767
8603
6350
143
8547
583
9838
3588
4675
8740
8825
440
4787
9230
4011
7107
9683
5156
7762
5943
5194
8601
1937
5790
5839
9736
8413
1571
622
578
6376
8286
5202
62...

output:

walk 901469825
walk 684679072
walk 115017598
walk 200650458
walk 466465011
walk 560026534
walk 797712571
walk 143391927
walk 318967802
walk 235945362
walk 163334039
walk 615924368
walk 407512172
walk 407877813
walk 434287904
walk 431442298
walk 46477333
walk 406614418
walk 958522666
walk 421967177
w...

result:

ok OK, guesses=6667

Test #4:

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

input:

901469826
586148898
701166496
901816954
368281965
928308499
726021070
869412997
188380799
424326161
587660200
203584568
611096740
18974553
453262457
884704755
931182088
337796506
296319172
718286349
469792934
801125711
718978603
373279746
340574054
399769842
679297459
539683151
707112767
463008603
8...

output:

walk 901469825
walk 684679072
walk 115017598
walk 200650458
walk 466465011
walk 560026534
walk 797712571
walk 143391927
walk 318967802
walk 235945362
walk 163334039
walk 615924368
walk 407512172
walk 407877813
walk 434287904
walk 431442298
walk 46477333
walk 406614418
walk 958522666
walk 421967177
w...

result:

ok OK, guesses=6769

Test #5:

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

input:

903389636
588068708
703086306
903736764
370201775
930228309
727940880
871332807
190300609
426245971
589580010
205504378
613016550
20894363
455182267
886624565
933101898
339716316
298238982
720206159
471712744
803045521
720898413
375199556
342493864
401689652
681217269
541602961
709032577
464928413
8...

output:

walk 901469825
walk 684679072
walk 115017598
walk 200650458
walk 466465011
walk 560026534
walk 797712571
walk 143391927
walk 318967802
walk 235945362
walk 163334039
walk 615924368
walk 407512172
walk 407877813
walk 434287904
walk 431442298
walk 46477333
walk 406614418
walk 958522666
walk 421967177
w...

result:

ok OK, guesses=6718

Test #6:

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

input:

744184026
872123770
191084616
903281682
721535629
60750147
447942214
278392293
990647247
156050321
94078224
861827360
89925804
558199705
394166713
792199459
447628400
156366386
208760268
416279597
643490142
719920671
25766555
450379866
269988382
878118858
951716067
991467551
700541583
29076555
11636...

output:

walk 901469825
walk 684679072
walk 115017598
walk 200650458
walk 466465011
walk 560026534
walk 797712571
walk 143391927
walk 318967802
walk 235945362
walk 163334039
walk 615924368
walk 407512172
walk 407877813
walk 434287904
walk 431442298
walk 46477333
walk 406614418
walk 958522666
walk 421967177
w...

result:

ok OK, guesses=6877

Test #7:

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

input:

171807697
774529355
800731179
13284717
661774428
65690493
202653402
697012718
786005581
380082248
195094520
857658115
291772829
305985673
852269114
675242182
877682905
618000492
749888969
529376051
790095927
826998044
578365616
541147246
430480329
364154215
920583339
124386132
601312183
682976851
34...

output:

walk 485354017
walk 289175337
walk 26201824
walk 576427539
walk 284615710
walk 692259794
walk 97146107
walk 245832389
walk 88992863
walk 219753774
walk 486060112
walk 365838648
walk 269506379
walk 957557484
walk 767547136
walk 822973068
walk 202440723
walk 740317587
walk 131888477
walk 407256759
wal...

result:

ok OK, guesses=6674

Test #8:

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

input:

90256292
697292779
573443083
758525698
509190186
526409781
122768773
715680950
56625736
347819587
139730695
951088455
110692452
478926211
735568118
35592462
539919877
936748364
364637677
259782093
817796716
781085142
348818305
293072750
149809282
572805122
779206668
564539027
865631242
596234499
455...

output:

walk 485354017
walk 289175337
walk 26201824
walk 576427539
walk 284615710
walk 692259794
walk 97146107
walk 245832389
walk 88992863
walk 219753774
walk 486060112
walk 365838648
walk 269506379
walk 957557484
walk 767547136
walk 822973068
walk 202440723
walk 740317587
walk 131888477
walk 407256759
wal...

result:

ok OK, guesses=6682

Test #9:

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

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 485354017
walk 289175337
walk 26201824
walk 576427539
walk 284615710
walk 692259794
walk 97146107
walk 245832389
walk 88992863
walk 219753774
walk 486060112
walk 365838648
walk 269506379
walk 957557484
walk 767547136
walk 822973068
walk 202440723
walk 740317587
walk 131888477
walk 407256759
wal...

result:

ok OK, guesses=3335

Test #10:

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

input:

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

output:

walk 485354017
walk 289175337
walk 26201824
walk 576427539
walk 284615710
walk 692259794
walk 97146107
walk 245832389
walk 88992863
walk 219753774
walk 486060112
walk 365838648
walk 269506379
walk 957557484
walk 767547136
walk 822973068
walk 202440723
walk 740317587
walk 131888477
walk 407256759
wal...

result:

ok OK, guesses=3344

Test #11:

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

input:

344
157
642
446
492
706
17
446
83
157
997
677
470
839
655
709
904
341
174
229
801
415
507
190
56
638
620
821
412
889
221
813
187
948
161
110
165
928
979
941
464
45
125
863
452
499
815
731
125
782
142
326
452
978
378
251
823
73
166
732
557
226
731
868
454
781
704
287
95
758
356
150
10
234
257
662
965...

output:

walk 485354017
walk 289175337
walk 26201824
walk 576427539
walk 284615710
walk 692259794
walk 97146107
walk 245832389
walk 88992863
walk 219753774
walk 486060112
walk 365838648
walk 269506379
walk 957557484
walk 767547136
walk 822973068
walk 202440723
walk 740317587
walk 131888477
walk 407256759
wal...

result:

ok OK, guesses=4334

Test #12:

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

input:

660
5579
4525
1468
4024
6990
2536
553
3686
5579
6781
9989
2964
1804
6595
8588
9009
9482
6680
8771
7349
8645
7977
8036
8139
6613
5171
5699
3918
6079
9429
867
8674
4562
3839
3597
9651
7871
5359
9918
7208
9341
2720
7841
1179
2085
3910
6170
2720
541
290
7965
2240
5411
4989
9071
5905
9375
1274
2761
4597
...

output:

walk 485354017
walk 289175337
walk 26201824
walk 576427539
walk 284615710
walk 692259794
walk 97146107
walk 245832389
walk 88992863
walk 219753774
walk 486060112
walk 365838648
walk 269506379
walk 957557484
walk 767547136
walk 822973068
walk 202440723
walk 740317587
walk 131888477
walk 407256759
wal...

result:

ok OK, guesses=6667

Test #13:

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

input:

95795
53219
48776
37714
74069
20595
18336
43545
45099
42293
59297
99315
47135
74224
54442
13429
66391
79205
57619
94393
71402
69320
94256
6607
86970
60863
34579
13204
3403
28421
97307
61650
76011
32681
53519
90189
35648
88758
64347
94069
64311
78695
41452
77382
48041
18413
2683
39035
12352
79429
813...

output:

walk 322013682
walk 108882729
walk 659320419
walk 319743881
walk 525381232
walk 683581043
walk 523082702
walk 677461746
walk 859488703
walk 861451106
walk 477082289
walk 910484413
walk 661111120
walk 877041960
walk 248991319
walk 222640825
walk 168275496
walk 523025399
walk 532016320
walk 102633602
...

result:

ok OK, guesses=6667

Test #14:

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

input:

567996
139237
123505
268521
306275
410035
764006
830745
685926
584309
999068
430252
476940
983737
801980
326751
888173
109286
864957
36583
515200
70060
431282
264606
107503
901695
200805
826758
865463
340133
759482
884301
267611
912251
642123
857426
524452
841176
669429
865205
758910
357896
207353
9...

output:

walk 322013682
walk 108882729
walk 659320419
walk 319743881
walk 525381232
walk 683581043
walk 523082702
walk 677461746
walk 859488703
walk 861451106
walk 477082289
walk 910484413
walk 661111120
walk 877041960
walk 248991319
walk 222640825
walk 168275496
walk 523025399
walk 532016320
walk 102633602
...

result:

ok OK, guesses=6667

Test #15:

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

input:

4855289
6071926
6185405
9450304
3794868
234514
9736859
883686
8160470
1054493
9122505
2354078
6151534
400997
8665882
7806400
3948486
9772053
8527118
7837262
155587
915597
9492148
5254526
8355242
7401823
1207406
3280512
6405101
2838083
3601173
8545804
8055578
3724250
996227
3803892
4193977
3927504
30...

output:

walk 322013682
walk 108882729
walk 659320419
walk 319743881
walk 525381232
walk 683581043
walk 523082702
walk 677461746
walk 859488703
walk 861451106
walk 477082289
walk 910484413
walk 661111120
walk 877041960
walk 248991319
walk 222640825
walk 168275496
walk 523025399
walk 532016320
walk 102633602
...

result:

ok OK, guesses=6667

Test #16:

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

input:

78727648
59502806
64605907
28082761
37507695
23514677
96218966
7770116
60116656
72291482
30931671
62491317
59661841
89419169
25101880
72997184
80915792
169244
72906440
92257207
49596728
13163955
86929037
29675823
71486226
43391495
85028010
31597854
49314355
65354658
47190737
33149457
4616291
8800000...

output:

walk 322013682
walk 108882729
walk 659320419
walk 319743881
walk 525381232
walk 683581043
walk 523082702
walk 677461746
walk 859488703
walk 861451106
walk 477082289
walk 910484413
walk 661111120
walk 877041960
walk 248991319
walk 222640825
walk 168275496
walk 523025399
walk 532016320
walk 102633602
...

result:

ok OK, guesses=6676

Test #17:

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

input:

381174443
27828253
13202180
418390964
688788963
461696800
722027465
881959187
532707823
686420811
621606405
333267940
643352262
660431799
403177939
730216808
474371461
783894681
422125230
847123261
406212467
480012486
217201060
252096697
657341745
540520445
267937565
148448194
308126973
921637335
96...

output:

walk 754439079
walk 126747266
walk 888677997
walk 699340389
walk 991774301
walk 227219358
walk 784457533
walk 511611198
walk 592398209
walk 303633556
walk 729407439
walk 483005375
walk 804741943
walk 276597211
walk 41249448
walk 387023118
walk 997631176
walk 276443821
walk 128456023
walk 804403725
w...

result:

ok OK, guesses=6673

Test #18:

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

input:

409537884
219189695
353054335
116029520
590666811
385592492
496317880
840304329
561463527
442560021
413134804
761482742
902570086
675271009
22683930
206662665
427000202
47987218
76033519
57636608
135346873
373577106
623688540
638713076
812907040
472200176
99913765
883812705
611363524
101714963
74006...

output:

walk 754439079
walk 126747266
walk 888677997
walk 699340389
walk 991774301
walk 227219358
walk 784457533
walk 511611198
walk 592398209
walk 303633556
walk 729407439
walk 483005375
walk 804741943
walk 276597211
walk 41249448
walk 387023118
walk 997631176
walk 276443821
walk 128456023
walk 804403725
w...

result:

ok OK, guesses=6858

Test #19:

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

input:

151206636
168955742
56631547
225063657
101139834
200426540
100276243
93689917
160823075
14119870
200157076
219719393
8730336
80261374
86925179
86333278
132715855
21432789
68997799
135835585
180717202
136790775
246724323
261232172
266284705
226737309
207523029
565051
42375027
122274322
168090967
2298...

output:

walk 754439079
walk 126747266
walk 888677997
walk 699340389
walk 991774301
walk 227219358
walk 784457533
walk 511611198
walk 592398209
walk 303633556
walk 729407439
walk 483005375
walk 804741943
walk 276597211
walk 41249448
walk 387023118
walk 997631176
walk 276443821
walk 128456023
walk 804403725
w...

result:

ok OK, guesses=6669

Test #20:

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

input:

209698639
273763917
70941469
104648917
255725898
109222215
145673334
86057145
8696900
385024410
212916656
271081180
39821000
245331657
351202575
335487683
96088302
88882462
332781801
168901290
99341011
192936553
375179299
363126027
100245773
339396659
266866781
341602837
60310968
95371801
340905837
...

output:

walk 754439079
walk 126747266
walk 888677997
walk 699340389
walk 991774301
walk 227219358
walk 784457533
walk 511611198
walk 592398209
walk 303633556
walk 729407439
walk 483005375
walk 804741943
walk 276597211
walk 41249448
walk 387023118
walk 997631176
walk 276443821
walk 128456023
walk 804403725
w...

result:

ok OK, guesses=6691

Test #21:

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

input:

130004042
837751
132569748
130486494
19941151
53941762
83229959
15825958
60658998
75649546
69698270
16395236
85164606
33220613
145440769
147139510
86084145
3808196
39481012
23081531
126637232
142449808
131957713
46173512
131341657
70802651
95435442
128469548
991133
114957835
31396146
129003479
13416...

output:

walk 833730744
walk 427963036
walk 144356616
walk 501515628
walk 107335600
walk 251709597
walk 25393298
walk 311507974
walk 836668658
walk 341017759
walk 250443961
walk 610829288
walk 42157958
walk 336552118
walk 310672566
walk 230282774
walk 303727190
walk 350079640
walk 57454247
walk 698092930
wal...

result:

ok OK, guesses=6670

Test #22:

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

input:

91082125
119850162
298236164
139662118
178644455
35437073
219012701
42312330
53551953
87238169
282939330
129912021
146765224
101016672
145338757
123989140
71536295
167582144
241300111
171932875
104210178
10951191
296648057
175759500
194883888
123546301
121683423
90659446
157681774
137175843
18840258...

output:

walk 833730744
walk 427963036
walk 144356616
walk 501515628
walk 107335600
walk 251709597
walk 25393298
walk 311507974
walk 836668658
walk 341017759
walk 250443961
walk 610829288
walk 42157958
walk 336552118
walk 310672566
walk 230282774
walk 303727190
walk 350079640
walk 57454247
walk 698092930
wal...

result:

ok OK, guesses=6699

Test #23:

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

input:

207035713
395316955
329913958
49792641
867712750
513138547
671831376
648603643
878992499
688716998
33993789
308368294
681362298
908853490
812424822
782196872
36142889
915556690
593478298
587229884
925305275
279690063
770369735
167353214
836462562
82322121
139906305
770935128
504026154
63760413
57409...

output:

walk 833730744
walk 427963036
walk 144356616
walk 501515628
walk 107335600
walk 251709597
walk 25393298
walk 311507974
walk 836668658
walk 341017759
walk 250443961
walk 610829288
walk 42157958
walk 336552118
walk 310672566
walk 230282774
walk 303727190
walk 350079640
walk 57454247
walk 698092930
wal...

result:

ok OK, guesses=6783

Test #24:

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

input:

732565132
107127982
294572764
266456523
710556204
252450337
248627462
811274345
885775554
47402615
24255447
180090845
199797367
365366234
698638740
905575749
95144540
850284660
499790592
536530147
867666228
300226221
194574703
679194035
688339378
343152583
653516627
672961778
132059988
267072493
857...

output:

walk 833730744
walk 427963036
walk 144356616
walk 501515628
walk 107335600
walk 251709597
walk 25393298
walk 311507974
walk 836668658
walk 341017759
walk 250443961
walk 610829288
walk 42157958
walk 336552118
walk 310672566
walk 230282774
walk 303727190
walk 350079640
walk 57454247
walk 698092930
wal...

result:

ok OK, guesses=6823

Test #25:

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

input:

645479182
624587542
725453800
47627915
242326958
165872052
414677532
142886805
322113527
727666351
291969637
736656630
188038198
170232424
658183444
353935136
256067515
659400472
317288704
311820587
330259624
641411425
81574141
500707916
149011690
413451673
517771804
8561516
80388699
451386267
28260...

output:

walk 27182508
walk 656604189
walk 494955052
walk 78691677
walk 854029408
walk 692323705
walk 276618087
walk 810339222
walk 673285769
walk 303378494
walk 193947010
walk 253845386
walk 87131668
walk 877191668
walk 49986952
walk 331253440
walk 616601139
walk 587167071
walk 633652641
walk 681972972
walk...

result:

ok OK, guesses=6668

Test #26:

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

input:

121949766
99272878
51459005
123302836
27025445
72982143
124235707
69092750
87770959
97788785
36626942
66185764
105010835
103461710
54381390
16003772
116784924
18970505
33384076
92399881
77645691
102811217
115698521
74452611
23372259
63192988
21561551
107009843
18269096
87664292
80167954
50894534
815...

output:

walk 27182508
walk 656604189
walk 494955052
walk 78691677
walk 854029408
walk 692323705
walk 276618087
walk 810339222
walk 673285769
walk 303378494
walk 193947010
walk 253845386
walk 87131668
walk 877191668
walk 49986952
walk 331253440
walk 616601139
walk 587167071
walk 633652641
walk 681972972
walk...

result:

ok OK, guesses=6674

Test #27:

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

input:

609329313
337737317
321560629
494726966
147090944
89235219
23192841
236058053
71336897
555393756
408159541
354586697
805491075
351584548
239935795
688630125
45187864
402174775
867983866
44298348
333095700
672858758
511162488
897661648
398430941
246650913
503522214
236188229
257823907
259334690
38199...

output:

walk 27182508
walk 656604189
walk 494955052
walk 78691677
walk 854029408
walk 692323705
walk 276618087
walk 810339222
walk 673285769
walk 303378494
walk 193947010
walk 253845386
walk 87131668
walk 877191668
walk 49986952
walk 331253440
walk 616601139
walk 587167071
walk 633652641
walk 681972972
walk...

result:

ok OK, guesses=7371

Test #28:

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

input:

427057209
809165926
366964912
257110955
524689015
618728546
479175031
221224461
585359112
633556805
591679143
264411327
586265642
625348055
317850362
229589938
14802359
485521555
63269320
533416985
565078884
637574277
821647003
98161553
119119366
734675724
566087942
483101472
548187662
176024393
100...

output:

walk 27182508
walk 656604189
walk 494955052
walk 78691677
walk 854029408
walk 692323705
walk 276618087
walk 810339222
walk 673285769
walk 303378494
walk 193947010
walk 253845386
walk 87131668
walk 877191668
walk 49986952
walk 331253440
walk 616601139
walk 587167071
walk 633652641
walk 681972972
walk...

result:

ok OK, guesses=6740

Test #29:

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

input:

336472336
82808595
739255281
382947928
36074290
426038462
182477112
23010817
312319827
962102682
468151886
611853430
316968013
217852978
228553670
203732212
946190853
816843300
709828176
463922826
247612751
506891173
565147317
259510462
470161948
864935746
11253144
569684019
209859280
507641431
7522...

output:

walk 909817598
walk 327139774
walk 700177698
walk 266382922
walk 665389817
walk 872886637
walk 89356643
walk 222018838
walk 467044342
walk 392530587
walk 912530819
walk 934091169
walk 676420999
walk 223467357
walk 779378312
walk 654783450
walk 112299071
walk 334271309
walk 504904359
walk 126459010
w...

result:

ok OK, guesses=6686

Test #30:

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

input:

69544274
594486914
699880115
635446385
104381333
663698582
781533692
170065739
6733194
63543276
550906355
436847382
138107211
320269117
604210149
411431439
540584712
4789039
43605717
656286331
96036965
713859384
300225433
551204552
125006522
341969665
302200785
100648242
394002429
725471174
34144064...

output:

walk 909817598
walk 327139774
walk 700177698
walk 266382922
walk 665389817
walk 872886637
walk 89356643
walk 222018838
walk 467044342
walk 392530587
walk 912530819
walk 934091169
walk 676420999
walk 223467357
walk 779378312
walk 654783450
walk 112299071
walk 334271309
walk 504904359
walk 126459010
w...

result:

ok OK, guesses=6747

Test #31:

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

input:

336549870
663689644
504628648
771011570
577162693
590810636
680167279
42947423
509991765
43283658
96575783
171428258
847849257
212077920
132217538
787000988
40061365
374332674
19998339
146457349
217651579
290328597
136871635
88590678
427598796
673172514
689749266
656973921
366532523
523396016
537240...

output:

walk 909817598
walk 327139774
walk 700177698
walk 266382922
walk 665389817
walk 872886637
walk 89356643
walk 222018838
walk 467044342
walk 392530587
walk 912530819
walk 934091169
walk 676420999
walk 223467357
walk 779378312
walk 654783450
walk 112299071
walk 334271309
walk 504904359
walk 126459010
w...

result:

ok OK, guesses=6669

Test #32:

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

input:

511012809
862102561
929964325
261501584
691095865
177846731
778029670
115540625
413610801
391374846
557193620
425529485
143417247
923409642
960844589
400857056
106172299
75753000
710482311
723423478
23927467
884019468
543550762
915494418
612987135
517400880
429434628
500414841
509685644
305431670
41...

output:

walk 909817598
walk 327139774
walk 700177698
walk 266382922
walk 665389817
walk 872886637
walk 89356643
walk 222018838
walk 467044342
walk 392530587
walk 912530819
walk 934091169
walk 676420999
walk 223467357
walk 779378312
walk 654783450
walk 112299071
walk 334271309
walk 504904359
walk 126459010
w...

result:

ok OK, guesses=6695

Test #33:

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

input:

761715837
858300805
886731944
826992163
226309068
412844562
269724882
294182952
441468184
66840408
706451901
887254005
16684019
477431114
861918617
616850309
707327683
1601623
826627021
669022572
701338896
479869984
799628964
540302861
298630324
880950104
466882987
61521541
32583200
536330244
247774...

output:

walk 761715836
walk 96584968
walk 976789464
walk 888618544
walk 347675230
walk 186535494
walk 805238645
walk 972816395
walk 147285232
walk 573730549
walk 639611493
walk 180802104
walk 77788339
walk 460747095
walk 384487503
walk 703290017
walk 90477374
walk 242632265
walk 825025398
walk 790753876
wal...

result:

ok OK, guesses=6850

Test #34:

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

input:

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

output:

walk 761715836
walk 96584968
walk 976789464
walk 888618544
walk 347675230
walk 186535494
walk 805238645
walk 972816395
walk 147285232
walk 573730549
walk 639611493
walk 180802104
walk 77788339
walk 460747095
walk 384487503
walk 703290017
walk 90477374
walk 242632265
walk 825025398
walk 790753876
wal...

result:

ok OK, guesses=3336

Test #35:

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

input:

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

output:

walk 761715836
walk 96584968
walk 976789464
walk 888618544
walk 347675230
walk 186535494
walk 805238645
walk 972816395
walk 147285232
walk 573730549
walk 639611493
walk 180802104
walk 77788339
walk 460747095
walk 384487503
walk 703290017
walk 90477374
walk 242632265
walk 825025398
walk 790753876
wal...

result:

ok OK, guesses=3337

Test #36:

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

input:

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

output:

walk 761715836
walk 96584968
walk 976789464
walk 888618544
walk 347675230
walk 186535494
walk 805238645
walk 972816395
walk 147285232
walk 573730549
walk 639611493
walk 180802104
walk 77788339
walk 460747095
walk 384487503
walk 703290017
walk 90477374
walk 242632265
walk 825025398
walk 790753876
wal...

result:

ok OK, guesses=3338

Test #37:

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

input:

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

output:

walk 761715836
walk 96584968
walk 976789464
walk 888618544
walk 347675230
walk 186535494
walk 805238645
walk 972816395
walk 147285232
walk 573730549
walk 639611493
walk 180802104
walk 77788339
walk 460747095
walk 384487503
walk 703290017
walk 90477374
walk 242632265
walk 825025398
walk 790753876
wal...

result:

ok OK, guesses=3339

Test #38:

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

input:

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

output:

walk 761715836
walk 96584968
walk 976789464
walk 888618544
walk 347675230
walk 186535494
walk 805238645
walk 972816395
walk 147285232
walk 573730549
walk 639611493
walk 180802104
walk 77788339
walk 460747095
walk 384487503
walk 703290017
walk 90477374
walk 242632265
walk 825025398
walk 790753876
wal...

result:

ok OK, guesses=3340

Test #39:

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

input:

687
2192
553
2918
1196
518
2884
2768
484
1549
1360
322
1565
119
2496
1594
1941
2093
737
756
999
545
2694
396
1337
2028
105
15
2263
1408
1762
1543
2303
2575
30
1681
2153
1769
813
453
1683
259
795
407
2781
2106
53
2484
2018
2117
315
1543
316
2852
1881
913
2992
2464
164
698
2394
1181
177
721
137
2233
5...

output:

walk 761715836
walk 96584968
walk 976789464
walk 888618544
walk 347675230
walk 186535494
walk 805238645
walk 972816395
walk 147285232
walk 573730549
walk 639611493
walk 180802104
walk 77788339
walk 460747095
walk 384487503
walk 703290017
walk 90477374
walk 242632265
walk 825025398
walk 790753876
wal...

result:

ok OK, guesses=6334

Test #40:

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

input:

993
1519
1897
1336
41
1691
488
1070
975
1973
1251
720
1424
1807
377
1404
1529
632
1301
1906
73
609
1540
357
1298
1190
106
525
1623
938
489
765
1379
661
575
512
1769
1104
791
1218
1407
1046
953
1474
1560
742
1203
1090
908
455
1291
1508
1774
865
109
1401
1645
1708
443
1843
273
1166
403
1432
1128
1434
...

output:

walk 429666234
walk 853740052
walk 544376726
walk 82887717
walk 902211441
walk 801123667
walk 41472611
walk 20101318
walk 234371230
walk 93452247
walk 659764230
walk 704727732
walk 116798590
walk 591254736
walk 29988300
walk 67483276
walk 247899596
walk 145821895
walk 364837277
walk 632703171
walk 1...

result:

ok OK, guesses=5334

Test #41:

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

input:

1920
191
78
1828
2356
1721
2064
1202
3734
2576
1890
3066
1546
573
1787
3078
642
1037
1594
2200
1867
3561
3908
3715
3325
120
281
3343
951
1535
650
1132
3103
806
1124
83
1738
2592
578
1753
1320
3240
2292
362
771
3314
2340
590
1200
3280
9
931
3398
3188
3556
79
2395
368
1244
74
351
3434
2392
2663
1366
6...

output:

walk 429666234
walk 853740052
walk 544376726
walk 82887717
walk 902211441
walk 801123667
walk 41472611
walk 20101318
walk 234371230
walk 93452247
walk 659764230
walk 704727732
walk 116798590
walk 591254736
walk 29988300
walk 67483276
walk 247899596
walk 145821895
walk 364837277
walk 632703171
walk 1...

result:

ok OK, guesses=6667

Test #42:

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

input:

6331
1331
449
2642
6083
6654
3918
4080
5947
4700
1080
3956
634
3862
1847
475
2153
1476
3706
4944
4702
1440
5878
5787
5306
2182
1148
2482
5968
5682
2909
3959
534
6167
1387
5812
6485
6524
492
3296
1006
3351
4835
3968
1287
3744
6225
2450
4612
6116
5129
19
774
4792
442
3650
2003
2447
970
5421
1064
5252
...

output:

walk 429666234
walk 853740052
walk 544376726
walk 82887717
walk 902211441
walk 801123667
walk 41472611
walk 20101318
walk 234371230
walk 93452247
walk 659764230
walk 704727732
walk 116798590
walk 591254736
walk 29988300
walk 67483276
walk 247899596
walk 145821895
walk 364837277
walk 632703171
walk 1...

result:

ok OK, guesses=6667

Test #43:

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

input:

1651
4229
2985
37
1892
2282
238
4443
6030
3794
326
4754
1308
4304
5599
2555
5416
1207
5753
1421
643
250
74
5890
546
2769
1086
6417
5632
3117
4999
2971
4296
4090
3482
3993
3011
1918
1746
2048
1321
2473
5711
1933
6381
1914
6491
5176
6407
666
3158
2375
5433
6018
6491
2454
5431
5489
5746
4252
1512
5038
...

output:

walk 429666234
walk 853740052
walk 544376726
walk 82887717
walk 902211441
walk 801123667
walk 41472611
walk 20101318
walk 234371230
walk 93452247
walk 659764230
walk 704727732
walk 116798590
walk 591254736
walk 29988300
walk 67483276
walk 247899596
walk 145821895
walk 364837277
walk 632703171
walk 1...

result:

ok OK, guesses=6667

Test #44:

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

input:

1705811
4067283
337867
7893959
44958
895745
3344360
958077
8318090
3542267
560248
7685633
1395329
2865064
5419338
7483349
5770056
4208946
3873216
7497541
181791
3126713
26610
2096316
3247215
8224832
8627005
2252557
7189015
7374887
2216771
3781482
8090683
4604129
7737136
8296837
6852943
8871338
56813...

output:

walk 151903663
walk 166360824
walk 800790852
walk 130294289
walk 957311366
walk 396307093
walk 85802789
walk 548278638
walk 796381279
walk 197009088
walk 636780129
walk 824338666
walk 210902054
walk 200650482
walk 861168509
walk 668593852
walk 226502203
walk 18716538
walk 859575909
walk 485282794
wa...

result:

ok OK, guesses=6667

Test #45:

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

input:

5460169
4156628
2326577
9722067
3519628
2623594
9461660
5175450
6802726
7291470
3369748
6737120
8291526
8414630
10553603
3370971
142746
8258324
4861314
1939866
4342866
10835525
6277138
1830771
1199665
11088975
7106792
4359253
4366823
9069376
2529352
7481845
3068047
10694219
9127564
10434157
3292905
...

output:

walk 151903663
walk 166360824
walk 800790852
walk 130294289
walk 957311366
walk 396307093
walk 85802789
walk 548278638
walk 796381279
walk 197009088
walk 636780129
walk 824338666
walk 210902054
walk 200650482
walk 861168509
walk 668593852
walk 226502203
walk 18716538
walk 859575909
walk 485282794
wa...

result:

ok OK, guesses=6667

Test #46:

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

input:

16148826
9610643
13474599
16451165
6631116
9312829
10113590
10513582
4911879
14754199
16214119
18422603
12781409
17663134
3607060
15773563
18356216
15305489
12758930
18323275
14933884
17527756
18798077
7351643
3150843
5613566
9297460
3887627
9374575
8629076
8005693
11324657
14927056
2005712
14463689...

output:

walk 151903663
walk 166360824
walk 800790852
walk 130294289
walk 957311366
walk 396307093
walk 85802789
walk 548278638
walk 796381279
walk 197009088
walk 636780129
walk 824338666
walk 210902054
walk 200650482
walk 861168509
walk 668593852
walk 226502203
walk 18716538
walk 859575909
walk 485282794
wa...

result:

ok OK, guesses=6668

Test #47:

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

input:

242459
460467
89623
383225
554140
361298
26733
201478
762960
111256
792327
70592
746674
262700
126019
650193
378686
473443
750950
137052
179793
671689
239874
452652
53633
576128
782379
641191
154999
773284
734628
487219
595487
44372
153077
291258
85450
62400
144698
414301
99749
387424
138967
672053
...

output:

walk 151903663
walk 166360824
walk 800790852
walk 130294289
walk 957311366
walk 396307093
walk 85802789
walk 548278638
walk 796381279
walk 197009088
walk 636780129
walk 824338666
walk 210902054
walk 200650482
walk 861168509
walk 668593852
walk 226502203
walk 18716538
walk 859575909
walk 485282794
wa...

result:

ok OK, guesses=6667

Test #48:

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

input:

36704886
7092031
32793087
20538205
16102196
19630807
8877767
39976894
56537537
30203161
48903166
29280128
32217338
28712725
1789657
38879338
4055732
53881376
30505347
24668431
18921429
34593410
28983276
58009371
19842630
2930167
17071072
40692663
12158292
28584732
31696604
31769152
32679302
16648493...

output:

walk 150159414
walk 260586299
walk 596593798
walk 700373268
walk 280023369
walk 351693326
walk 731942101
walk 486000134
walk 785223344
walk 270585162
walk 801774020
walk 71855623
walk 287828698
walk 730990127
walk 416705250
walk 562298790
walk 227284236
walk 801604162
walk 121032894
walk 586846409
w...

result:

ok OK, guesses=6668

Test #49:

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

input:

49626348
96001374
104637025
213024013
235533487
113862945
64354129
140681666
168764170
106638822
142399973
139346027
106191460
13364760
9123501
2034006
162243859
209208695
212578415
202846305
159152460
68882846
116081266
212616517
41760374
218551950
169138265
60829427
24392889
138926955
83140110
200...

output:

walk 150159414
walk 260586299
walk 596593798
walk 700373268
walk 280023369
walk 351693326
walk 731942101
walk 486000134
walk 785223344
walk 270585162
walk 801774020
walk 71855623
walk 287828698
walk 730990127
walk 416705250
walk 562298790
walk 227284236
walk 801604162
walk 121032894
walk 586846409
w...

result:

ok OK, guesses=6676

Test #50:

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

input:

295349110
364509230
461958296
247530796
5723063
271558181
177663094
362223230
188353228
217912974
421228756
305358239
202369359
295755701
54594987
343463433
119667777
509870790
398245506
339641248
125588343
384962189
242124621
275873822
223902154
95912031
454458421
351365049
249576559
147091272
3441...

output:

walk 150159414
walk 260586299
walk 596593798
walk 700373268
walk 280023369
walk 351693326
walk 731942101
walk 486000134
walk 785223344
walk 270585162
walk 801774020
walk 71855623
walk 287828698
walk 730990127
walk 416705250
walk 562298790
walk 227284236
walk 801604162
walk 121032894
walk 586846409
w...

result:

ok OK, guesses=6743

Test #51:

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

input:

150159415
410745714
83761277
784134545
140579679
492273005
300636871
786637005
648282114
918867276
797063061
868918684
233169147
40581039
457286289
96006844
323291080
201317007
322349901
909196310
560787772
805003094
762438489
563820030
649943607
604020998
402540751
445531018
586867126
760823539
431...

output:

walk 150159414
walk 260586299
walk 596593798
walk 700373268
walk 280023369
walk 351693326
walk 731942101
walk 486000134
walk 785223344
walk 270585162
walk 801774020
walk 71855623
walk 287828698
walk 730990127
walk 416705250
walk 562298790
walk 227284236
walk 801604162
walk 121032894
walk 586846409
w...

result:

ok OK, guesses=6892

Test #52:

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

input:

66201839
133529845
150348764
77688860
164453936
129630676
88539605
188023153
6955032
84281901
113022749
184878372
86190484
44147439
74336103
56860014
90885957
119456947
47231548
54303078
49697896
100654925
15377090
160561987
53427271
158049725
107114541
107391578
55469393
36167513
50199314
67551613
...

output:

walk 150159414
walk 260586299
walk 596593798
walk 700373268
walk 280023369
walk 351693326
walk 731942101
walk 486000134
walk 785223344
walk 270585162
walk 801774020
walk 71855623
walk 287828698
walk 730990127
walk 416705250
walk 562298790
walk 227284236
walk 801604162
walk 121032894
walk 586846409
w...

result:

ok OK, guesses=6672

Test #53:

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

input:

198277866
11809206
30048806
137283321
136686969
144674934
211458711
65033612
140670460
101919981
31135884
98434568
229044428
235236715
94516262
207013104
180275359
234509966
163348249
197335602
205882944
97531058
153079446
85047933
179294050
196008549
31817076
120299699
73474177
224298144
132496795
...

output:

walk 868546680
walk 418674893
walk 728144828
walk 5644561
walk 790252606
walk 580089922
walk 580952310
walk 91556907
walk 333572796
walk 219731825
walk 955734431
walk 295971213
walk 855582553
walk 709061921
walk 680681069
walk 691260480
walk 809930583
walk 433144986
walk 675448303
walk 267868054
wal...

result:

ok OK, guesses=6669