QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#268823#7186. "Memo" Game With a Hintucup-team2262AC ✓1ms3848kbC++176.4kb2023-11-28 21:47:172023-11-28 21:47:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

00000010011010000001011001000011011011000000111000
00000010000001000011000000100010100001100011100000

Second Run Input

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

Second Run Output

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

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

11101000000100111000001111010001110010100100010100

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

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

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

01000000110110110001111000010000101010000001110100
01100000110001000001111001110001000111101000111000
00000010010011110010100101010001001001011001100100
00110010101000101010111000000010010001110000111000
00110000111011011001110100101011101001110011001000
001010000001100110110001110000101010010000101...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

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

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

10000010110100000110000100001000101010010011100100
01000111000111011010001100000001100111010010101000
11110000111000000101110110110011001001001010010100
10000100001101100000100110001001111010100000110100
11000010101010000001001001000100001101100011110100
010010010101110110111110010001110001101100101...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

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

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

01100001010000110010101010001000101001011011010100
11111000000100101010100100100000111011101000001100
01001011110100100101010101000010011000010100110100
01011010000110000010010000111010100111011000100100
01010001001010110010011010100011101001110000001000
101000011101011010110110100110100101001110101...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

11000111100101000001101010100001111010001001000100
10011001111001000110110110100011010000000000000100
11011010110101101000111001110011101001000011111000
01001001010100000010110100100111110110101001100100
10011001100110110011111000010001001010100001100000
111110010101101101111101001100011010000001000...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

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

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

00001110001101101010110100000011010000010010001000
10101000010100100001110111010000111000000001111000
11000000010010010000000101001011101000100000010100
10111000110101001000101011010011100111000011001000
00111010110110111011110111110011100110010010010100
100001101101000100011100101100001101000010101...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

10010000010111010000001100011001111000100111110100
11010010110100110000101001001000011000100010001100
11100010010010000010110001100011010101010111110100
00110011110010000001000001100001010001000110110100
11000001100110101010110100110010001001011001000100
000010101010101110110101001100101001110000011...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

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

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

01011011000100000001000111001001010100100110110100
00010000110000111011000111101001100100100110001100
11000010001110100010111000001000100110100101100100
11100111010110010000000100011000001101111000110100
10000101000101010001010110001000001111000001110100
111100100010111000101001111010001101101100010...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

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

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

00011010110110000111110101000111010100111001110100
00111000000111001000100111000011011010001010001100
11000001000101010010101011100000010011000101010100
11110000000101110010101000110011010100100011111000
00000011000001010011110011101011100111010011011000
100110100011001001010101011110101101011100111...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

01011001010100110011100100101011110110100110010100
10011000110100100110010101100000011000001001111000
10111000000111010000010111001001000110001001101000
01000100100100000011010110110000010111110011100100
00000101100111010011000111001010111010001000111000
000001011101001010100110010110010001101010110...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

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

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

01101000011011111010110100110000100100100010010000
01000001111000000001010100011011011011111011000100
00000110000110011010110100010011100111100010110000
01111000110110000010001011001001000100100101010100
00100010010011100010001001101000110101010011011000
101010111101110100010010001010010110100101110...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

10100010110101100011001010011010010100010010010000
11101000111010001001100111001000110111000010001100
11100000010001000001110111001011111001010011101000
11011011010110110011100100100011111010100011101000
00000011110111010010101001100010000100111010010100
011000010100001000000110110100100011100001110...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

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

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

10011001011010101000001111110010001011111011100100
00100000101001100000001000111001111000010010010100
11110000000111101011110101110001001011000011010100
00000011110001100110010110010010110101110000001100
00110011000100111000000101001000100110011001110100
100000010010001010010101000000001000110010011...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

10010000110011110011000111100011100101101011011000
01000010111000100000001000110001111001110001101000
11100001010001000110110110010011000100110101110100
11010011000101101011110100011000100100010001000100
10000111010101000010001010110001100110100100001100
001010011101101100100101011110111110001100001...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

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

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

01001010001111100100010110000010111011101010110100
01000010100111011001010110000111100101010011111000
01101011100111001010011001111011110110010010110000
01111011111010010000001111110011101011100010100100
10101000011001011011011001010011110101110011100100
100010100011110000010010010100011100000100101...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

11010011001000001011011010110110001111000000001100
10000011101011100011001010000111100101010100001100
11110001011001000011000011100101010111000100110100
01000000110000100010010101110001110111001001000100
11110010111000100001101011000110110111111000000100
000101011101011110010101000110110110011010111...

Second Run Input

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

Second Run Output

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

result:

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