QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#183097#7186. "Memo" Game With a Hintucup-team1704#AC ✓1ms3852kbC++173.3kb2023-09-18 23:14:082023-09-18 23:14:08

詳細信息

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

00100010100111101000010100100010100010110010100000
00000000000000000000000000000000000000000000000000

Second Run Input

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

Second Run Output

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

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

00000100111111001111010001100111011010101111111101

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

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

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

00110100001100000110101011111010100011001110001100
00111010110000110110101110111100001011111111011100
00001011111010000001100000101100101011101101000001
00001011111011001110001010111110110011010011011111
00010100111101000000111001011101100101100111100101
001111100110011010010100000000100011111111101...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

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

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

00010010001110111100001110100001001011110110110000
00110101001010110100110011101010000011100001110101
00101010100110001010010110101110000101010000100101
00001010010110110011101010100110101101110100100100
00110111100101111110101001001111110101011011111011
001111111101001100100000001111100110100101011...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

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

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

00001001100101110010111011100111001011001001100101
00010010010010000000000111010011111111010100011100
00010001001011100010101011010000011000100111111010
00001111110000011001111001110111100000100110001010
01000011100001000001100001110101111001001110101001
000000011111010011000010111010111001000010101...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

00100111010011101011001000110101001001110101111000
00101100010101110000011010000010000101000010000110
00110110001100011011110011111110001110001111000011
00111110011011101010000100000010001000110001010000
00101111001010000100111001101110101010011101011111
001000000001101001110010011001111100001001010...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

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

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

00001111010100110010001000011010011011101011111101
00101010010110100111011110100101010111110100011011
01000010110000100010111011110101010010110000101110
00001101100011110000001010010111010010000100011100
00011111111111110101010100011111110000100001000111
000011101010111101111010101101011101111101000...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

00101111010000110011111100001110001011111000100010
00010011010101101010011011000011000000100111111001
00111101000110110011010001001100100101011100011011
00001011010100011110000010101100011010111110101100
00101101100001000100101001001000001101101110000001
000000011100000101101010000110011010010011101...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

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

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

00101111010010100011011001011111101110000100111111
00101001110100100100000011010010010100010111001110
01000001010001001110111000110110100111010011101000
00101101110000001101000110011000101110001001011110
00011001011011011000010100010100100111110100110110
000110001100000011111001011110001100110110100...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

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

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

00110000111001010110100111010101110110011000011001
00001111100110110011111110011100110111100000010111
01000001000001010001110101000110101001010101100001
00110010111011010100101010000000100111100110000110
00000011010110010101111001001100101000000000111101
000101101100011000111110000110001010101000011...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

00110100101000111011110100011111101100001001000110
00110100001011101101001100001110001010011011110111
00111110000001101011110100101101101010011001101011
00111011111000000010111011100000010110011000100010
00010001010100101101111110100110101000111110110101
001111011111000100010101100011101010010001110...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

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

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

00001001000001110110110010100110000101110001001000
00111010100101010100111101101000110111010000111001
00100000101110111101100100001111011111000100001110
01000001011101011011001000001111001001000001000001
00101111101001010101100110110011000110110100101110
000100111110100100100101111100001001010001011...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

00010001100001010010110001000110000101101110101010
00101011010011110011101110101001011100101000000100
00000101101111010111010011111010011001100010110011
00000011111000110000000010000000000101101011100111
01000010011000111111001011001101011101110100000100
000010100011110001111010101000001111000110110...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

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

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

00000010010100111111110101111000100000111111110001
01000001101111100011100000001101011000100001101110
01000000000011101010011110100110101110011101111001
00010100011111001111101111110010010001011011111010
01000100000111001111011010010001111000000011111101
000001001011010101011000101101111101001010100...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

00000100111000111000101111011001100110001110011010
00001000011101110001010110111101110011111101101110
00001000001000011001000100101010001110011000101101
00111111100101011010011001101001001110110111011110
00111010110000010110101001110100001011110100110110
000001011001101110011011011110010111111010010...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

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

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

00001100000110110000111110010100111111011000111100
00011110100100010010110111001001101111111010111011
00111010011000001011110001001001001011001001111011
00101111100110110110100111110110101010101111110110
00011001110101100100011000101100111010101110110111
001100101000100000101001100101100011101100100...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

00000000110001111101011111001101110110111000011001
01000001101001111100111101111010001011011110001000
00100001000100100101000011001010000000110011001001
00100111110001111101101001101110001100000111001110
00101010010101010010101011001111110011001100001001
001011010110110101000000110010100001111100011...

Second Run Input

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

Second Run Output

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

result:

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