QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#167048#7186. "Memo" Game With a Hintucup-team1688AC ✓4ms3548kbC++142.4kb2023-09-07 00:17:122023-09-07 00:17:12

详细

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

11100000001101101110011000001111111001001000110011
01101010010101100110011001100110101001101010010101

Second Run Input

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

Second Run Output

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

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

11110010000111001110011000100111100101000111000011

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

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

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

01111000101101101010000001011101110001101100010011
11110110011101101110001001101000100111001000000011
11110000000101101110011000110101110001001001100111
11111010100101000110011001101101000001101000010111
11110100000101101100010100111111011101000000010011
111110010001011001100010011010111100010010110...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

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

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

01101111011001001110011000011111100001001000000111
11101011111111001100001000101100001001001010010011
11111100001101101010001001111100101001001000010011
11111110000101101100010000011100100101001001010111
11111110100101101100001000011100110101000000011011
111001011001001011100000001111101110011010000...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

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

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

11101000001101101110011001111111101101000000000010
01110000000111101110000000111110101011001011001011
01101110001101100110000000011100111101101010001011
11110100100101101100011100110101100001001100110001
01110110010101100110011000010111110001001000110011
011111000101011011010001011101111000110000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

11110000011101100110000101100111000101001011001011
11111001011101101100010000001111000101001001010011
11111000110100111100010001111110010001001000000111
11111010000101101110011001101010101101000000100101
11111100000101001110001001000100110111001101000111
111000111011010011100110011101010100010010000...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

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

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

01110110011101100100000001111111010001001001010101
11111110010101001110001000110101101110001000000101
01110010001100000110011001001111111001001110100011
11111110000101101110000000111100110001101010010010
11110110011101000110010001111100001001111000000011
011011010011011001000001001111111000010011100...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

11110000101101101010011000111110100001001011000101
11100001001110001110001000111100111011101100000011
11111010011110001110001000011111110001000010000011
10101100001111000110001001111111000001001101010011
11111000110001100110001000101111100110011000010101
011110011001010011100000010001111101110011100...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

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

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

11111000001101101110001001101101100001001010010011
11111001100101100110001000111100101001100010010011
11101001110101101110001000111100101001001001001001
11110101001101001010010001101111100001001001010011
10111100111101101101010001101110101001000000010001
111110000111011001000011001011001010011010000...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

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

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

11101111001100001100100001101100111001001010010011
11110110000101001010001001001100011111011001010011
10111010111101001110001000101100110011001010010001
01101101000101101110001000111100101101001011000011
11101000111101001100010101101110101001001000011001
011111000011011001000110001101000011010001100...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

score: 100
Accepted
time: 4ms
memory: 3548kb

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

11110110101110000110001000101111110101001000000101
01111110101001101110000001101101100001000101010011
11110101001101101110010000011101011001000110000011
11111010011101100110010001011000001001110110000011
01111100010101001110011001110101111001001000000011
111111011101001001100100011110111000110000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

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

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

11111010001101101100101000001100100011101010010011
11110101101101101100001000011101110001001100000011
11110100100101001101010000101110101101000100110011
10111001101101100100000001101111111001000010001011
11111000100101101110001100111100010001000010010111
111100010101011010000100001101111110110011000...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

01101011011101100110001101001100100001011000010111
11100110001101100110000001101100101011001100110011
11110000111101000100011000111111100000001010010111
11101110001101100010000001011110111001001100010101
10111101000101100110001000111110111001000000110011
111110010110000011100010000101111111010001000...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

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

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

01111100010101100100001000111101000001001001111111
11111000110101101110001001011000110000101011000011
10110010101101001110000000111111101001001100010101
11111000001101001110001000011111101001001100010011
01110011011001100110011001111010000101001010010011
111100000101011011000110010111100001010010110...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

11100011011101101100000000111111001101001000010011
10100101001101101110000001111010110001001001001111
11100000111101101100011001011111000001001000011011
10111100011101001110001001011111001011001000000011
11111001010101001010001001111011011011001000010001
111000100011011001100100001010101110110010110...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

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

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

11111100000101101100111000001011100101001010010011
11110010001100100110000000111110011100001101011011
11111000001111100100001001101111001011001000010011
11111110000111001100011100101010000001001001011011
11110010101000101110010000101110101101100010010011
111110000101011010000110001101100111010000100...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

01101010011101100110010001110100111001001010000111
11111101001100100110010000011101011001001001010011
11100000001001101010001000111111100101001111010011
01111000100101101110000101101110101001001000010111
11110010110001000110011100011100101001001011010101
111111100011011011100010000111100001010010010...

Second Run Input

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

Second Run Output

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

result:

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