QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#173202#7186. "Memo" Game With a Hintucup-team666#AC ✓15ms9168kbPython31.2kb2023-09-09 22:23:062023-09-11 02:02:53

详细

Test #1:

score: 100
Accepted
time: 9ms
memory: 9156kb

First Run Input

prepare
2
ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY
AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY

First Run Output

00000000000000000000000001111111111111111111111111
01010101010101010101010101010101010101010101010101

Second Run Input

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

Second Run Output

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

result:

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

Test #2:

score: 100
Accepted
time: 5ms
memory: 9064kb

First Run Input

prepare
1
FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO

First Run Output

00001001010000101001100000010011111010011111111111

Second Run Input

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

Second Run Output

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

result:

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

Test #3:

score: 100
Accepted
time: 9ms
memory: 9032kb

First Run Input

prepare
50
FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP
NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV
AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN
CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS
JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS
IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...

First Run Output

00000000000000000011100101010111101111011111111111
00000001000110000000010001001111011111011111111111
00001000010010000010001101010010111011101111111111
00000001010000000000010100011110011111111111111111
00000000000100010101000110101111111010101111011111
000000000100100111000110101011001011101110101...

Second Run Input

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

Second Run Output

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

result:

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

Test #4:

score: 100
Accepted
time: 12ms
memory: 9032kb

First Run Input

prepare
75
EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY
CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB
UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX
EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ
PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU
YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...

First Run Output

00000000000011010101100011001110011101111011110111
00000000000000010011110111000101110111101011111111
00000000100000000001001101111011001110111111111111
00000000100000010010100110111111100110100111111111
00000000011000010010110101111010000011111101111111
000000000101001101011000000011111001111011110...

Second Run Input

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

Second Run Output

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

result:

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

Test #5:

score: 100
Accepted
time: 11ms
memory: 9132kb

First Run Input

prepare
85
RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH
GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK
PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM
EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW
OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV
SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...

First Run Output

00000001001000100000111100010100111010111111111111
00000010001001000110000001011110110011101111111111
00000000110001000100110101001010111001110111111111
00000010010011001010110100000011011111011011111101
00000000000000001110011101011101001110101111111111
001000100000001000100101101100001011011111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #6:

score: 100
Accepted
time: 7ms
memory: 9036kb

First Run Input

prepare
90
HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO
DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY
KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF
BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ
YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL
QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...

First Run Output

00000000010000001010001101101111011011110111111011
00000010000100000011000110011111100111110011111111
00000000101001000011010110001011001110111110111111
00000000001001011100001110001011101100101111111111
00000010000010000011000100111011111100111110111111
000000000001000011011011010011100011110111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #7:

score: 100
Accepted
time: 10ms
memory: 9164kb

First Run Input

prepare
95
CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA
DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL
QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP
WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT
PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR
YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...

First Run Output

00000000000100001100010101011110011111011111111101
00000000000010000010100001111011111011101111111111
00000000100001000000000101110111110101111111111111
00000001001000010101100000011011001101111111111111
00000000100010101100000101000011111100111111111111
000000000001001000101100111111001001111110111...

Second Run Input

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

Second Run Output

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

result:

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

Test #8:

score: 100
Accepted
time: 12ms
memory: 9092kb

First Run Input

prepare
100
NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY
LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD
MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL
EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT
GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON
EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...

First Run Output

00000110100000010000010100010011101101111111111111
00000000001001101000100111001101110101011011111111
00000000010001010100000011101101011111110101111111
00100001011000110001010010001011110010011111110111
00000000000101010110000100001101111110111111110111
001000000000001000100111001010101111111101011...

Second Run Input

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

Second Run Output

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

result:

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

Test #9:

score: 100
Accepted
time: 15ms
memory: 9108kb

First Run Input

prepare
100
BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT
FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD
IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA
FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ
RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY
SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...

First Run Output

00000000000100000010000110011011111101111111111111
00000100000110000101100010100111101100101111111111
00000000011010010001000000110111111110100111111111
00000000000000001011100101011100111111001111111111
00000000000000011010100011000110101111111111111111
000000001100000001101100010110111101111001111...

Second Run Input

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

Second Run Output

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

result:

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

Test #10:

score: 100
Accepted
time: 15ms
memory: 9156kb

First Run Input

prepare
100
SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO
PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND
UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL
YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP
AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU
OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...

First Run Output

00000000110010000001101000100110100111111111111111
00001001100010001010100010010110111011111010111011
00100000100000010011010010000111101011111111011111
00010000100001000101110001001101110001111011111111
00010000100010010000101000010101110111111111111101
000000010010000111001011001110010100010111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #11:

score: 100
Accepted
time: 11ms
memory: 9168kb

First Run Input

prepare
100
RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU
OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW
KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO
BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN
TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL
PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...

First Run Output

00000000010001010010010110001110111000111111111111
00000000000000000100010110110011111101111111111111
00001000100010001000001000111010111111001111111111
00000100100000001001001111101011010011011111101111
00000000100011010000000010111101001111111111101111
000000000000011010110010110111000111101111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #12:

score: 100
Accepted
time: 15ms
memory: 9164kb

First Run Input

prepare
100
VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ
BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR
RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX
IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ
KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ
ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...

First Run Output

00000001010000001010110011110110010110111010111111
00000000000010000110100101011110011110111111011111
00000000010001000101001010101001011011111111111111
00000010010100010110100100111000101100101111111111
00000000010001000100010000111011001111111111111111
000000101000011101100000101001101101010110111...

Second Run Input

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

Second Run Output

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

result:

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

Test #13:

score: 100
Accepted
time: 10ms
memory: 9160kb

First Run Input

prepare
100
MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR
LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD
EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG
MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL
AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV
IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...

First Run Output

00000000010011000001010100101110011011111111011111
00000000000101100010010001011111110110110011111111
00001100100000001000100100011101111110011111011111
00010000000000001011000111001101111100111111101111
00000000010000110110010010010010011110111111111111
000000001110001011010100111100000010010111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #14:

score: 100
Accepted
time: 15ms
memory: 9104kb

First Run Input

prepare
100
KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG
RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP
VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY
AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI
MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM
CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...

First Run Output

00100000000001001100001100101010011111011111111111
00000000001000011001110001110010111101101101111111
00000000000000001110100000111111111101011011111111
00000001000011010000101111111001000101010111111111
00000000000100000101001110100110111111101110111111
000010000001010100100110100000111000111111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #15:

score: 100
Accepted
time: 12ms
memory: 9104kb

First Run Input

prepare
100
HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI
FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH
JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK
TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO
WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK
VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...

First Run Output

00001000000010000001110110110100111111011111010111
00000010000000001000011010011111111110101110111111
00000010001000001000100010111101100111111111011111
00000000000001000111110000001101011111111011111111
00000010000000011100100011100111100100111111111111
000010000000000101100011011111011110110001011...

Second Run Input

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

Second Run Output

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

result:

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

Test #16:

score: 100
Accepted
time: 10ms
memory: 9096kb

First Run Input

prepare
100
SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA
XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW
OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW
GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS
URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL
ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...

First Run Output

00000000011010000001000010100111111011101111111111
00000000000100000011001010101111101011011111111111
00000001000101001000110001001100100111111111111111
00000000000000100010101111010101111101101111011111
00000000000000010111001011010100111111011101111111
000000100000101100101100100110001000111111111...

Second Run Input

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

Second Run Output

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

result:

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

Test #17:

score: 100
Accepted
time: 15ms
memory: 9092kb

First Run Input

prepare
100
NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC
HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT
ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV
GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY
PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW
GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...

First Run Output

01000000001000000001101011011010111011011111101111
00000000010000010101100100011111101011111100111111
00010000000001100011010110100111111001001111101111
00000001010010000000011001010110101110111111111111
00000100000001000000111000111110101011011111111111
000000011100000000010101011100000111111101111...

Second Run Input

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

Second Run Output

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

result:

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