QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#174314#7186. "Memo" Game With a Hintucup-team356#AC ✓2ms3872kbC++203.0kb2023-09-10 06:18:322023-09-10 06:18:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

00000010011010000001011001000011011011000000111011
00000010000001000011000000100010100001100011100011

Second Run Input

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

Second Run Output

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

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

11101000000100111000001111010001110010100100010111

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

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

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

01000000110110110001111000010000101010000001110111
01100000110001000001111001110001000111101000111011
00000010010011110010100101010001001001011001100111
00110010101000101010111000000010010001110000111011
00110000111011011001110100101011101001110011001011
001010000001100110110001110000101010010000101...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

score: 100
Accepted
time: 2ms
memory: 3676kb

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

10000010110100000110000100001000101010010011100111
01000111000111011010001100000001100111010010101011
11110000111000000101110110110011001001001010010111
10000100001101100000100110001001111010100000110111
11000010101010000001001001000100001101100011110111
010010010101110110111110010001110001101100101...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

score: 100
Accepted
time: 2ms
memory: 3640kb

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

01100001010000110010101010001000101001011011010111
11111000000100101010100100100000111011101000001111
01001011110100100101010101000010011000010100110111
01011010000110000010010000111010100111011000100111
01010001001010110010011010100011101001110000001011
101000011101011010110110100110100101001110101...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

score: 100
Accepted
time: 2ms
memory: 3680kb

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

11000111100101000001101010100001111010001001000111
10011001111001000110110110100011010000000000000111
11011010110101101000111001110011101001000011111011
01001001010100000010110100100111110110101001100111
10011001100110110011111000010001001010100001100011
111110010101101101111101001100011010000001000...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

score: 100
Accepted
time: 2ms
memory: 3640kb

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

00001110001101101010110100000011010000010010001011
10101000010100100001110111010000111000000001111011
11000000010010010000000101001011101000100000010111
10111000110101001000101011010011100111000011001011
00111010110110111011110111110011100110010010010111
100001101101000100011100101100001101000010101...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

10010000010111010000001100011001111000100111110111
11010010110100110000101001001000011000100010001111
11100010010010000010110001100011010101010111110111
00110011110010000001000001100001010001000110110111
11000001100110101010110100110010001001011001000111
000010101010101110110101001100101001110000011...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

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

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

01011011000100000001000111001001010100100110110111
00010000110000111011000111101001100100100110001111
11000010001110100010111000001000100110100101100111
11100111010110010000000100011000001101111000110111
10000101000101010001010110001000001111000001110111
111100100010111000101001111010001101101100010...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

score: 100
Accepted
time: 2ms
memory: 3704kb

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

00011010110110000111110101000111010100111001110111
00111000000111001000100111000011011010001010001111
11000001000101010010101011100000010011000101010111
11110000000101110010101000110011010100100011111011
00000011000001010011110011101011100111010011011011
100110100011001001010101011110101101011100111...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

01011001010100110011100100101011110110100110010111
10011000110100100110010101100000011000001001111011
10111000000111010000010111001001000110001001101011
01000100100100000011010110110000010111110011100111
00000101100111010011000111001010111010001000111011
000001011101001010100110010110010001101010110...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

score: 100
Accepted
time: 2ms
memory: 3580kb

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

01101000011011111010110100110000100100100010010011
01000001111000000001010100011011011011111011000111
00000110000110011010110100010011100111100010110011
01111000110110000010001011001001000100100101010111
00100010010011100010001001101000110101010011011011
101010111101110100010010001010010110100101110...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

score: 100
Accepted
time: 2ms
memory: 3864kb

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

10100010110101100011001010011010010100010010010011
11101000111010001001100111001000110111000010001111
11100000010001000001110111001011111001010011101011
11011011010110110011100100100011111010100011101011
00000011110111010010101001100010000100111010010111
011000010100001000000110110100100011100001110...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

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

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

10011001011010101000001111110010001011111011100111
00100000101001100000001000111001111000010010010111
11110000000111101011110101110001001011000011010111
00000011110001100110010110010010110101110000001111
00110011000100111000000101001000100110011001110111
100000010010001010010101000000001000110010011...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

score: 100
Accepted
time: 2ms
memory: 3712kb

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

10010000110011110011000111100011100101101011011011
01000010111000100000001000110001111001110001101011
11100001010001000110110110010011000100110101110111
11010011000101101011110100011000100100010001000111
10000111010101000010001010110001100110100100001111
001010011101101100100101011110111110001100001...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

score: 100
Accepted
time: 2ms
memory: 3584kb

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

01001010001111100100010110000010111011101010110111
01000010100111011001010110000111100101010011111011
01101011100111001010011001111011110110010010110011
01111011111010010000001111110011101011100010100111
10101000011001011011011001010011110101110011100111
100010100011110000010010010100011100000100101...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

11010011001000001011011010110110001111000000001111
10000011101011100011001010000111100101010100001111
11110001011001000011000011100101010111000100110111
01000000110000100010010101110001110111001001000111
11110010111000100001101011000110110111111000000111
000101011101011110010101000110110110011010111...

Second Run Input

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

Second Run Output

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

result:

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