QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#172060#7186. "Memo" Game With a Hintucup-team422#AC ✓2ms3940kbC++172.8kb2023-09-09 17:59:412023-09-09 18:00:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

01100101100101100101100101100101100101100101100100
00000100000100000100000100000100000100000100000100

Second Run Input

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

Second Run Output

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

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

00100101010000001100001110110000010001101100100100

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

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

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

10101001000100110010110101101010010101001100111100
00011001110001010000010100010001000101110100011100
00100101011000100000110001011000001001111101010000
00100100100100100100111001011010000001110001000000
01000001001100001100010101110100010001100101011100
001100001010010010011011001101010111000010001...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

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

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

10110000000100010001111000110101000100000101011100
00000101011010011000101000111100001100010000001100
00110100111000011001011100111001111101100100111000
00111101111000110110011100100001000100011000100000
01001001000100111010100101011000100000011000011100
011000000100000001010000101011000001011000010...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

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

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

00010000100100001101000100110100101100111010111100
00000101000101100001100110111000010000110100011100
01110100011001011100010000111001000000111000111000
00011100100000100100100100110000010010001000001000
00100000110001001000001001011100010100011010100000
101001000101010000001001010100000101010110001...

Second Run Input

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

Second Run Output

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

result:

ok Correct! The number of the misses is 948 (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

00010001010001100101000100101100101001100001110000
00010100101100011010000000111000111101001000011100
01001000011000100101110100000110110000001000111100
01100010110100101101000101100101010100100100101100
00110101001000101000000100010100000101000101101100
001011000010001010010000000100001011001010000...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

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

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

00000101011100101100100101001010011001100000110100
01001110101001000101111000110001011010001100101100
00010101011100010110010000111010000101011000110000
00111100001001110001000000100101100000111100100000
01000101001001100010000001010101100001011101101000
001100000110011111001101000110010100000101000...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

01111110010100011000101101100100001101000100110100
10001000100000011010110100101101111100111001011000
00001000110010010100010100111000100101110000001100
00001100000100010000101100100100011000110100011000
10001101100000010100100000000100111110000110100000
000101001110011001010011000010010110011000010...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

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

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

00100110001001011100100101000010001001110001111100
00010000011100111100110101010101111010101100001100
10111001100001010000000100000101100100100100011100
00010001011101100000111000010010000100010001000000
00000110000001111110101100011001111101101001001000
000010011110010101011101011011000110001001001...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

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

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

01010100111000100101001000010101110100001100001000
00010001000101100010000000111101011101100000011000
01111100101100000100011101100000100001111100101000
01000100011101111101101100001010110000101100000100
00001100010101000001000000001100101101100001011000
011000000110001111000001010000011101000001001...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

01000001101101101100010010000110101100110000010000
01001100010101001000111001010001110101011101100000
00001101110100111100010100000110101010010001000100
00001010101101101101100001110010010100010100100100
00011001100000101000101110001110100101010100110000
001110000101001000001110000011010000001000001...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

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

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

00001000111001100000010100001000000101110101001100
01110010101000001100010001100001011000001001111100
00000101010001111100011000100000001000101100010000
00111001000000111100011000100101000000000100011000
00010100101001011001000100001110011010001101111000
011010000111000110000010001111001111000101010...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

10100000110101000000000101110100111010110110010000
00010101010101100110111000100101100100110100011000
00000110110000110000110100010100100100110000001100
01000001101001101101001000101101111000110110010100
10111100101001101100110110011101110101000000101100
000100010100100110001010001001001001001000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

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

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

00000101101100001000100001011001010010011101111000
01000000101000001010000100011101011010001100011100
01000101100000010010100001110001000010000000110100
00111100001110010010001001011100001100110000010100
01011100010001001001010100111101000100101010000100
010001010110000100000011001010001001010101000...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

00001101010010000000010100100101001101000100010000
01101100110001001000100000101000011001100111000000
00001100101101101000001001010001001100110100011000
01100001100100110001101000100000010101110001110000
00101000111101100100101100100000001000110000001000
011010011100000001010000010001001001000100101...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

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

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

01111100000101110001011000010100110110001001000000
10001100111100011001010110100100011001111110000000
01000100011001000100010000011000001001001000011100
00000110011100100001111000000100111010001010000100
00001100000110010101100101011001000001101101000100
100000001111000100001101101000100110010110001...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

00100000101100010010110110000000010100101001010000
01011000110000011000011000001000100100011010111100
00101100000100001100100100000101001000001101010000
00101010010110000000111101001000010101110100101000
00111001001000101000000110100001001100001101001100
000110001100000011011001010111001100100001011...

Second Run Input

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

Second Run Output

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

result:

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