QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#317024#7186. "Memo" Game With a HintZhaoZiLongAC ✓0ms3892kbC++233.2kb2024-01-28 11:55:162024-01-28 11:55:18

详细

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

11111111111111111111111110000000000000000000000000
10101010101010101010101010101010101010101010101010

Second Run Input

play
2
11111111111111111111111110000000000000000000000000
A.
Y-
B.
X-
C.
W-
D.
V-
E.
U-
F.
T-
G.
S-
H.
R-
I.
Q-
J.
P-
K.
O-
L.
N-
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+
L.
L+
K.
K+
J.
J+
I.
I+
H.
H+
G.
G+
F.
F+
E.
E+
D.
D+
C.
C+
B.
B+
A.
A!
10101010101010101010...

Second Run Output

26
25
27
24
28
23
29
22
30
21
31
20
32
19
33
18
34
17
35
16
36
15
37
14
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
12
37
11
36
10
35
9
34
8
33
7
32
6
31
5
30
4
29
3
28
2
27
1
26
2
1
4
3
6
5
8
7
10
9
12
11
14
13
16
15
18
17
20
19
22
21
24
23
26
25
28
27
30
29
32
31
...

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

11110110101111010110011111101100000101100000000000

Second Run Input

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

Second Run Output

5
4
8
7
10
4
15
14
17
16
20
19
21
14
28
27
31
16
32
30
33
29
34
26
35
27
37
30
40
39
41
38
42
39
43
26
44
36
45
36
46
19
47
25
25
44
48
24
24
33
49
29
50
23
23
34
22
40
18
48
13
20
12
15
11
17
9
32
6
50
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: 3712kb

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

11111111111111111100011010101000010000100000000000
11111110111001111111101110110000100000100000000000
11110111101101111101110010101101000100010000000000
11111110101111111111101011100001100000000000000000
11111111111011101010111001010000000101010000100000
111111111011011000111001010100110100010001010...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

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

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

11111111111100101010011100110001100010000100001000
11111111111111101100001000111010001000010100000000
11111111011111111110110010000100110001000000000000
11111111011111101101011001000000011001011000000000
11111111100111101101001010000101111100000010000000
111111111010110010100111111100000110000100001...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

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

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

11111110110111011111000011101011000101000000000000
11111101110110111001111110100001001100010000000000
11111111001110111011001010110101000110001000000000
11111101101100110101001011111100100000100100000010
11111111111111110001100010100010110001010000000000
110111011111110111011010010011110100100000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

11111111101111110101110010010000100100001000000100
11111101111011111100111001100000011000001100000000
11111111010110111100101001110100110001000001000000
11111111110110100011110001110100010011010000000000
11111101111101111100111011000100000011000001000000
111111111110111100100100101100011100001000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

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

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

11111111111011110011101010100001100000100000000010
11111111111101111101011110000100000100010000000000
11111111011110111111111010001000001010000000000000
11111110110111101010011111100100110010000000000000
11111111011101010011111010111100000011000000000000
111111111110110111010011000000110110000001000...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

11111001011111101111101011101100010010000000000000
11111111110110010111011000110010001010100100000000
11111111101110101011111100010010100000001010000000
11011110100111001110101101110100001101100000001000
11111111111010101001111011110010000001000000001000
110111111111110111011000110101010000000010100...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

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

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

11111111111011111101111001100100000010000000000000
11111011111001111010011101011000010011010000000000
11111111100101101110111111001000000001011000000000
11111111111111110100011010100011000000110000000000
11111111111111100101011100111001010000000000000000
111111110011111110010011101001000010000110000...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

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

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

11111111001101111110010111011001011000000000000000
11110110011101110101011101101001000100000101000100
11011111011111101100101101111000010100000000100000
11101111011110111010001110110010001110000100000000
11101111011101101111010111101010001000000000000010
111111101101111000110100110001101011101000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

11111111101110101101101001110001000111000000000000
11111111111111111011101001001100000010000000000000
11110111011101110111110111000101000000110000000000
11111011011111110110110000010100101100100000010000
11111111011100101111111101000010110000000000010000
111111111111100101001101001000111000010000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

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

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

11111110101111110101001100001001101001000101000000
11111111111101111001011010100001100001000000100000
11111111101110111010110101010110100100000000000000
11111101101011101001011011000111010011010000000000
11111111101110111011101111000100110000000000000000
111111010111100010011111010110010010101001000...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

11111111101100111110101011010001100100000000100000
11111111111010011101101110100000001001001100000000
11110011011111110111011011100010000001100000100000
11101111111111110100111000110010000011000000010000
11111111101111001001101101101101100001000000000000
111111110001110100101011000011111101101000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

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

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

11011111111110110011110011010101100000100000000000
11111111110111100110001110001101000010010010000000
11111111111111110001011111000000000010100100000000
11111110111100101111010000000110111010101000000000
11111111111011111010110001011001000000010001000000
111101111110101011011001011111000111000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

11110111111101111110001001001011000000100000101000
11111101111111110111100101100000000001010001000000
11111101110111110111011101000010011000000000100000
11111111111110111000001111110010100000000100000000
11111101111111100011011100011000011011000000000000
111101111111111010011100100000100001001110100...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

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

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

11111111100101111110111101011000000100010000000000
11111111111011111100110101010000010100100000000000
11111110111010110111001110110011011000000000000000
11111111111111011101010000101010000010010000100000
11111111111111101000110100101011000000100010000000
111111011111010011010011011001110111000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

10111111110111111110010100100101000100100000010000
11111111101111101010011011100000010100000011000000
11101111111110011100101001011000000110110000010000
11111110101101111111100110101001010001000000000000
11111011111110111111000111000001010100100000000000
111111100011111111101010100011111000000010000...

Second Run Input

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

Second Run Output

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

result:

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