QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#173845#7186. "Memo" Game With a Hintucup-team1657#AC ✓2ms3868kbC++142.7kb2023-09-10 02:15:542023-09-10 02:15:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

00000010000001000011000000100010100001100011100000
00000001000000100001100000010001010000110001110000

Second Run Input

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

Second Run Output

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

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

11101000111011010010100101000000000001001011000100

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

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

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

01000010110000010010000001010000000000001000100000
01100001000001110011101011000011001000001000100000
00000011110001010001011010000001000011000000011000
00110000101000000001110011110001000010110011010000
00110011011000101001110010110000110110010011100000
001010100110110000010000110110110100011100100...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

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

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

10000000000100001010010000000010101001110101000000
01000111011000000011010000111010001010010111100100
11110000000110110001001000110010100001010000001000
10000101100010001010100000000001110000010111100100
11000010000001000101100000011011000111111001000000
010010110110010001101100010000010100111010010...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

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

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

01100000110010001001011010011011000100010001000000
11111000101000100011101010000001000000000001101000
01001000100101000000010111000000100000011011001000
01011010000000111011011000000001000010100000000100
01010010110010100001110000010010100101111011000000
101000011010100110001110100000110010010100011...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

11000101000010100010001000110011011011001000000000
10011001000110100000000010110000101010000010010100
11011001101001110001000000101010100010000110111000
01001000000000100110101011100011000010000000100000
10011010110000010010100010100111010000011000101000
111110101101001100000001010110000100111100001...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

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

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

00001101101000000000010011100011000001010000101000
10101000100011010000000001110001101001000011101000
11000010010001001000100011001001010000101010000000
10111001001011010011000000010010101010011010000100
00111010111011110010010011001001001010101001101000
100001000100101100000010010001100000111110011...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

10010011010000011000100110110011000010011011001000
11010000110001001000100001000001100011110010001000
11100010000001100001010101110000000100101000110000
00110010000001100001000100000011000111010001011000
11000010101000110001011001110100101000000000100000
000010101110001100110000000000110110011000110...

Second Run Input

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

Second Run Output

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

result:

ok Correct! The number of the misses is 1062 (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

01011000000011001000100110101001010000101010010000
00010000111011101000100111000000000000100001000000
11000010100000001010100101001010001010000000111000
11100110010000011001111001110000000011111011100000
10000101010010001011000011111000100010101001011000
111100111000111010101100011100111001110010011...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

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

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

00011010000101000100111010001001010010100011011000
00111011001011000010001010100001110011110011101000
11000001010011100011000100110010000110001011011000
11110001110000110000100010000001000001101010010100
00000001010011101011010010010010011010100001001000
100110001001011110011100000001001100100100000...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

01011000110000101010100101010001000010000010001000
10011000100101100000001010110011001000101011000000
10111011010011001010001011000010100001010000011000
01000100000010110011110001001001010000000110001000
00000111010011001010001000100011000010011001110000
000001001010010110101010101001001100011110111...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

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

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

01101011111000110000100010100110010110001001100000
01000000000000011011111001101011000000000110010000
00000110011000010011100011000110111011101011110000
01111010000011001000100111100101000001110010100000
00100011100001101001010001001000010010000000110000
101010110100001010100101000000010000110000111...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

10100001100010011000010000100000000111000001000000
11101010001011001011000000101001000001000100110000
11100001000011001001010000000001111010100100110100
11011010110000100010100010100101110001100010000000
00000011010001100000111000100011100001011011001000
011000001000110100100001001110110001111110010...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

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

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

10011010101011110011111001100011000001010000100000
00100001100000111000010011000010100001000001110000
11110011101001110011000010010010000001010010101000
00000001100110010001110001000000100000000101111000
00110000111001001010011011110011111010000000100000
100000001010000000110010001110110001110000011...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

10010011110011100001101001010010001001111000000000
01000000100000110001110011010000000011110010000000
11100001000110010000110101101000110001111011101000
11010001101000011000010011101000000100001000110000
10000101000010110010100100100111101001110000100000
001010101100011110001100011000000110101010100...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

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

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

01001011100110000011101001110010110000010001101000
01000011011010000101010001100010100010000000001000
01101011001001111010010001011011011010001001000100
01111010010011110011100010110000111000000010100000
10101001011001010001110011000010110011100011111000
100010110000010100000100111000010000101000111...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

11010000001010110111000011110011000111101000100000
10000011100010000101010111000111010011000000000000
11110001000011100111000101101000111000001010001000
01000000100001110011001010001000001000000001011000
11110000100011000111111001100000011001010010001000
000101011110000110011010000010101110000000011...

Second Run Input

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

Second Run Output

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

result:

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