QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#714969#5309. Guess Cycle Lengthucup-team5079AC ✓26ms4024kbC++231.1kb2024-11-06 09:34:142024-11-06 09:34:14

詳細信息

Test #1:

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

input:

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

output:

walk 289438792
walk 377939517
walk 561648128
walk 749997105
walk 766206813
walk 653069477
walk 457421818
walk 13210350
walk 464487974
walk 196118911
walk 465764737
walk 50115635
walk 4353784
walk 455786512
walk 326452307
walk 821395846
walk 149649303
walk 962549711
walk 249214340
walk 597288550
walk...

result:

ok OK, guesses=3344

Test #2:

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

input:

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

output:

walk 149088688
walk 791486202
walk 365995989
walk 571717869
walk 700798813
walk 875811732
walk 320471837
walk 308926838
walk 772134266
walk 283324728
walk 976104933
walk 714421114
walk 908803067
walk 8683166
walk 320734986
walk 284891986
walk 332723346
walk 729781941
walk 947182563
walk 261059696
wa...

result:

ok OK, guesses=3354

Test #3:

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

input:

8689
4891
880
8749
7562
9294
1131
7969
2235
6963
1896
3010
6077
9243
4229
6215
9561
1502
4065
3761
6126
8983
8164
8529
3552
3330
1461
7888
4362
117
8726
3888
5846
445
3477
4248
579
5449
3058
3655
3254
5796
7508
174
5883
2581
7234
6289
4929
2145
898
1903
1976
9910
1281
6377
4089
3591
5115
9302
4560
4...

output:

walk 149088688
walk 791486202
walk 365995989
walk 571717869
walk 700798813
walk 875811732
walk 320471837
walk 308926838
walk 772134266
walk 283324728
walk 976104933
walk 714421114
walk 908803067
walk 8683166
walk 320734986
walk 284891986
walk 332723346
walk 729781941
walk 947182563
walk 261059696
wa...

result:

ok OK, guesses=6667

Test #4:

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

input:

149088689
940574891
306570880
878288749
579087562
454899294
775371131
84297969
856432235
139756963
115861896
830283010
739086077
747769243
68504229
353396215
686119561
415901502
363084065
624143761
367676126
128688983
71498164
100388529
234103552
945113330
334381461
764187888
661254362
778340117
792...

output:

walk 149088688
walk 791486202
walk 365995989
walk 571717869
walk 700798813
walk 875811732
walk 320471837
walk 308926838
walk 772134266
walk 283324728
walk 976104933
walk 714421114
walk 908803067
walk 8683166
walk 320734986
walk 284891986
walk 332723346
walk 729781941
walk 947182563
walk 261059696
wa...

result:

ok OK, guesses=7077

Test #5:

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

input:

151008499
942494701
308490690
880208559
581007372
456819104
777290941
86217779
858352045
141676773
117781706
832202820
741005887
749689053
70424039
355316025
688039371
417821312
365003875
626063571
369595936
130608793
73417974
102308339
236023362
947033140
336301271
766107698
663174172
780259927
794...

output:

walk 149088688
walk 791486202
walk 365995989
walk 571717869
walk 700798813
walk 875811732
walk 320471837
walk 308926838
walk 772134266
walk 283324728
walk 976104933
walk 714421114
walk 908803067
walk 8683166
walk 320734986
walk 284891986
walk 332723346
walk 729781941
walk 947182563
walk 261059696
wa...

result:

ok OK, guesses=6720

Test #6:

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

input:

862473777
767285531
891628584
961504397
293795298
553035862
940700011
997076337
511923419
993256275
477970416
645685594
505687453
344989835
729604357
559007879
725282121
857242678
473207329
438965521
877799126
541763815
681025852
994225457
291855528
577292234
123938421
516255000
960918898
498732533
...

output:

walk 149088688
walk 791486202
walk 365995989
walk 571717869
walk 700798813
walk 875811732
walk 320471837
walk 308926838
walk 772134266
walk 283324728
walk 976104933
walk 714421114
walk 908803067
walk 8683166
walk 320734986
walk 284891986
walk 332723346
walk 729781941
walk 947182563
walk 261059696
wa...

result:

ok OK, guesses=6700

Test #7:

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

input:

148013811
708286917
17220633
424559374
894831294
986503547
522336871
766452862
47823734
702180483
685157106
554782830
859652034
917128688
721763389
959653590
970515232
955738987
336361685
378893920
72324822
867363662
150474042
22287461
747137179
260537471
373029338
291703759
280136574
161699857
5173...

output:

walk 505559743
walk 202727173
walk 664411685
walk 889345779
walk 632786913
walk 91672253
walk 178287641
walk 601661674
walk 571844551
walk 363883070
walk 982976623
walk 869625724
walk 304869204
walk 57476654
walk 804634701
walk 237890201
walk 10861642
walk 985223755
walk 132095931
walk 918800493
wal...

result:

ok OK, guesses=6702

Test #8:

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

input:

987045608
716627451
450773118
345638501
527130020
418402543
275099596
283521035
684605204
842507780
163479036
646498810
336875770
444908707
49825167
392496996
410006624
777024443
933504710
330242130
42322784
774159659
513432113
694327310
290418345
228048983
226412679
892323614
464845341
421557967
51...

output:

walk 505559743
walk 202727173
walk 664411685
walk 889345779
walk 632786913
walk 91672253
walk 178287641
walk 601661674
walk 571844551
walk 363883070
walk 982976623
walk 869625724
walk 304869204
walk 57476654
walk 804634701
walk 237890201
walk 10861642
walk 985223755
walk 132095931
walk 918800493
wal...

result:

ok OK, guesses=6668

Test #9:

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

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 505559743
walk 202727173
walk 664411685
walk 889345779
walk 632786913
walk 91672253
walk 178287641
walk 601661674
walk 571844551
walk 363883070
walk 982976623
walk 869625724
walk 304869204
walk 57476654
walk 804634701
walk 237890201
walk 10861642
walk 985223755
walk 132095931
walk 918800493
wal...

result:

ok OK, guesses=3335

Test #10:

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

input:

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

output:

walk 505559743
walk 202727173
walk 664411685
walk 889345779
walk 632786913
walk 91672253
walk 178287641
walk 601661674
walk 571844551
walk 363883070
walk 982976623
walk 869625724
walk 304869204
walk 57476654
walk 804634701
walk 237890201
walk 10861642
walk 985223755
walk 132095931
walk 918800493
wal...

result:

ok OK, guesses=3344

Test #11:

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

input:

713
976
985
407
948
871
256
461
569
775
848
373
311
639
477
448
51
725
562
857
676
45
745
373
642
114
933
757
654
576
230
160
575
118
282
213
327
588
442
764
292
371
555
236
190
440
434
681
160
470
179
938
611
316
579
690
345
258
492
679
665
201
398
830
40
319
242
35
901
555
233
989
609
110
351
825
...

output:

walk 505559743
walk 202727173
walk 664411685
walk 889345779
walk 632786913
walk 91672253
walk 178287641
walk 601661674
walk 571844551
walk 363883070
walk 982976623
walk 869625724
walk 304869204
walk 57476654
walk 804634701
walk 237890201
walk 10861642
walk 985223755
walk 132095931
walk 918800493
wal...

result:

ok OK, guesses=4334

Test #12:

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

input:

5582
999
9026
8105
4139
5552
8877
8904
2640
3787
4528
2591
3973
17
4761
321
5147
7989
9479
5305
740
1143
8682
9547
1212
1557
5524
1296
408
1580
5173
9588
9697
4805
5498
6279
2025
3323
1996
7804
1384
2802
1611
4426
6620
8120
2232
7134
1194
2258
325
7298
6883
2862
1695
3936
4004
4619
3492
9532
4360
34...

output:

walk 505559743
walk 202727173
walk 664411685
walk 889345779
walk 632786913
walk 91672253
walk 178287641
walk 601661674
walk 571844551
walk 363883070
walk 982976623
walk 869625724
walk 304869204
walk 57476654
walk 804634701
walk 237890201
walk 10861642
walk 985223755
walk 132095931
walk 918800493
wal...

result:

ok OK, guesses=6667

Test #13:

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

input:

15277
45337
8162
78274
58066
83256
47032
60011
31042
89014
61134
64150
47103
23868
66149
12374
13193
91658
85554
22749
5819
53720
5514
66909
72809
75506
13279
85327
19776
36090
24048
5525
97632
21616
2860
56064
80591
62169
7638
23110
95610
33348
59432
4250
732
7533
69885
25958
83530
75512
91200
3886...

output:

walk 860083540
walk 111864353
walk 465889743
walk 705124079
walk 561880718
walk 311029408
walk 534476761
walk 390558364
walk 375451342
walk 443196976
walk 984902088
walk 529056915
walk 200270408
walk 600044656
walk 792976320
walk 191041331
walk 181322848
walk 745152253
walk 818261487
walk 567247104
...

result:

ok OK, guesses=6667

Test #14:

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

input:

464961
730465
373845
157061
474340
882054
600972
926256
427936
886543
905104
440711
762321
934754
725164
130470
283681
836
598164
838871
540366
837106
268798
878726
111603
583394
662473
473799
185717
425258
949007
192886
484078
196272
70302
896310
167383
554617
490610
220125
928077
421030
498315
662...

output:

walk 860083540
walk 111864353
walk 465889743
walk 705124079
walk 561880718
walk 311029408
walk 534476761
walk 390558364
walk 375451342
walk 443196976
walk 984902088
walk 529056915
walk 200270408
walk 600044656
walk 792976320
walk 191041331
walk 181322848
walk 745152253
walk 818261487
walk 567247104
...

result:

ok OK, guesses=6667

Test #15:

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

input:

5502142
5985539
866495
6488966
2336975
217308
1466882
5239195
8148999
150550
2822131
5638434
8952080
9526359
333697
8586366
212134
7926319
4235338
9652995
6315553
781266
8231490
9648507
7428187
7047361
9517680
699787
8332680
4464738
9562871
7764711
7360921
8464955
2733211
3995725
1738816
5918784
639...

output:

walk 860083540
walk 111864353
walk 465889743
walk 705124079
walk 561880718
walk 311029408
walk 534476761
walk 390558364
walk 375451342
walk 443196976
walk 984902088
walk 529056915
walk 200270408
walk 600044656
walk 792976320
walk 191041331
walk 181322848
walk 745152253
walk 818261487
walk 567247104
...

result:

ok OK, guesses=6668

Test #16:

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

input:

23649053
85608575
1660273
84089856
59028787
79755995
62075278
8330230
94772796
44773505
24963777
54946169
17477304
3146561
79282806
47605847
13006358
53078937
67902027
1783938
41981527
16928141
69787829
80800726
82461146
45983257
72517182
77034699
59757604
39805253
34556221
20655627
28732280
8014783...

output:

walk 860083540
walk 111864353
walk 465889743
walk 705124079
walk 561880718
walk 311029408
walk 534476761
walk 390558364
walk 375451342
walk 443196976
walk 984902088
walk 529056915
walk 200270408
walk 600044656
walk 792976320
walk 191041331
walk 181322848
walk 745152253
walk 818261487
walk 567247104
...

result:

ok OK, guesses=6667

Test #17:

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

input:

662508466
263857466
576645700
318298415
365843789
91181569
573564349
273077389
364590873
120023601
413345097
947802239
953993597
950035806
809731266
666001857
441319063
31946097
449266969
333668983
968039875
48749679
349321353
778175000
279191978
941655432
15708099
876223132
517266749
497857487
6877...

output:

walk 720559351
walk 526602037
walk 768831498
walk 527594207
walk 998057523
walk 532198894
walk 398136614
walk 688323427
walk 181385706
walk 530794666
walk 497828084
walk 191557333
walk 604798338
walk 656139053
walk 785429915
walk 654189859
walk 368279413
walk 10628670
walk 515324787
walk 735652303
w...

result:

ok OK, guesses=6683

Test #18:

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

input:

859854000
391497113
143259757
556790327
722395309
62201627
76809060
819654272
501728451
58380933
764953551
496655609
167703653
323233625
843955523
633341838
904271238
40667970
12972428
524176526
120054489
713597432
270291460
780925274
473376252
284855104
832185305
431065670
224370022
265483236
69428...

output:

walk 720559351
walk 526602037
walk 768831498
walk 527594207
walk 998057523
walk 532198894
walk 398136614
walk 688323427
walk 181385706
walk 530794666
walk 497828084
walk 191557333
walk 604798338
walk 656139053
walk 785429915
walk 654189859
walk 368279413
walk 10628670
walk 515324787
walk 735652303
w...

result:

ok OK, guesses=6683

Test #19:

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

input:

62930486
94619008
222710170
130362608
126055943
209504445
167475977
264962469
15713031
187207365
153677054
152417681
141067058
256609299
197356323
3053142
215801465
133163099
271751530
234209137
69247118
187090426
192270610
152453371
166510281
44801218
247432574
213553346
25397197
212927351
11827217...

output:

walk 720559351
walk 526602037
walk 768831498
walk 527594207
walk 998057523
walk 532198894
walk 398136614
walk 688323427
walk 181385706
walk 530794666
walk 497828084
walk 191557333
walk 604798338
walk 656139053
walk 785429915
walk 654189859
walk 368279413
walk 10628670
walk 515324787
walk 735652303
w...

result:

ok OK, guesses=6679

Test #20:

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

input:

196538543
307775458
310364400
211911723
348488274
296969518
52083991
269327916
57442703
45831627
177541901
11633810
155261485
184009549
23579986
168454617
205531601
70667221
392159892
219128783
19812034
392659330
241644146
240355357
244833821
117848892
268504574
290240616
189760829
258509749
1589418...

output:

walk 720559351
walk 526602037
walk 768831498
walk 527594207
walk 998057523
walk 532198894
walk 398136614
walk 688323427
walk 181385706
walk 530794666
walk 497828084
walk 191557333
walk 604798338
walk 656139053
walk 785429915
walk 654189859
walk 368279413
walk 10628670
walk 515324787
walk 735652303
w...

result:

ok OK, guesses=6698

Test #21:

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

input:

66584683
97803313
111524983
106880809
74000076
17007407
136474460
13586499
67303199
40746107
33785662
136535600
143358610
126212590
38037243
136713441
24385814
95103697
80714398
110714840
19757604
146621251
93945121
144003218
69918617
145586559
106785050
63190437
145179277
64528656
67068274
14430330...

output:

walk 79070567
walk 940845448
walk 74644031
walk 348051214
walk 933230650
walk 256825276
walk 259824658
walk 484439484
walk 491402293
walk 616583552
walk 508306756
walk 858787222
walk 507839489
walk 208819432
walk 783257500
walk 116375520
walk 50674666
walk 282087391
walk 212199226
walk 898161126
wal...

result:

ok OK, guesses=6687

Test #22:

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

input:

106413573
212140872
29940402
119921888
205020385
39182718
57860353
115561765
68814319
117683943
144017052
262741663
55158219
45498032
36043587
105408176
5568475
316803358
253705232
42246957
201499354
83787478
197972743
110739355
259700726
65495316
8304531
191026645
263939808
170026851
168697801
2315...

output:

walk 79070567
walk 940845448
walk 74644031
walk 348051214
walk 933230650
walk 256825276
walk 259824658
walk 484439484
walk 491402293
walk 616583552
walk 508306756
walk 858787222
walk 507839489
walk 208819432
walk 783257500
walk 116375520
walk 50674666
walk 282087391
walk 212199226
walk 898161126
wal...

result:

ok OK, guesses=6674

Test #23:

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

input:

206634703
502208949
995955619
537109569
612908453
789071394
916008526
331956553
567784005
853387601
119525101
457655020
462327040
701039072
586677992
808687266
441753667
240991508
715771308
939751422
826967499
119366780
201098201
973534438
265037443
37832987
102360357
924041516
743333651
46496006
91...

output:

walk 79070567
walk 940845448
walk 74644031
walk 348051214
walk 933230650
walk 256825276
walk 259824658
walk 484439484
walk 491402293
walk 616583552
walk 508306756
walk 858787222
walk 507839489
walk 208819432
walk 783257500
walk 116375520
walk 50674666
walk 282087391
walk 212199226
walk 898161126
wal...

result:

ok OK, guesses=6728

Test #24:

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

input:

955786708
859554121
282421461
860981803
66844749
398561677
332677636
932655682
462289587
23660948
835223595
924443160
686136963
391042410
497813590
725674257
193972911
930860405
840760228
727983197
437451242
322624919
170917790
740128717
710974217
558165573
357843267
902920988
860414526
601642910
50...

output:

walk 79070567
walk 940845448
walk 74644031
walk 348051214
walk 933230650
walk 256825276
walk 259824658
walk 484439484
walk 491402293
walk 616583552
walk 508306756
walk 858787222
walk 507839489
walk 208819432
walk 783257500
walk 116375520
walk 50674666
walk 282087391
walk 212199226
walk 898161126
wal...

result:

ok OK, guesses=6802

Test #25:

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

input:

635694858
580447616
570693309
383252962
597820857
330930921
634707528
165460719
688947674
233676502
678767614
72748325
502984351
107874328
538366056
824048
484871786
693084676
704127808
484908561
160625012
371883128
201646147
392968195
667269131
72784775
514580207
144853135
289172658
686961273
31872...

output:

walk 79070567
walk 940845448
walk 74644031
walk 348051214
walk 933230650
walk 256825276
walk 259824658
walk 484439484
walk 491402293
walk 616583552
walk 508306756
walk 858787222
walk 507839489
walk 208819432
walk 783257500
walk 116375520
walk 50674666
walk 282087391
walk 212199226
walk 898161126
wal...

result:

ok OK, guesses=6676

Test #26:

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

input:

42383050
25526803
87578280
39423272
97961114
71214668
25960294
36919163
59689651
2099627
29432375
45250292
15416853
50853487
98910268
17083298
110385585
39588023
115397446
70841965
34483717
90571447
108267168
96861034
86025980
86104689
38516819
9490301
101137868
53483057
121819114
8977288
80377539
1...

output:

walk 937329860
walk 353313664
walk 874554763
walk 167819014
walk 366738906
walk 974406635
walk 620191205
walk 279058961
walk 793097523
walk 700171043
walk 517514715
walk 16288346
walk 407490126
walk 760506315
walk 769824563
walk 573601115
walk 732390546
walk 40641791
walk 402082369
walk 560315952
wa...

result:

ok OK, guesses=6667

Test #27:

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

input:

521258990
228355124
154965582
527847986
204771787
796346602
344816352
874315468
824725901
627024654
100525069
679625175
702513216
433476506
63406474
560839819
716861565
603680141
358259185
534667872
164806482
224796507
788359347
714180662
28609995
220683662
916340039
685771242
607893023
537957822
66...

output:

walk 937329860
walk 353313664
walk 874554763
walk 167819014
walk 366738906
walk 974406635
walk 620191205
walk 279058961
walk 793097523
walk 700171043
walk 517514715
walk 16288346
walk 407490126
walk 760506315
walk 769824563
walk 573601115
walk 732390546
walk 40641791
walk 402082369
walk 560315952
wa...

result:

ok OK, guesses=6824

Test #28:

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

input:

350912744
317286167
289912074
637839805
735721847
475285502
501767946
257929922
9135237
451704416
647038082
789293435
323786298
747781803
735493971
774555755
11415937
810144700
257101746
535932833
51947734
314578556
411662308
187210115
740585809
699069217
742854276
392966360
633871326
233369164
5908...

output:

walk 937329860
walk 353313664
walk 874554763
walk 167819014
walk 366738906
walk 974406635
walk 620191205
walk 279058961
walk 793097523
walk 700171043
walk 517514715
walk 16288346
walk 407490126
walk 760506315
walk 769824563
walk 573601115
walk 732390546
walk 40641791
walk 402082369
walk 560315952
wa...

result:

ok OK, guesses=6684

Test #29:

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

input:

587061676
318114649
567233453
876656386
746438760
348253538
74437007
389374334
556966901
226812956
162475521
216974316
502086258
131085580
559978151
730756149
855631276
464006869
454093601
951467130
912572463
351502105
350501811
786903157
2523171
338754207
198605814
330476759
219899900
284059260
699...

output:

walk 937329860
walk 353313664
walk 874554763
walk 167819014
walk 366738906
walk 974406635
walk 620191205
walk 279058961
walk 793097523
walk 700171043
walk 517514715
walk 16288346
walk 407490126
walk 760506315
walk 769824563
walk 573601115
walk 732390546
walk 40641791
walk 402082369
walk 560315952
wa...

result:

ok OK, guesses=6753

Test #30:

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

input:

218303435
648036925
340342490
252459674
276580210
651764008
438468354
103966250
581188565
702069879
407473451
164750764
32806651
807016174
115702075
203643141
123251114
833743438
270354414
91896692
591183939
740906638
771483988
267219182
680719161
734928475
586832668
565183194
815178156
163897503
63...

output:

walk 796318983
walk 266408241
walk 679354583
walk 988840371
walk 300693517
walk 697684639
walk 482518757
walk 573911058
walk 601359624
walk 786652797
walk 26716928
walk 681278885
walk 311242007
walk 311940280
walk 264841338
walk 536462412
walk 913622174
walk 808624792
walk 99522547
walk 221807038
wa...

result:

ok OK, guesses=6698

Test #31:

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

input:

223051255
489459496
309575385
439177062
739870579
578316524
201596587
775507645
517628575
445042678
471759606
293799797
605041804
57743390
322584728
859047140
54191926
3578024
103100571
324907609
494310251
572794925
361155853
606570688
608763830
322169277
457491549
190452119
266764171
392226299
2310...

output:

walk 796318983
walk 266408241
walk 679354583
walk 988840371
walk 300693517
walk 697684639
walk 482518757
walk 573911058
walk 601359624
walk 786652797
walk 26716928
walk 681278885
walk 311242007
walk 311940280
walk 264841338
walk 536462412
walk 913622174
walk 808624792
walk 99522547
walk 221807038
wa...

result:

ok OK, guesses=6700

Test #32:

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

input:

456786232
269976790
790435710
162301317
509134219
572466425
616348057
892169482
673210702
36901597
119732598
424110473
946274524
393313337
833123633
750180779
427334056
974085584
489175380
861856732
385406465
154369166
527212267
69612556
625230959
873585435
431108076
662788637
746053015
562201988
85...

output:

walk 796318983
walk 266408241
walk 679354583
walk 988840371
walk 300693517
walk 697684639
walk 482518757
walk 573911058
walk 601359624
walk 786652797
walk 26716928
walk 681278885
walk 311242007
walk 311940280
walk 264841338
walk 536462412
walk 913622174
walk 808624792
walk 99522547
walk 221807038
wa...

result:

ok OK, guesses=6674

Test #33:

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

input:

796318984
114368900
793723483
834205529
186540721
884225360
418385792
43938525
645298149
483592621
510309549
243230109
554472116
866412396
182895409
719357821
684621670
544888137
644410684
866217722
87262039
165746713
813346335
110402845
112595987
685240128
820562400
464403339
451595760
487938257
23...

output:

walk 796318983
walk 266408241
walk 679354583
walk 988840371
walk 300693517
walk 697684639
walk 482518757
walk 573911058
walk 601359624
walk 786652797
walk 26716928
walk 681278885
walk 311242007
walk 311940280
walk 264841338
walk 536462412
walk 913622174
walk 808624792
walk 99522547
walk 221807038
wa...

result:

ok OK, guesses=6733

Test #34:

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

input:

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

output:

walk 154436982
walk 680322172
walk 979905402
walk 808376668
walk 735833837
walk 916188301
walk 842558658
walk 870349881
walk 904333948
walk 369819843
walk 37926053
walk 340503265
walk 710388810
walk 365796819
walk 753676919
walk 493123698
walk 597653528
walk 570108483
walk 788820540
walk 386389800
w...

result:

ok OK, guesses=3336

Test #35:

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

input:

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

output:

walk 154436982
walk 680322172
walk 979905402
walk 808376668
walk 735833837
walk 916188301
walk 842558658
walk 870349881
walk 904333948
walk 369819843
walk 37926053
walk 340503265
walk 710388810
walk 365796819
walk 753676919
walk 493123698
walk 597653528
walk 570108483
walk 788820540
walk 386389800
w...

result:

ok OK, guesses=3337

Test #36:

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

input:

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

output:

walk 154436982
walk 680322172
walk 979905402
walk 808376668
walk 735833837
walk 916188301
walk 842558658
walk 870349881
walk 904333948
walk 369819843
walk 37926053
walk 340503265
walk 710388810
walk 365796819
walk 753676919
walk 493123698
walk 597653528
walk 570108483
walk 788820540
walk 386389800
w...

result:

ok OK, guesses=3338

Test #37:

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

input:

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

output:

walk 154436982
walk 680322172
walk 979905402
walk 808376668
walk 735833837
walk 916188301
walk 842558658
walk 870349881
walk 904333948
walk 369819843
walk 37926053
walk 340503265
walk 710388810
walk 365796819
walk 753676919
walk 493123698
walk 597653528
walk 570108483
walk 788820540
walk 386389800
w...

result:

ok OK, guesses=3339

Test #38:

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

input:

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

output:

walk 154436982
walk 680322172
walk 979905402
walk 808376668
walk 735833837
walk 916188301
walk 842558658
walk 870349881
walk 904333948
walk 369819843
walk 37926053
walk 340503265
walk 710388810
walk 365796819
walk 753676919
walk 493123698
walk 597653528
walk 570108483
walk 788820540
walk 386389800
w...

result:

ok OK, guesses=3340

Test #39:

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

input:

1411
1484
1044
2443
407
1975
1179
1578
1233
1149
1910
342
1526
2039
229
2933
158
1255
2397
798
1436
1436
2084
141
1488
2852
130
943
2182
2674
2662
1242
1727
2585
2608
914
2572
224
1511
1123
47
1483
2091
1225
868
1007
865
2586
1037
2371
2960
2133
1405
2449
567
2348
974
1027
2637
1930
2744
2351
1116
1...

output:

walk 154436982
walk 680322172
walk 979905402
walk 808376668
walk 735833837
walk 916188301
walk 842558658
walk 870349881
walk 904333948
walk 369819843
walk 37926053
walk 340503265
walk 710388810
walk 365796819
walk 753676919
walk 493123698
walk 597653528
walk 570108483
walk 788820540
walk 386389800
w...

result:

ok OK, guesses=6334

Test #40:

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

input:

813
1870
1530
1099
854
561
287
1856
919
1725
153
874
1902
283
210
905
46
1697
1363
1869
1831
629
446
1021
1079
1429
1450
418
178
1090
1652
994
183
1466
1850
955
72
182
140
1087
356
1896
1532
654
585
498
1940
840
5
1406
262
118
242
754
1129
1993
1433
1860
1988
30
921
972
301
203
1351
1611
775
1058
24...

output:

walk 154436982
walk 680322172
walk 979905402
walk 808376668
walk 735833837
walk 916188301
walk 842558658
walk 870349881
walk 904333948
walk 369819843
walk 37926053
walk 340503265
walk 710388810
walk 365796819
walk 753676919
walk 493123698
walk 597653528
walk 570108483
walk 788820540
walk 386389800
w...

result:

ok OK, guesses=5334

Test #41:

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

input:

2446
1061
2484
3746
1815
2130
2550
1896
2752
3106
2530
1823
2413
2151
3358
1881
2509
1111
1829
1472
1591
1092
3097
803
1393
3153
1047
2196
166
3769
525
2960
3355
3351
2019
548
596
634
804
3839
3196
166
561
1428
2698
2695
2382
3264
2470
3229
3831
2772
2102
1278
224
3711
1151
2748
2245
1289
2519
2030
...

output:

walk 513777736
walk 92557719
walk 783996507
walk 129820433
walk 668874081
walk 638510900
walk 705373914
walk 664248986
walk 211341165
walk 956841748
walk 46159672
walk 3880495
walk 614710642
walk 416276697
walk 746657209
walk 456549421
walk 277983398
walk 335561966
walk 986768228
walk 47077343
walk ...

result:

ok OK, guesses=6667

Test #42:

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

input:

5799
1081
3882
4551
376
4157
1934
3316
1744
4277
2027
5200
3917
2622
4589
6556
758
5823
1969
1038
2575
1498
5660
5657
3034
3191
3281
3231
4971
87
4726
6660
1756
660
3448
2010
4788
5804
6013
857
2290
2680
2471
4630
5171
1979
3750
5825
3254
4522
4854
6484
4613
1886
1473
3111
2596
54
5191
6515
2894
300...

output:

walk 513777736
walk 92557719
walk 783996507
walk 129820433
walk 668874081
walk 638510900
walk 705373914
walk 664248986
walk 211341165
walk 956841748
walk 46159672
walk 3880495
walk 614710642
walk 416276697
walk 746657209
walk 456549421
walk 277983398
walk 335561966
walk 986768228
walk 47077343
walk ...

result:

ok OK, guesses=6667

Test #43:

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

input:

4988
5722
133
5028
1267
722
5727
186
6465
5167
1144
3618
3248
4651
5246
6639
1787
3548
2727
4764
3400
3790
6013
3658
5547
5528
81
6163
3862
5520
745
3614
6431
1967
2486
3916
5739
745
564
6365
2256
2039
55
518
3016
645
5550
2228
3577
304
1034
4500
1406
2465
4284
1946
3165
4467
478
1576
602
5989
3103
...

output:

walk 513777736
walk 92557719
walk 783996507
walk 129820433
walk 668874081
walk 638510900
walk 705373914
walk 664248986
walk 211341165
walk 956841748
walk 46159672
walk 3880495
walk 614710642
walk 416276697
walk 746657209
walk 456549421
walk 277983398
walk 335561966
walk 986768228
walk 47077343
walk ...

result:

ok OK, guesses=6667

Test #44:

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

input:

6644037
8622646
1847765
4866462
1448424
8174999
5533091
5684074
6029306
5587307
296102
6805454
990195
2442474
7851568
5455685
3269007
8180212
8972779
5812113
2336946
7408090
7347159
3626955
1472609
7380930
3069191
5839161
4320171
2494590
2165893
184169
5566700
4956993
2141816
1374152
7687335
7537933...

output:

walk 513777736
walk 92557719
walk 783996507
walk 129820433
walk 668874081
walk 638510900
walk 705373914
walk 664248986
walk 211341165
walk 956841748
walk 46159672
walk 3880495
walk 614710642
walk 416276697
walk 746657209
walk 456549421
walk 277983398
walk 335561966
walk 986768228
walk 47077343
walk ...

result:

ok OK, guesses=6667

Test #45:

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

input:

7131843
343930
2590937
8147453
3630688
5659560
10012110
5888414
2677996
5694081
6357017
903431
2275
7757311
5118037
5787495
6716846
9300474
8325738
7653294
4739013
8428795
527291
8077765
8237632
1666038
783144
5198960
2118093
5126031
6996489
11012637
9318135
7684976
29826
5020243
7295711
7039076
108...

output:

walk 368870461
walk 501995099
walk 583200159
walk 446040990
walk 598546361
walk 355206120
walk 561795684
walk 454063909
walk 511881483
walk 36073210
walk 549408003
walk 159835653
walk 509583046
walk 460637971
walk 231124256
walk 408565256
walk 450771331
walk 91249064
walk 671000199
walk 698439481
wa...

result:

ok OK, guesses=6667

Test #46:

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

input:

4165136
5747948
11169091
11224139
15099617
7277727
4615472
8950936
5078184
15891609
11794757
12483484
10093439
11057406
10219082
15734073
7000001
7514497
2672780
2607612
12018061
10608973
3892232
16199457
17920171
4135360
4493217
18676820
18789317
19183438
3821259
1698098
8125437
349623
18851389
678...

output:

walk 368870461
walk 501995099
walk 583200159
walk 446040990
walk 598546361
walk 355206120
walk 561795684
walk 454063909
walk 511881483
walk 36073210
walk 549408003
walk 159835653
walk 509583046
walk 460637971
walk 231124256
walk 408565256
walk 450771331
walk 91249064
walk 671000199
walk 698439481
wa...

result:

ok OK, guesses=6670

Test #47:

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

input:

623305
701458
656739
429586
606722
587476
508321
650217
392815
457946
691887
715062
90285
313911
418084
57764
808732
372201
191132
501285
819037
362897
461593
423306
103081
714775
115871
771304
43440
551955
80944
33047
707509
189853
483539
818246
811155
729994
817714
517747
577449
729435
68031
92721...

output:

walk 368870461
walk 501995099
walk 583200159
walk 446040990
walk 598546361
walk 355206120
walk 561795684
walk 454063909
walk 511881483
walk 36073210
walk 549408003
walk 159835653
walk 509583046
walk 460637971
walk 231124256
walk 408565256
walk 450771331
walk 91249064
walk 671000199
walk 698439481
wa...

result:

ok OK, guesses=6667

Test #48:

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

input:

6740352
30763734
57946636
8788904
22194342
16327346
802173
49583542
16480058
20249243
29071624
26590403
41580353
45229769
28947361
32356524
52529779
22339745
5425687
42257966
40480891
22009082
53839633
7457841
57353724
20866556
48014650
37830692
9551347
55047528
31328670
8246717
18578229
34545094
42...

output:

walk 368870461
walk 501995099
walk 583200159
walk 446040990
walk 598546361
walk 355206120
walk 561795684
walk 454063909
walk 511881483
walk 36073210
walk 549408003
walk 159835653
walk 509583046
walk 460637971
walk 231124256
walk 408565256
walk 450771331
walk 91249064
walk 671000199
walk 698439481
wa...

result:

ok OK, guesses=6690

Test #49:

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

input:

45664759
211459448
204187121
203209564
106408138
230198979
163347189
118416989
144240080
79988434
51997654
64900257
73799394
1104439
41251857
34202152
217673255
194257629
185357718
47664665
483477
157231532
154412952
136920622
180643152
92829318
164607438
194263450
49621132
98067987
78788039
2130728...

output:

walk 232751443
walk 921388025
walk 389694655
walk 272461229
walk 40275645
walk 580738084
walk 430048007
walk 758428750
walk 823175138
walk 629025065
walk 70152849
walk 828918880
walk 420373692
walk 25966930
walk 231657613
walk 379066413
walk 648603497
walk 366630465
walk 376730559
walk 879619981
wal...

result:

ok OK, guesses=6709

Test #50:

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

input:

431884931
248430813
184782342
201646614
326688031
298941912
202240619
376301815
10490287
499436626
186420130
308548142
259859551
362810954
398244153
114344343
406863731
380813346
226476452
478118989
409081600
474073507
466066046
290622860
473117107
295162044
162968707
124384703
85432419
89126624
846...

output:

walk 232751443
walk 921388025
walk 389694655
walk 272461229
walk 40275645
walk 580738084
walk 430048007
walk 758428750
walk 823175138
walk 629025065
walk 70152849
walk 828918880
walk 420373692
walk 25966930
walk 231657613
walk 379066413
walk 648603497
walk 366630465
walk 376730559
walk 879619981
wal...

result:

ok OK, guesses=6815

Test #51:

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

input:

232751444
230561234
620255889
892717118
9414528
590152612
96622384
855051134
754648037
460094867
530247716
435588361
855962053
881928983
190008361
569074774
294100036
660730501
113882825
69924571
530501453
406848526
454756412
263922621
689116605
694072916
749260589
204497740
104401834
850887204
5940...

output:

walk 232751443
walk 921388025
walk 389694655
walk 272461229
walk 40275645
walk 580738084
walk 430048007
walk 758428750
walk 823175138
walk 629025065
walk 70152849
walk 828918880
walk 420373692
walk 25966930
walk 231657613
walk 379066413
walk 648603497
walk 366630465
walk 376730559
walk 879619981
wal...

result:

ok OK, guesses=6863

Test #52:

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

input:

148793868
103890428
107068497
186271433
33288785
34251990
77783411
63178989
113320955
162571141
39465697
95351405
129208511
155175441
316468
186124588
61694913
41808792
32022765
138609574
19411577
46303713
51498369
11209641
49887039
54843350
67317793
59616593
110065750
83517948
170444771
33420251
12...

output:

walk 232751443
walk 921388025
walk 389694655
walk 272461229
walk 40275645
walk 580738084
walk 430048007
walk 758428750
walk 823175138
walk 629025065
walk 70152849
walk 828918880
walk 420373692
walk 25966930
walk 231657613
walk 379066413
walk 648603497
walk 366630465
walk 376730559
walk 879619981
wal...

result:

ok OK, guesses=6673

Test #53:

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

input:

220671045
177589184
139040060
121525474
214478279
7043536
204128824
4222600
8622773
200212253
153990746
73252323
151750679
146681579
100047081
103730466
69016842
233713067
233069311
22282841
155806890
225125074
89325088
182487144
228136988
110306106
23117260
48431339
189241157
29973512
54983872
9801...

output:

walk 232751443
walk 921388025
walk 389694655
walk 272461229
walk 40275645
walk 580738084
walk 430048007
walk 758428750
walk 823175138
walk 629025065
walk 70152849
walk 828918880
walk 420373692
walk 25966930
walk 231657613
walk 379066413
walk 648603497
walk 366630465
walk 376730559
walk 879619981
wal...

result:

ok OK, guesses=6668