QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#321463#7186. "Memo" Game With a HintZhangYiDeAC ✓1ms3824kbC++231.6kb2024-02-04 19:45:212024-02-04 19:45:23

詳細信息

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

00000000000000000000000001111111111111111111111111
01010101010101010101010101010101010101010101010101

Second Run Input

play
2
00000000000000000000000001111111111111111111111111
A.
B-
C.
D-
E.
F-
G.
H-
I.
J-
K.
L-
M.
N-
O.
P-
Q.
R-
S.
T-
U.
V-
W.
X-
A.
A+
B.
B+
C.
C+
D.
D+
E.
E+
F.
F+
G.
G+
H.
H+
I.
I+
J.
J+
K.
K+
L.
L+
M.
M+
N.
N+
O.
O+
P.
P+
Q.
Q+
R.
R+
S.
S+
T.
T+
U.
U+
V.
V+
W.
W+
X.
X+
Y.
Y!
01010101010101010101...

Second Run Output

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
26
1
27
2
28
3
29
4
30
5
31
6
32
7
33
8
34
9
35
10
36
11
37
12
38
13
39
14
40
15
41
16
42
17
43
18
44
19
45
20
46
21
47
22
48
23
49
24
50
25
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
2
1
4
3
6
5
8
7
10
9
12
11
14...

result:

ok Correct! The number of the misses is 24 (2 test cases)

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

00001001010000101001100000010011111010011111111111

Second Run Input

play
1
00001001010000101001100000010011111010011111111111
F.
N-
E.
T-
O.
M-
J.
Y-
C.
X-
K.
R-
L.
G-
S.
P-
A.
I-
V.
Q-
B.
U-
H.
D-
F.
F+
M.
M+
T.
T+
C.
C+
Y.
Y+
X.
X+
K.
K+
N.
N+
R.
R+
J.
J+
A.
A+
P.
P+
Q.
Q+
U.
U+
S.
S+
D.
D+
W.
W+
V.
V+
I.
I+
H.
H+
G.
G+
E.
E+
L.
L+
B.
B+
O.
O!

Second Run Output

1
2
3
4
6
7
9
11
12
13
14
16
18
19
22
23
24
25
26
27
29
30
36
38
5
1
8
7
10
4
15
12
17
11
20
13
21
14
28
2
31
16
32
9
33
24
34
23
35
27
37
30
40
22
41
38
42
39
43
26
44
25
45
36
46
19
47
3
48
18
49
29
50
6

result:

ok Correct! The number of the misses is 12 (1 test case)

Test #3:

score: 100
Accepted
time: 1ms
memory: 3752kb

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

00000000000000000011100101010111101111011111111111
00000001000110000000010001001111011111011111111111
00001000010010000010001101010010111011101111111111
00000001010000000000010100011110011111111111111111
00000000000100010101000110101111111010101111011111
000000000100100111000110101011001011101110101...

Second Run Input

play
50
00000000000000000011100101010111101111011111111111
F.
D-
A.
V-
H.
J-
W.
I-
C.
N-
E.
L-
M.
B-
T.
Q-
G.
P-
Y.
S-
U.
K-
O.
R-
M.
M+
H.
H+
C.
C+
T.
T+
U.
U+
W.
W+
Y.
Y+
B.
B+
J.
J+
N.
N+
L.
L+
G.
G+
E.
E+
F.
F+
X.
X+
S.
S+
I.
I+
V.
V+
O.
O+
A.
A+
Q.
Q+
D.
D+
R.
R+
K.
K+
P.
P!
0000000100011000000...

Second Run Output

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
22
23
25
27
29
34
19
13
20
5
21
9
24
15
26
25
28
7
30
22
31
14
32
6
33
10
35
12
36
17
37
11
38
1
40
39
41
23
42
8
43
4
44
29
45
3
46
16
47
2
48
34
49
27
50
18
1
2
3
4
5
6
7
9
10
11
14
15
16
17
18
19
20
21
23
24
25
27
28
33
8
4
12
5
13
7
22
6
26
21
29
24
3...

result:

ok Correct! The number of the misses is 600 (50 test cases)

Test #4:

score: 100
Accepted
time: 1ms
memory: 3532kb

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

00000000000011010101100011001110011101111011110111
00000000000000010011110111000101110111101011111111
00000000100000000001001101111011001110111111111111
00000000100000010010100110111111100110100111111111
00000000011000010010110101111010000011111101111111
000000000101001101011000000011111001111011110...

Second Run Input

play
75
00000000000011010101100011001110011101111011110111
E.
A-
H.
S-
M.
U-
J.
L-
V.
D-
P.
N-
K.
C-
I.
F-
R.
T-
Y.
W-
Q.
B-
X.
O-
L.
L+
E.
E+
P.
P+
N.
N+
I.
I+
C.
C+
M.
M+
H.
H+
V.
V+
S.
S+
T.
T+
B.
B+
W.
W+
R.
R+
K.
K+
F.
F+
D.
D+
X.
X+
J.
J+
Q.
Q+
U.
U+
A.
A+
G.
G+
O.
O+
Y.
Y!
0000000000000001001...

Second Run Output

1
2
3
4
5
6
7
8
9
10
11
12
15
17
19
22
23
24
27
28
32
33
37
42
13
8
14
1
16
11
18
12
20
19
21
17
25
5
26
3
29
9
30
4
31
24
34
33
35
28
36
23
38
15
39
22
40
10
41
37
43
7
44
32
45
6
46
2
48
47
49
42
50
27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
17
18
23
27
28
29
31
35
40
16
13
19
14
20
17
21
18
22
12
24
...

result:

ok Correct! The number of the misses is 900 (75 test cases)

Test #5:

score: 100
Accepted
time: 1ms
memory: 3544kb

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

00000001001000100000111100010100111010111111111111
00000010001001000110000001011110110011101111111111
00000000110001000100110101001010111001110111111111
00000010010011001010110100000011011111011011111101
00000000000000001110011101011101001110101111111111
001000100000001000100101101100001011011111111...

Second Run Input

play
85
00000001001000100000111100010100111010111111111111
R.
S-
H.
X-
L.
I-
A.
G-
T.
N-
B.
O-
M.
V-
C.
Q-
U.
W-
E.
D-
P.
Y-
J.
F-
R.
R+
A.
A+
I.
I+
C.
C+
B.
B+
G.
G+
Q.
Q+
T.
T+
M.
M+
W.
W+
Y.
Y+
U.
U+
P.
P+
E.
E+
S.
S+
K.
K+
J.
J+
O.
O+
D.
D+
L.
L+
N.
N+
F.
F+
V.
V+
X.
X+
H.
H!
0000001000100100011...

Second Run Output

1
2
3
4
5
6
7
9
10
12
13
14
16
17
18
19
20
25
26
27
29
31
32
36
8
1
11
7
15
6
21
18
22
13
23
9
24
19
28
10
30
16
33
25
34
31
35
20
37
29
39
26
40
2
41
38
42
32
43
14
44
27
45
5
46
12
47
36
48
17
49
4
50
3
1
2
3
4
5
6
8
9
10
12
13
15
16
17
20
21
22
23
24
25
27
32
35
36
7
3
11
4
14
1
18
8
19
10
26
15
...

result:

ok Correct! The number of the misses is 1020 (85 test cases)

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

00000000010000001010001101101111011011110111111011
00000010000100000011000110011111100111110011111111
00000000101001000011010110001011001110111110111111
00000000001001011100001110001011101100101111111111
00000010000010000011000100111011111100111110111111
000000000001000011011011010011100011110111111...

Second Run Input

play
90
00000000010000001010001101101111011011110111111011
H.
P-
B.
U-
Y.
C-
S.
I-
R.
Q-
T.
E-
V.
J-
L.
D-
G.
M-
N.
K-
F.
X-
A.
W-
I.
I+
T.
T+
Y.
Y+
B.
B+
E.
E+
M.
M+
S.
S+
H.
H+
N.
N+
C.
C+
R.
R+
V.
V+
D.
D+
U.
U+
F.
F+
Q.
Q+
A.
A+
P.
P+
L.
L+
G.
G+
J.
J+
W.
W+
K.
K+
X.
X+
O.
O!
0000001000010000001...

Second Run Output

1
2
3
4
5
6
7
8
9
11
12
13
14
15
16
18
20
21
22
25
28
33
36
41
10
8
17
12
19
5
23
3
24
13
26
21
27
7
29
1
30
22
31
6
32
9
34
14
35
18
37
4
38
28
39
11
40
36
42
2
43
16
44
20
45
15
46
41
47
25
49
33
50
48
1
2
3
4
5
6
8
9
10
11
13
14
15
16
17
18
21
22
23
26
27
34
35
41
7
5
12
6
19
4
20
2
24
10
25
18
2...

result:

ok Correct! The number of the misses is 1080 (90 test cases)

Test #7:

score: 100
Accepted
time: 1ms
memory: 3544kb

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

00000000000100001100010101011110011111011111111101
00000000000010000010100001111011111011101111111111
00000000100001000000000101110111110101111111111111
00000001001000010101100000011011001101111111111111
00000000100010101100000101000011111100111111111111
000000000001001000101100111111001001111110111...

Second Run Input

play
95
00000000000100001100010101011110011111011111111101
C.
X-
K.
F-
Q.
P-
T.
E-
D.
J-
G.
N-
S.
I-
W.
L-
V.
H-
B.
M-
U.
Y-
O.
R-
C.
C+
I.
I+
D.
D+
J.
J+
T.
T+
E.
E+
M.
M+
L.
L+
Q.
Q+
V.
V+
H.
H+
G.
G+
P.
P+
K.
K+
N.
N+
Y.
Y+
O.
O+
F.
F+
X.
X+
R.
R+
S.
S+
B.
B+
U.
U+
W.
W+
A.
A!
0000000000001000001...

Second Run Output

1
2
3
4
5
6
7
8
9
10
11
13
14
15
16
19
20
21
23
25
27
32
33
39
12
1
17
15
18
9
22
10
24
7
26
8
28
25
29
19
30
5
31
20
34
21
35
11
36
6
37
3
38
13
40
32
41
33
42
4
43
2
44
39
45
14
46
23
47
27
48
16
50
49
1
2
3
4
5
6
7
8
9
10
11
12
14
15
16
17
18
20
22
23
24
25
30
36
13
7
19
16
21
6
26
10
27
15
28
11...

result:

ok Correct! The number of the misses is 1140 (95 test cases)

Test #8:

score: 100
Accepted
time: 1ms
memory: 3564kb

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

00000110100000010000010100010011101101111111111111
00000000001001101000100111001101110101011011111111
00000000010001010100000011101101011111110101111111
00100001011000110001010010001011110010011111110111
00000000000101010110000100001101111110111111110111
001000000000001000100111001010101111111101011...

Second Run Input

play
100
00000110100000010000010100010011101101111111111111
N.
K-
X.
F-
S.
W-
A.
O-
B.
P-
E.
J-
T.
M-
V.
H-
I.
U-
C.
G-
Q.
R-
L.
Y-
X.
X+
F.
F+
W.
W+
O.
O+
P.
P+
K.
K+
S.
S+
C.
C+
R.
R+
H.
H+
N.
N+
V.
V+
M.
M+
E.
E+
T.
T+
A.
A+
L.
L+
G.
G+
I.
I+
J.
J+
Q.
Q+
U.
U+
D.
D+
B.
B+
Y.
Y!
000000000010011010...

Second Run Output

1
2
3
4
5
8
10
11
12
13
14
15
17
18
19
20
21
23
25
26
27
29
30
34
6
3
7
4
9
8
16
11
22
13
24
2
28
5
31
25
32
29
33
20
35
1
36
19
38
18
39
14
40
17
41
10
42
30
43
26
44
21
45
15
46
27
47
23
48
37
49
12
50
34
1
2
3
4
5
6
7
8
9
10
12
13
16
18
19
20
22
23
27
28
31
35
37
39
11
9
14
3
15
1
17
6
21
13
24
8...

result:

ok Correct! The number of the misses is 1200 (100 test cases)

Test #9:

score: 100
Accepted
time: 1ms
memory: 3608kb

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

00000000000100000010000110011011111101111111111111
00000100000110000101100010100111101100101111111111
00000000011010010001000000110111111110100111111111
00000000000000001011100101011100111111001111111111
00000000000000011010100011000110101111111111111111
000000001100000001101100010110111101111001111...

Second Run Input

play
100
00000000000100000010000110011011111101111111111111
B.
U-
L.
R-
J.
T-
V.
X-
I.
H-
F.
S-
K.
O-
M.
P-
W.
C-
G.
E-
N.
Y-
A.
Q-
V.
V+
M.
M+
U.
U+
N.
N+
K.
K+
I.
I+
Q.
Q+
X.
X+
S.
S+
P.
P+
B.
B+
A.
A+
E.
E+
R.
R+
W.
W+
H.
H+
J.
J+
C.
C+
Y.
Y+
F.
F+
D.
D+
O.
O+
L.
L+
G.
G+
T.
T!
000001000001100001...

Second Run Output

1
2
3
4
5
6
7
8
9
10
11
13
14
15
16
17
18
20
21
22
23
26
27
30
12
7
19
16
24
2
25
23
28
14
29
9
31
30
32
8
33
13
34
17
35
1
36
27
38
22
39
4
40
18
41
10
42
5
43
20
44
26
45
11
46
37
47
15
48
3
49
21
50
6
1
2
3
4
5
7
8
9
10
11
14
15
16
17
19
22
23
24
26
28
29
34
37
38
6
3
12
7
13
9
18
17
20
15
21
8
2...

result:

ok Correct! The number of the misses is 1200 (100 test cases)

Test #10:

score: 100
Accepted
time: 1ms
memory: 3816kb

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

00000000110010000001101000100110100111111111111111
00001001100010001010100010010110111011111010111011
00100000100000010011010010000111101011111111011111
00010000100001000101110001001101110001111011111111
00010000100010010000101000010101110111111111111101
000000010010000111001011001110010100010111111...

Second Run Input

play
100
00000000110010000001101000100110100111111111111111
S.
Q-
R.
O-
X.
G-
J.
W-
F.
M-
K.
U-
N.
T-
E.
I-
L.
V-
A.
Y-
H.
D-
P.
B-
G.
G+
X.
X+
M.
M+
R.
R+
N.
N+
E.
E+
L.
L+
H.
H+
Q.
Q+
P.
P+
S.
S+
J.
J+
I.
I+
W.
W+
F.
F+
U.
U+
Y.
Y+
V.
V+
C.
C+
T.
T+
A.
A+
D.
D+
B.
B+
K.
K+
O.
O!
000010011000100010...

Second Run Output

1
2
3
4
5
6
7
8
11
12
14
15
16
17
18
19
22
24
25
26
28
29
32
34
9
6
10
5
13
12
20
3
21
16
23
18
27
22
30
28
31
2
33
32
36
1
37
7
38
19
39
8
40
11
41
15
42
26
43
24
44
35
45
17
46
25
47
29
48
34
49
14
50
4
1
2
3
4
6
7
10
11
12
14
15
16
18
20
22
23
24
26
27
29
32
36
42
44
5
2
8
7
9
3
13
1
17
11
19
10
...

result:

ok Correct! The number of the misses is 1200 (100 test cases)

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

00000000010001010010010110001110111000111111111111
00000000000000000100010110110011111101111111111111
00001000100010001000001000111010111111001111111111
00000100100000001001001111101011010011011111101111
00000000100011010000000010111101001111111111101111
000000000000011010110010110111000111101111111...

Second Run Input

play
100
00000000010001010010010110001110111000111111111111
R.
G-
F.
V-
P.
I-
L.
W-
O.
E-
T.
B-
S.
K-
H.
N-
C.
J-
X.
A-
M.
Q-
Y.
U-
V.
V+
G.
G+
L.
L+
K.
K+
H.
H+
I.
I+
O.
O+
P.
P+
X.
X+
N.
N+
S.
S+
W.
W+
J.
J+
R.
R+
B.
B+
M.
M+
D.
D+
A.
A+
E.
E+
Y.
Y+
F.
F+
Q.
Q+
C.
C+
T.
T+
U.
U!
000000000000000001...

Second Run Output

1
2
3
4
5
6
7
8
9
11
12
13
15
17
18
20
21
23
26
27
28
32
36
37
10
4
14
2
16
7
19
17
22
18
24
6
25
9
29
5
30
26
31
20
33
15
34
8
35
23
39
1
40
13
41
28
42
38
43
27
44
11
45
36
46
3
47
32
48
21
49
12
50
37
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
19
20
21
23
26
29
30
18
10
22
11
24
6
25
7
27
13
28
4
...

result:

ok Correct! The number of the misses is 1200 (100 test cases)

Test #12:

score: 100
Accepted
time: 1ms
memory: 3600kb

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

00000001010000001010110011110110010110111010111111
00000000000010000110100101011110011110111111011111
00000000010001000101001010101001011011111111111111
00000010010100010110100100111000101100101111111111
00000000010001000100010000111011001111111111111111
000000101000011101100000101001101101010110111...

Second Run Input

play
100
00000001010000001010110011110110010110111010111111
V.
J-
X.
S-
D.
L-
H.
P-
T.
Y-
C.
W-
K.
I-
G.
U-
A.
N-
M.
B-
R.
Q-
E.
F-
V.
V+
D.
D+
L.
L+
X.
X+
I.
I+
J.
J+
A.
A+
H.
H+
Y.
Y+
S.
S+
U.
U+
W.
W+
R.
R+
T.
T+
C.
C+
N.
N+
E.
E+
P.
P+
F.
F+
K.
K+
B.
B+
G.
G+
M.
M+
O.
O+
Q.
Q!
000000000000100001...

Second Run Output

1
2
3
4
5
6
7
9
11
12
13
14
15
16
18
20
23
24
29
32
33
35
38
42
8
1
10
5
17
6
19
3
21
16
22
2
25
23
26
7
27
12
28
4
30
20
31
14
34
33
36
11
37
13
39
24
40
38
41
9
43
42
45
15
46
32
47
18
48
29
49
44
50
35
1
2
3
4
5
6
7
8
9
10
11
12
14
15
16
17
20
22
23
25
27
32
33
38
13
11
18
5
19
12
21
8
24
2
26
4
...

result:

ok Correct! The number of the misses is 1200 (100 test cases)

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

00000000010011000001010100101110011011111111011111
00000000000101100010010001011111110110110011111111
00001100100000001000100100011101111110011111011111
00010000000000001011000111001101111100111111101111
00000000010000110110010010010010011110111111111111
000000001110001011010100111100000010010111111...

Second Run Input

play
100
00000000010011000001010100101110011011111111011111
M.
O-
H.
G-
E.
A-
B.
J-
D.
X-
Q.
Y-
V.
S-
P.
K-
W.
N-
T.
C-
L.
R-
F.
U-
D.
D+
J.
J+
M.
M+
B.
B+
O.
O+
V.
V+
P.
P+
W.
W+
S.
S+
Q.
Q+
E.
E+
K.
K+
N.
N+
U.
U+
H.
H+
T.
T+
L.
L+
C.
C+
X.
X+
Y.
Y+
A.
A+
F.
F+
I.
I+
G.
G+
R.
R!
000000000001011000...

Second Run Output

1
2
3
4
5
6
7
8
9
11
12
15
16
17
18
19
21
23
25
26
28
32
33
36
10
9
13
8
14
1
20
7
22
2
24
16
27
18
29
21
30
17
31
12
34
5
35
19
37
23
38
36
39
3
40
25
41
28
42
26
43
11
44
15
46
6
47
33
48
45
49
4
50
32
1
2
3
4
5
6
7
8
9
10
11
13
16
17
18
20
21
23
24
25
27
35
38
41
12
9
14
5
15
8
19
13
22
6
26
25
2...

result:

ok Correct! The number of the misses is 1200 (100 test cases)

Test #14:

score: 100
Accepted
time: 1ms
memory: 3824kb

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

00100000000001001100001100101010011111011111111111
00000000001000011001110001110010111101101101111111
00000000000000001110100000111111111101011011111111
00000001000011010000101111111001000101010111111111
00000000000100000101001110100110111111101110111111
000010000001010100100110100000111000111111111...

Second Run Input

play
100
00100000000001001100001100101010011111011111111111
K.
V-
F.
H-
J.
E-
T.
M-
U.
G-
Y.
I-
N.
C-
X.
O-
S.
B-
L.
A-
Q.
R-
D.
P-
K.
K+
I.
I+
N.
N+
C.
C+
T.
T+
F.
F+
A.
A+
E.
E+
R.
R+
V.
V+
H.
H+
J.
J+
U.
U+
X.
X+
D.
D+
P.
P+
Q.
Q+
Y.
Y+
W.
W+
O.
O+
M.
M+
L.
L+
S.
S+
B.
B+
G.
G!
000000000010000110...

Second Run Output

1
2
4
5
6
7
8
9
10
11
12
13
15
16
19
20
21
22
25
26
28
30
32
33
3
1
14
13
17
15
18
16
23
8
24
4
27
26
29
7
31
30
34
2
35
5
36
6
37
10
38
19
40
32
41
33
42
28
43
12
44
39
45
20
46
9
47
25
48
21
49
22
50
11
1
2
3
4
5
6
7
8
9
10
12
13
14
15
18
19
23
24
25
29
30
32
37
40
11
4
16
12
17
7
20
10
21
5
22
15...

result:

ok Correct! The number of the misses is 1200 (100 test cases)

Test #15:

score: 100
Accepted
time: 1ms
memory: 3792kb

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

00001000000010000001110110110100111111011111010111
00000010000000001000011010011111111110101110111111
00000010001000001000100010111101100111111111011111
00000000000001000111110000001101011111111011111111
00000010000000011100100011100111100100111111111111
000010000000000101100011011111011110110001011...

Second Run Input

play
100
00001000000010000001110110110100111111011111010111
H.
X-
K.
Q-
J.
L-
C.
S-
A.
E-
P.
N-
T.
B-
U.
F-
W.
D-
R.
M-
G.
O-
V.
Y-
H.
H+
A.
A+
E.
E+
U.
U+
T.
T+
P.
P+
X.
X+
R.
R+
D.
D+
Q.
Q+
K.
K+
M.
M+
S.
S+
B.
B+
F.
F+
W.
W+
C.
C+
V.
V+
L.
L+
O.
O+
N.
N+
Y.
Y+
G.
G+
J.
J+
I.
I!
000000100000000010...

Second Run Output

1
2
3
4
6
7
8
9
10
11
12
14
15
16
17
18
19
23
26
29
31
32
39
45
5
1
13
10
20
11
21
17
22
15
24
12
25
2
27
26
28
23
30
4
33
3
34
29
35
9
36
16
37
18
38
19
40
8
41
39
42
7
43
32
44
14
46
45
48
31
49
6
50
47
1
2
3
4
5
6
8
9
10
11
12
13
14
15
16
18
19
20
21
24
26
27
38
40
7
1
17
5
22
12
23
15
25
8
28
10...

result:

ok Correct! The number of the misses is 1200 (100 test cases)

Test #16:

score: 100
Accepted
time: 1ms
memory: 3604kb

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

00000000011010000001000010100111111011101111111111
00000000000100000011001010101111101011011111111111
00000001000101001000110001001100100111111111111111
00000000000000100010101111010101111101101111011111
00000000000000010111001011010100111111011101111111
000000100000101100101100100110001000111111111...

Second Run Input

play
100
00000000011010000001000010100111111011101111111111
S.
C-
M.
K-
N.
X-
O.
I-
G.
Y-
F.
E-
R.
V-
P.
A-
U.
Q-
H.
D-
L.
W-
T.
J-
S.
S+
N.
N+
X.
X+
E.
E+
U.
U+
F.
F+
C.
C+
L.
L+
I.
I+
R.
R+
K.
K+
M.
M+
P.
P+
O.
O+
H.
H+
B.
B+
Y.
Y+
G.
G+
J.
J+
T.
T+
D.
D+
V.
V+
Q.
Q+
W.
W+
A.
A!
000000000001000000...

Second Run Output

1
2
3
4
5
6
7
8
9
12
14
15
16
17
18
19
21
22
23
24
26
28
29
36
10
1
11
5
13
6
20
15
25
21
27
14
30
2
31
26
32
8
33
16
34
4
35
3
37
18
38
7
39
23
41
40
42
12
43
9
44
36
45
29
46
24
47
17
48
22
49
28
50
19
1
2
3
4
5
6
7
8
9
10
11
13
14
15
16
17
18
21
22
24
26
28
34
36
12
6
19
8
20
4
23
1
25
15
27
5
29...

result:

ok Correct! The number of the misses is 1200 (100 test cases)

Test #17:

score: 100
Accepted
time: 1ms
memory: 3572kb

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

01000000001000000001101011011010111011011111101111
00000000010000010101100100011111101011111100111111
00010000000001100011010110100111111001001111101111
00000001010010000000011001010110101110111111111111
00000100000001000000111000111110101011011111111111
000000011100000000010101011100000111111101111...

Second Run Input

play
100
01000000001000000001101011011010111011011111101111
N.
O-
D.
H-
V.
L-
K.
I-
U.
A-
Y.
T-
X.
E-
B.
R-
P.
W-
G.
J-
M.
S-
F.
Q-
N.
N+
V.
V+
A.
A+
P.
P+
X.
X+
H.
H+
Y.
Y+
B.
B+
O.
O+
R.
R+
S.
S+
G.
G+
K.
K+
U.
U+
I.
I+
M.
M+
F.
F+
W.
W+
Q.
Q+
L.
L+
T.
T+
J.
J+
E.
E+
D.
D+
C.
C!
000000000100000101...

Second Run Output

1
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
22
24
27
30
32
36
39
2
1
11
6
20
12
21
19
23
15
25
5
26
13
28
17
29
3
31
18
33
32
34
24
35
8
37
10
38
9
40
30
41
36
42
22
43
39
44
7
45
14
47
27
48
16
49
4
50
46
1
2
3
4
5
6
7
8
9
11
12
13
14
15
17
19
22
23
25
26
27
34
36
43
10
4
16
6
18
17
20
8
21
12
24
2
...

result:

ok Correct! The number of the misses is 1200 (100 test cases)