QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#171887#7186. "Memo" Game With a Hintucup-team932#AC ✓2ms3872kbC++205.7kb2023-09-09 17:44:312023-09-09 17:44:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

10011001011001111111111110000000000000111111111111
10000011000000000000000000111111111111111111111111

Second Run Input

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

Second Run Output

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

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

00100011011000000010011111101100111111111111110010

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

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

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

10100101110101111100011111101110010100111001010111
01010110111000001111101111111000110010111100110111
10010011101000001101110011101111000110111111100111
10010011101000011111101011100111110011101011100110
11110010010100101011111111110100000101111001111011
101101100100000000111001010100111101111111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

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

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

10110010110100001011111100110011111110101101001111
01100111111001101111101000111110101100011111110001
11111000010000111110110011001110111001010100111111
00010001001000101101111011001111111001011100011110
00010101001000001101001011110101111101110111111010
011101100100000000100111111110111111010101111...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

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

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

11100011100100001111100111101011111111101101001100
10110011110100001001111110110101111101111101001011
10110010010000001011001010110111111111101111100110
00110010010000000001011011111111111111101101100011
00001101100101111001111011100110110111010110110001
010000101010000011011010110111110110111111100...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

00111010010100110101110011010100101101011011111111
00000111001000011100111011100110011101101101110111
11100101001000001100111001111100111111000111111110
10110101010000000011110001111110011111111011101101
01000111001000011100111011100110000111111111111100
111010001001001101100100111101111101001110111...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

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

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

11010001010100111011101010111011110000111001011111
01111000001100111111011110100100111110111010110100
00001110110000011111111110001100011110110110111001
01010001111000001010111111111101110010101111111000
11101010000100000011111011111110000111101011110111
110100101010000111110011101101110110101011100...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

01000111101000000111101011101111110111000111011101
01110011000100000111011011110011111010110111101110
00110110110000001011111110010110111011111110000111
10010001000000000000101101110101111111110111111011
10000111010000001001111011110111001111011110011101
010000011100000111011100111101011001101011111...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

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

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

01000111101000111111111011100110010111010011011010
01111011111000001110011101111000010111110111111011
11110101010000000111111111111010101101111011011000
10000111001001110110011011100011000111111101111010
01001010001101100101111110111111111001010100100110
010010110110000111010011101011111011100110011...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

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

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

11000101111000001110011111111101111001000111111100
00110000100000000001011101101111111110101101111110
11110101000000001100101111111111010101011110110011
10100111000000001011001111111110011110101110110110
11000000101000000111010111101010011110111110011111
100010111000000000110101111001111011111100101...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

01100110110000001111111001110111001111001110101101
10100101110101111011101001001111110010011111100110
00110110110100000111111111011101111110110111000010
11010111001000010110110100111100111111110010111011
10110011110000000111111111011111110010100010011111
001101100101000101001101011101111011111010100...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

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

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

11100010101000010101101110001101111001110111011111
01010111101000111001011010111001111111010100111011
00011010010000011011110101010111111110000011110111
11110110001000000001011011100111111111011111110011
01000100100100011011111111101110110101110000100111
111100011000000000001111011111010110101111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

10110010101000001110101011111101101111011100101101
11111010000100001101101111101100101101101111101110
10100000100000000111011011101011101111110100110111
11000001100100110110111000111110110111001001111011
11110110001100001001101111111111101101011110110010
000100011100000000001011000111111101111111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

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

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

01000010000100010111110011110111100001111101101110
11110101011000100110011111001111101110110011101011
01110110001001110011011111010110101110101100110101
11110001011000000111110100011110111111101101101101
10001111010000111010110001111011100010111111011110
001000010010000001011011011111110111011101101...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

00100000011000011110101001111011010111101010111101
01100010001100110111101101100001111001111101111010
01100001100100010111011101010110011001011111111101
10110110001100111110001111110111110011000111100110
01010110111000100011011101111000111111011101100111
001000000011001010011110111000110101101110111...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

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

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

10010010111000001110111111011010000110111001111111
01101000000100111100110111010010011110111011111010
01010100001000000111001111110111111111011101000101
01000111000101111101011100101111110010010111111000
11001011110001101000110110111111110010111010101011
001001011001000001010011111001111111010101111...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

10000000111000011110110100110111110100111110011101
11110111101000101110011011101100111111110011011010
00011010101000001101101101011101001111110111111100
10111010010000001111110111101001111111110010100101
01111000001100011111010111111101111110110001010100
100001000100000011101011101111111011000111100...

Second Run Input

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

Second Run Output

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

result:

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