QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#319165#7186. "Memo" Game With a HintHuangHanShengAC ✓0ms3888kbC++141.7kb2024-02-02 00:45:152024-02-02 00:45:15

详细

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

00000000000100001000001100010000010100011000011100
00000000001000010000011000100000101000110000111000

Second Run Input

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

Second Run Output

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

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

01011101110000101110010100001000000001001010001100

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

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

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

00001000110100100000000100101000000001000000010000
00011000001000111001011100001101001101000000010000
00000000111100101001101000000100001000001101100000
00110001010000000000111000111100001000110100101100
00110001101101010000111000110110110000100100011100
010100011001000011000010011011001011001110000...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

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

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

00000110000001000000100100000001010110111000001000
10001001101100000000101101110001000110100110011100
00111110000000110101001000110000010100101001000000
10000100011001000100010100000000111010100010011100
00001100000110001000011001100010001101111100001000
010010011011100010001101000010001010010111011...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

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

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

00011000110001000101101001100110001100100000001000
01111101010000010001011100000100001000000001011000
01001010010000001010100000001100010001100001001100
01101000000101110001101100000000001000010110000000
00101000110100010100111000100010010101111000001100
000101010110011001011100000001010011001010011...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

10001100001000010101000100110001101101001100000000
01100110001000010100000000110101010000000110100100
01101101011000111000001001010000010110000101110100
01001000000010010001010100011100001100000100010000
01100100110100100000010110010100101101100001010000
011111101101001100100000011010001000001111000...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

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

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

11000001011000000000100000011100001100101001010000
01010100010000101100000000111001011000001001011100
00001100100101001000010001001100101001010000000100
01110101001000101100001100100001010101100110000100
01110001110100111100100101001101001001010101011000
100001001000001101010000100010000001011111010...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

00100100101101100010010000110100001101100101001100
00101100110001001000010000001000011000111101000100
00011100000100011010101000111010000001010000110000
00110000000100011010001000000010001100101101101000
00001101010100110001101010111001010000000000010000
010000011101001100000011000000011011000110010...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

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

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

01101000000001001110010001010100101001010000100100
00100001110001011110010000001100000000010000001000
00001100010101000010010101001001000100000101110000
10011100100101100001111000111000000001111100011100
10000100101001000100001101111100010001010101101000
001111000111010111001101001110100111010011010...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

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

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

01100010000110001001110001000100101000010101101100
01110001001100001101000100010100111000111101011100
00001100101000011110001100110010000101000101101100
00111100111000110000010000000100001001011010100100
00000000101001011100101100100101100100010101001000
011001100100011110001110100000001100001001001...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

01101000110001010010010100101000001000000101000100
01100110010000011001000000110101001101010000001100
01110100101101001101000100001100010100101001100000
10001000000000110100111101001000101010000001000100
10000000101101001101000100010000001101100100111000
100000010100011010010101100101001100011110011...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

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

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

01011001111100110000010010010110100101000100011000
00001000000001100001111101011000001110000000100100
10000001100100100000011110001101110101011100111100
01111000000101001110010010011100001000111000010100
00010000011101011000101001001000100000000100110000
010101001011010100101001000000000010000011000...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

00010100011001100100100000010010000000001100001000
01011101000101001100001101010000001010001000110000
00011100001001001100101000000001111010010110110000
01101100110100010000010110010100111000011000000100
00000000101100011001110000010000011101101001001100
000110000100001011100001011100100011011111010...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

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

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

01100101010100111101111100011000001100101000010000
00010000011001110000100000001100010100001000111000
00111101011100111000001100100100000100101001010100
00000010011000100100111000001000010010000001111000
00110001110001001001100100111101111100000100010000
000001010100000000010011011100100011000011000...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

00100100111100011101011000101001000101111000000000
00001000010000110000111000101100000000111100000100
00011110001000100110110001011000110001111001011100
00101101011001100000100001011110000001000000110000
10000100001000110110010110010001011100111000010000
010100001101011110001100000110011000010101000...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

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

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

01001010011100000101011100111000110100100001011000
00001001101110000100101000011000010100000101000000
01011001001101111000100101101001101101000110001000
01111000100100111100011100110101110000000000010100
01010101101000101000111000001100110100011101111100
010001000011001010001000000111000010000101010...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

00101101000010110100001100111110001101011100010000
00000100011110000110101010001100101100001100000000
00111100001010011110001101011001110001000001000100
00001000010000111001001101000101000000000001101000
00111100010010001101111100011001100000101001000100
101000011110011000010110010000011101000000000...

Second Run Input

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

Second Run Output

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

result:

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