QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#168114#7186. "Memo" Game With a Hintucup-team1376AC ✓3ms3524kbC++141.9kb2023-09-07 21:41:512023-09-07 21:41:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000

Second Run Input

play
2
00000000000000000000000000000000000000000000000000
A.
B-
C.
D-
E.
F-
G.
H-
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!
00000000000000...

Second Run Output

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
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
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
...

result:

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

Test #2:

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

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

10010001011110001100100000000000000000000000000000

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

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

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

11100111011010000000000000000000000000000000000000
00011000101100000000000000000000000000000000000000
10000110101001011010110000000000000000000000000000
11100011001010000000000000000000000000000000000000
00110110111000010000000000000000000000000000000000
001000100011100001001110000000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

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

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

01111101110010111111101000000000000000000000000000
00000100111100100001101100000000000000000000000000
10101010000001000000000000000000000000000000000000
01110011011001110000000000000000000000000000000000
11111100010111111010110000000000000000000000000000
000110110101010011010100000000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

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

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

10000000010000110010110000000000000000000000000000
00010100001100001010000000000000000000000000000000
00110110110001110100111000000000000000000000000000
10011010111011111100111010000000000000000000000000
11110111100010100110110000000000000000000000000000
111001111000000010100100000000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

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

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

10111111101000100000000000000000000000000000000000
11011001111111100100000000000000000000000000000000
00001010110101100110001000000000000000000000000000
00111001100010001000001110000000000000000000000000
11100000110000000000000000000000000000000000000000
110100010011110101010111000000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

score: 100
Accepted
time: 3ms
memory: 3420kb

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

00001101111011000000000000000000000000000000000000
00110010011000000000000000000000000000000000000000
01011110101000000000000000000000000000000000000000
11011100110010100100000000000000000000000000000000
11100100001100110011100100000000000000000000000000
001110100001000100010000000000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

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

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

00001100101110111111000000000000000000000000000000
01011110110011010011101000000000000000000000000000
10011011010010011100000000000000000000000000000000
00001011000011101010011001100000000000000000000000
00011001011001101000000000000000000000000000000000
111110000110111100000000000000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

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

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

00001101101100000000000000000000000000000000000000
10000110110111101011010000000000000000000000000000
01000001000001000000000000000000000000000000000000
00111101000100001000000000000000000000000000000000
01001001001001010000000000000000000000000000000000
110110111000000101000000000000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

score: 100
Accepted
time: 3ms
memory: 3384kb

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

10000010010010001111000000000000000000000000000000
01001000101011011100000000000000000000000000000000
10001001000000101001000000000000000000000000000000
11010100010010100100010000000000000000000000000000
11001100011011001000000000000000000000000000000000
101011010001000011011111100000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

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

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

11100001011000010100010000000000000000000000000000
00010000011000000000000000000000000000000000000000
01111110010101100000000000000000000000000000000000
11000111001010000100110010000000000000000000000000
10001000001001000000000000000000000000000000000000
100000010101111001000000000000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

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

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

00111000011001011000011000000000000000000000000000
01100010010110010100000000000000000000000000000000
11011100110111101101000000000000000000000000000000
11011101110110111001010100000000000000000000000000
00001001011000000000000000000000000000000000000000
010100010111011010111100000000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

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

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

00110111100110001000000000000000000000000000000000
11010111000110000000000000000000000000000000000000
00010010110000011000000000000000000000000000000000
10001111010101001011000000000000000000000000000000
11000111110000111011100000000000000000000000000000
101001101011101100000000110011100000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

score: 100
Accepted
time: 3ms
memory: 3396kb

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

10100110010010100100000000000000000000000000000000
01111111000011000101100000000000000000000000000000
10111000100000000000000000000000000000000000000000
10001110000110001010001111000000000000000000000000
11111011111100001000000000000000000000000000000000
011010000000001001110101011000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

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

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

10010101000111101100000000000000000000000000000000
10001100000100000000000000000000000000000000000000
10110100100100000000000000000000000000000000000000
00001100001101100101000000000000000000000000000000
11110100111111000010101000000000000000000000000000
111011010100010010000000000000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

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

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

01100110101100000000000000000000000000000000000000
00110110111110000000000000000000000000000000000000
10100110010001100011100100000000000000000000000000
10100001101001110010000000000000000000000000000000
11101110010010010000110000000000000000000000000000
101111111011011010000001110000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

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

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

01001001011010000110100000000000000000000000000000
10101111001001101000000000000000000000000000000000
01100000111101000101000000000000000000000000000000
10000000110010101001000000000000000000000000000000
00000110000111100000000000000000000000000000000000
100101001001000101011100000000000000000000000...

Second Run Input

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

Second Run Output

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

result:

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