QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#197409#7186. "Memo" Game With a Hintucup-team1623#AC ✓1ms3968kbC++141.6kb2023-10-02 15:37:592023-10-02 15:37:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

00000000000000000000000001111111111111111111111111
01010101010101010101010101010101010101010101010101

Second Run Input

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

Second Run Output

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

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

00001001010000101001100000010011111010011111111111

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

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

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

00000000000000000011100101010111101111011111111111
00000001000110000000010001001111011111011111111111
00001000010010000010001101010010111011101111111111
00000001010000000000010100011110011111111111111111
00000000000100010101000110101111111010101111011111
000000000100100111000110101011001011101110101...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

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

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

00000000000011010101100011001110011101111011110111
00000000000000010011110111000101110111101011111111
00000000100000000001001101111011001110111111111111
00000000100000010010100110111111100110100111111111
00000000011000010010110101111010000011111101111111
000000000101001101011000000011111001111011110...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

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

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

00000001001000100000111100010100111010111111111111
00000010001001000110000001011110110011101111111111
00000000110001000100110101001010111001110111111111
00000010010011001010110100000011011111011011111101
00000000000000001110011101011101001110101111111111
001000100000001000100101101100001011011111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

00000000010000001010001101101111011011110111111011
00000010000100000011000110011111100111110011111111
00000000101001000011010110001011001110111110111111
00000000001001011100001110001011101100101111111111
00000010000010000011000100111011111100111110111111
000000000001000011011011010011100011110111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

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

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

00000000000100001100010101011110011111011111111101
00000000000010000010100001111011111011101111111111
00000000100001000000000101110111110101111111111111
00000001001000010101100000011011001101111111111111
00000000100010101100000101000011111100111111111111
000000000001001000101100111111001001111110111...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

00000110100000010000010100010011101101111111111111
00000000001001101000100111001101110101011011111111
00000000010001010100000011101101011111110101111111
00100001011000110001010010001011110010011111110111
00000000000101010110000100001101111110111111110111
001000000000001000100111001010101111111101011...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

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

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

00000000000100000010000110011011111101111111111111
00000100000110000101100010100111101100101111111111
00000000011010010001000000110111111110100111111111
00000000000000001011100101011100111111001111111111
00000000000000011010100011000110101111111111111111
000000001100000001101100010110111101111001111...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

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

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

00000000110010000001101000100110100111111111111111
00001001100010001010100010010110111011111010111011
00100000100000010011010010000111101011111111011111
00010000100001000101110001001101110001111011111111
00010000100010010000101000010101110111111111111101
000000010010000111001011001110010100010111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

00000000010001010010010110001110111000111111111111
00000000000000000100010110110011111101111111111111
00001000100010001000001000111010111111001111111111
00000100100000001001001111101011010011011111101111
00000000100011010000000010111101001111111111101111
000000000000011010110010110111000111101111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

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

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

00000001010000001010110011110110010110111010111111
00000000000010000110100101011110011110111111011111
00000000010001000101001010101001011011111111111111
00000010010100010110100100111000101100101111111111
00000000010001000100010000111011001111111111111111
000000101000011101100000101001101101010110111...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

00000000010011000001010100101110011011111111011111
00000000000101100010010001011111110110110011111111
00001100100000001000100100011101111110011111011111
00010000000000001011000111001101111100111111101111
00000000010000110110010010010010011110111111111111
000000001110001011010100111100000010010111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

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

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

00100000000001001100001100101010011111011111111111
00000000001000011001110001110010111101101101111111
00000000000000001110100000111111111101011011111111
00000001000011010000101111111001000101010111111111
00000000000100000101001110100110111111101110111111
000010000001010100100110100000111000111111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

00001000000010000001110110110100111111011111010111
00000010000000001000011010011111111110101110111111
00000010001000001000100010111101100111111111011111
00000000000001000111110000001101011111111011111111
00000010000000011100100011100111100100111111111111
000010000000000101100011011111011110110001011...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

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

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

00000000011010000001000010100111111011101111111111
00000000000100000011001010101111101011011111111111
00000001000101001000110001001100100111111111111111
00000000000000100010101111010101111101101111011111
00000000000000010111001011010100111111011101111111
000000100000101100101100100110001000111111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

01000000001000000001101011011010111011011111101111
00000000010000010101100100011111101011111100111111
00010000000001100011010110100111111001001111101111
00000001010010000000011001010110101110111111111111
00000100000001000000111000111110101011011111111111
000000011100000000010101011100000111111101111...

Second Run Input

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

Second Run Output

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

result:

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