QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#171148#7186. "Memo" Game With a Hintucup-team497#AC ✓3ms3488kbC++143.1kb2023-09-09 16:32:142023-09-09 16:32:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

00000101001101000101000100101000010111100101000100
00000000000000000000000000000000000000000000000000

Second Run Input

play
2
00000101001101000101000100101000010111100101000100
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: 1ms
memory: 3420kb

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

11010110001110111100010010000100101110000100100000

Second Run Input

play
1
11010110001110111100010010000100101110000100100000
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
13
20
21
14
22
23
24
25
26
27
29
30
31
16
33
24
34
23
35
27
36
37
30
37
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: 2ms
memory: 3484kb

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

01000001110010110001000001000101100000001101101000
00101110001001100111000001011001110101110001111100
11010001010100100100000110011011110000111011110000
10001110100100110001101100111011001101000010100010
10001010110010000010000010101010000101100010010100
000000110011001101110101011110001110111001110...

Second Run Input

play
50
01000001110010110001000001000101100000001101101000
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!
0010111000100110011100000101100111010111000...

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
13
19
22
23
24
15
25
26
27
29
30
22
31
14
33
10
34
35
12
35
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: 0ms
memory: 3408kb

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

01100111010001001100110100010011101100001111111000
11111111110110011110110100101000001001011000000010
10000101001111101101000000001000100111110001011000
01110000100000110011001110101000101101011100100010
11110011011000111010011011100000010011111001010000
001001011110010100001110101110011101100111001...

Second Run Input

play
75
01100111010001001100110100010011101100001111111000
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!
1111111111011001111011010010100000100...

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
12
18
19
20
21
17
22
23
24
27
28
31
24
31
32
33
34
33
35
28
36
23
37
38
15
38
39
22
40
10
41
37
42
44
32
44
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: 0ms
memory: 3404kb

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

10100111001101000011110000000011101001000001111000
01111010100011011110110110011101100111010000110000
01001010010010010010010110100110101111001001001100
01101010111100011100011110001111001011010011011100
10100010101110111001111110100111110001100011010100
010000001000011111100110111101101101001001111...

Second Run Input

play
85
10100111001101000011110000000011101001000001111000
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!
0111101010001101111011011001110110011...

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
29
37
38
39
26
39
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
15
26
27
28
25
28
30
23
...

result:

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

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

00110001001001001011100010101010010001010110000100
01010100101101001001110111110100000101010001101000
11000111010101011001000101010111110001110101110000
00000111100001110001010101000001001101111011100000
11010010010001001100000111111111010110110111000010
001111001100100010001100100101110000001110100...

Second Run Input

play
90
00110001001001001011100010101010010001010110000100
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!
0101010010110100100111011...

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
21
26
28
30
22
30
33
34
14
34
35
18
36
38
28
38
39
11
40
36
41
43
16
43
44
20
45
15
46
41
47
25
48
49
33
49
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: 2ms
memory: 3400kb

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

10001011101111001000001100100010010011100111110000
11000011011101011010111011110010001001101000100010
00111101011000001001110110000100010110111101100100
00000111011000100011111111000001011111000111000010
11111100100110010110001111010011010010110110101100
110010110101110011111100010111101000011000100...

Second Run Input

play
95
10001011101111001000001100100010010011100111110000
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!
1100001101110101101011101111001000100...

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
10
22
23
25
27
28
25
28
29
19
31
20
32
33
34
21
35
11
38
13
39
40
32
40
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
10
26
27
15
...

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

01011011010111111110000110010001101100101010000010
10001000111011011110001010011111011101101101000000
11011011000111000010010011111100111110001111000100
01001111000000010010100111101110000100011100100000
10110011111111010111011001001101101000100111101000
001010110010110110101110010101001110100100000...

Second Run Input

play
100
01011011010111111110000110010001101100101010000010
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!
100010001110110111100010100111110111...

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
19
36
37
38
18
38
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
13
21
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: 3ms
memory: 3480kb

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

11101010000111010011011100101101101111011100100100
00101111101111010110000111001001000011100111111000
00100010110111010101011010101001010000101001010000
00001101101110111101000110110011101100000000100010
01001100111000000010001000111101010101100110110000
100001000111000010001101101011111000011100010...

Second Run Input

play
100
11101010000111010011011100101101101111011100100100
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!
001011111011110101100001110010010000111001...

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
22
38
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
15
20
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: 3428kb

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

10010110111010000001101111010110000011110110001100
11111101100001011011010010010110100010110100101100
10110010111101000100101100100111001111010011001000
01100011111000010011101111010001010100010100100000
10101010010100000010101101001100100101011001100000
000100000000110100110001001010110000001101000...

Second Run Input

play
100
10010110111010000001101111010110000011110110001100
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!
111111011000010110110100100101101000101101...

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
18
23
24
25
26
27
22
27
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
24
30
31
23
32
33
29
33
...

result:

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

Test #11:

score: 100
Accepted
time: 2ms
memory: 3448kb

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

00101001011001111101010110101101111001001000011000
11101010110111011110000110100000101101000000001100
10110110001100110111100010010001000110100011000010
00101010110000011101001110000110000100100000000010
11111010101010010010101001010001010011000001101100
101000110111000000100110011110100101010110010...

Second Run Input

play
100
00101001011001111101010110101101111001001000011000
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!
111010101101110111100001101000001011...

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
15
33
35
23
36
37
38
40
13
40
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
11
22
23
26
27
13
...

result:

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

Test #12:

score: 100
Accepted
time: 2ms
memory: 3488kb

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

01010111001001001111000001011011100100011010010100
10110011100000100100101110001001110100111100001100
01100111100010001010011001001111001100000100001100
10101010101101101111001010000111001111110010001000
00101111101110011011011111111100101000101010111100
000101010001100101110111000111111110110100110...

Second Run Input

play
100
01010111001001001111000001011011100100011010010100
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!
101100111000001001001011100010...

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
16
21
23
24
25
23
27
12
29
30
20
30
31
14
32
33
34
33
35
37
13
37
38
39
24
39
40
38
42
43
44
45
15
45
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
11
13
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: 2ms
memory: 3412kb

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

01111001000010000011011101110010100100001000000000
01101111000000111000011001110010100101000100100000
11100111011111111110000000001011101000100010010000
11100010011100010110101010101100001100110100010100
00000011111010101000001110011101100111011110010000
101000111000100001100001100001001111110001110...

Second Run Input

play
100
01111001000010000011011101110010100100001000000000
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!
011011110000001110000110011100...

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
16
24
25
26
27
18
28
29
21
29
30
17
31
12
32
33
35
19
36
37
23
37
38
36
40
25
41
28
42
26
43
11
44
15
45
47
33
47
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
24
29
...

result:

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

Test #14:

score: 100
Accepted
time: 2ms
memory: 3484kb

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

11010011101000000100101001101110110001001111010100
01101000110110101111000010001010010110000001101100
11000100111001000010001111001001110101101101001100
00100011110111001111000101001000111111011011011100
10111000111110001001000101010000110110101011110000
010010011000101001100111011000110011101011011...

Second Run Input

play
100
11010011101000000100101001101110110001001111010100
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!
011010001101101011110000100010100101100000...

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
32
40
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
12
16
18
19
20
10
22
15
23
24
25
26
24
26
29
30
...

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

00011100100001000010110110100010111111000110100000
01111111110110000001001010001000111001111010000100
11001010001011111110001010000000011000000101010100
01111011010110000010010010001000010010011000110100
00001000110000101111010110110110011100011110111100
111110010101011101010100100001111100000110000...

Second Run Input

play
100
00011100100001000010110110100010111111000110100000
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!
011111111101100000010010100010001110011110...

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
12
24
26
27
28
23
29
31
32
34
29
34
36
16
37
18
38
19
39
41
43
32
44
14
45
46
47
48
31
48
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
13
31
32
27
...

result:

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

Test #16:

score: 100
Accepted
time: 2ms
memory: 3412kb

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

00000110000100011011011101110001011000010110101100
11110110001000011001100100101110001000100000000100
10001100000010001010100111111110000111010001100000
01110101000101100001110000001110010100101111001100
11110110010011100101010001100110101101101111101100
101000111000100111001111111001110100101100110...

Second Run Input

play
100
00000110000100011011011101110001011000010110101100
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!
111101100010000110011001001011100010...

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
15
20
21
22
23
24
25
21
26
27
14
27
28
29
31
26
33
16
36
37
18
37
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
15
25
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: 2ms
memory: 3488kb

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

11011101001101011110110011101001110100010111110100
01110100011110010100011011111011001100010001000100
11001000000010011101001101110101101100111011100000
00110101110100100011101010010111100100101000011100
10010011101110011011010010100110001010001101101000
110001001101101000001111010100000001100111000...

Second Run Input

play
100
11011101001101011110110011101001110100010111110100
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!
011101000111100101000110111110...

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
15
23
24
26
13
26
27
28
17
28
30
31
18
31
32
33
34
24
36
39
40
30
41
36
42
22
43
39
45
14
46
47
27
47
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
12
21
22
23
25
26
27
29
...

result:

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