QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#181399#7186. "Memo" Game With a Hintucup-team1546AC ✓1ms3820kbC++204.7kb2023-09-16 18:18:152023-09-16 18:18:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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+
N.
V-
U.
Y-
R.
J-
K.
W-
T.
Y-
Y.
Y+
M.
P-
M.
M+
L.
J-
J.
J+
Q.
S-
L.
L+
W.
W+
R.
R+
O.
O+
Q.
Q+
V.
V+
X.
N-
N.
N+
U.
U+
P.
P+
T.
T+
K.
K+
X.
X+
S.
S!
00000000000000000000000000000000000000...

Second Run Output

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

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

10111111110101011011100110001011110011111100100000

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

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

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

00110001110011000101011111010101100000110000101100
00111011111111010000111101110101101100001101011100
10000010110111010100110100000110000001011111010000
11111011001011001101111101010001110011011111010000
10100111100110100110111010011100000010111100101000
000111011111111100010000000010100101100110011...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

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

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

00001101101111010010000101110000111101110001001000
10101110000111000001010111001100101101010010101100
10100100001010100001110101101001010001100101010100
00100100101110110101100101010111001101101001010000
11011111011010101111110010010101111110100111101100
001101101010010110011111000000010011001011111...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

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

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

10100110010011010011100111011101001110100110010000
00111000101011111111001011100000000001001001001000
01011111100100011000001011010101000111010010001000
01010001100100000111101110011110011000001111110000
10010101110010011110101110000110000010000111000010
001001010100001001110101110100001100101111100...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

00011110101110010010101100010011010111001011100100
01100001000010100001000001011000001110101000110100
11000011110001110001111111001111011000110001101100
00001010001100010001000000100001010111011001111100
11111010111001010101110110011100100001010011110100
010000101001000011111001100100111001011000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

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

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

10111111010111011001011000010001001100101011110000
11011000101111101010100101111011100101101001010100
01110100001101001010101111011101000100001101000010
00111000100001001011101001010000001111000110110000
11100010000100001111111000101010101111111111111000
110100001011111011101011010101111011110101011...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

01000100011111010001110000111111001100001011110100
10011111100100000011000011011001010110101011001000
11011000111010100100110010001011001101100010111100
00110101111101011000110101000001111000101011010000
10000001110110110000010010010100100010000110110100
011111011100100101100110000101011010000011100...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

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

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

11111100100001110111111010011011000101001011110100
01110011101000101001001011000000100100101110010100
00010111001011100101101100011101110010001010000010
01111010010001110100011001100010110000001110110100
01101100101111100100101000101000011011011010011000
110110010110110011000111101001111100000011000...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

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

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

10011000011001101110101011100101101010011100001100
11101000000111101100111001111111001101100111110000
10000110101010010101100010101110001010000010000010
01100001100111100100000001010100101011011101001100
10111100000000010100110010011110101001101011000000
001111100001010101000110000111110001100011011...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

01100010010000110111111000101111011100010100101100
11101111011001010001110000110010110111010000101100
11010110011001010110110100101111010110000001111100
01000100011001101000000111011101000000011111011100
10101101111100010101100101111110110100101010001000
101000111000100101011100011010100010001111101...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

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

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

00010010001110100001100101001101101110000010010000
10011100001011101100010110111100101010100101011100
01110000100011111011110000100110111101110100000100
10000010000010010011110000010011011010111010000010
01110100101101100011001101100110101010010111110100
001011101000101001000011111010010010010111110...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

01010101110110100001100010001101001010000110001000
00100000010100111010010101110111001111001011010100
11001101000110011001011111001011101011110110100000
11100111010110100000000001000000001100011111000000
00100000101110111010110011010011111100011001000010
111000110110001111000001010101111000111100010...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

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

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

10001111111100000100011110101111111100101001000000
01110110000100011010110000000111000111110110000010
10011110111001110101100101111001010111000000000010
01011111011010001001001111110111110011111000101000
10111111000000011110001001011011110011100000100010
010110010101001011111011010001101010101101001...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

01011001110001100110011011110100011100011100100000
01110110111111001110111101101010001110111000010000
10110100011001110001010100100010011000010000010000
01111011101101110010010110011001011010100111111100
01101100101111010000101110010101101000001101011100
100100100101111110100111101101100111011001101...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

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

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

00111100011011111100101001111100001101100000110000
11011101011111110110010011101101001000100101111000
11011110010011010010010010001111010000011001011100
01101111110101010101101111100101101101100111110100
11101101110101011100110100011000100110101110011000
110100010011011100011010011001010000010001010...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

10011000011101101110110011111010111110001100000000
00010001111011010001011110111100111110010110000010
10010011001100000001010011000010100100100010000100
01110011100000110001110110010110111110001111100100
10010000110011001111110011010101001010101001010100
101101100011111000010100110000001010110110101...

Second Run Input

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

Second Run Output

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

result:

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