QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#569985#6341. The Last Battlesonghongyi5 37ms5756kbC++17847b2024-09-17 13:04:522024-09-17 13:04:56

詳細信息

Test #1:

score: 100
Accepted
time: 36ms
memory: 4440kb

Manager to Anna

20000
1 7 1 A
2 3 1 A
0 1 1 A
1 1 1 A
7 4 1 A
2 3 1 A
0 3 1 B
0 7 1 A
4 2 1 B
5 4 1 A
6 0 1 B
7 3 1 A
0 7 1 A
2 3 1 A
1 6 1 A
5 2 1 B
2 7 1 B
6 3 1 A
3 3 1 A
1 7 1 A
2 3 1 A
1 2 1 A
5 3 1 A
3 5 1 A
4 3 1 A
2 3 1 A
4 6 1 B
7 3 1 B
2 3 1 A
4 4 1 A
7 3 1 A
4 5 1 B
0 7 1 A
0 3 1 B
2 0 1 B
4 1 1 A
6 0 1 ...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
1 0000000110010100000000000000000000000001000000000000000100000000
1 0001000000000000000011000001000000010000000100000000000000010000
1 1101011101000000000000000100000000000000010000000100000001000000
1 0100000000000001000000000000000000000000010000000000000000000000
1 000010000000100000000000...

Bruno to Manager

A
A
A
A
A
A
B
A
B
A
B
A
A
A
A
B
B
A
A
A
A
A
A
A
A
A
B
B
A
A
A
B
A
B
B
A
B
A
B
B
A
A
B
A
A
A
A
B
A
B
A
A
B
B
A
A
A
A
A
A
A
B
A
B
A
B
B
A
A
A
B
B
B
B
B
A
B
A
B
A
A
B
A
A
A
B
B
B
A
A
B
A
B
A
A
B
B
A
A
B
A
A
B
A
A
A
A
A
A
A
B
B
B
A
B
A
A
A
A
A
A
A
A
B
A
A
B
A
A
B
A
A
B
A
A
A
A
B
A
A
B
A
A
A
A
B
A
A
A
A
...

result:

points 1.0 Accepted: 43

Test #2:

score: 5
Acceptable Answer
time: 36ms
memory: 3884kb

Manager to Anna

20000
3 6 2 AA
6 6 2 BB
7 6 2 AA
2 7 2 BB
2 7 2 BB
6 4 2 BB
7 0 2 BB
1 4 2 BB
1 6 2 BB
5 2 2 BB
0 5 2 BB
2 7 2 BB
1 3 2 BB
7 2 2 BB
5 2 2 AA
5 1 2 AB
0 0 2 BB
6 5 2 AB
3 2 2 AA
6 1 2 BB
2 7 2 BB
4 6 2 AB
2 0 2 BB
2 1 2 BB
1 6 2 AA
7 1 2 BA
5 6 2 BA
2 6 2 AB
2 7 2 BB
5 2 2 BA
7 6 2 AA
0 0 2 BB
1 0 2 ...

Anna to Manager

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
2 0000001000000010000000000101000000000010000000000000001000000000
2 1111111111111101111111011111110111111101111111011100111011111111
2 0000001000000010000000000000001000000000000000100000001011010111
2 1111111111111110000000101111111011111110111111111111111011111110
2 111111111111111101001110...

Bruno to Manager

A
B
A
B
B
B
B
B
B
B
B
B
B
B
A
A
B
A
A
B
B
A
B
B
A
B
B
A
B
B
A
B
B
B
A
B
A
A
B
B
A
A
B
A
A
A
B
B
A
B
A
B
B
B
B
B
A
B
B
A
B
B
B
B
B
A
B
A
B
B
B
B
B
A
B
B
A
B
B
B
B
B
B
B
B
A
B
B
A
B
A
B
B
A
B
B
B
A
B
B
B
A
A
B
B
A
B
A
B
A
B
B
B
A
B
B
B
B
B
B
A
A
A
B
B
B
B
B
B
A
A
B
B
B
B
A
B
A
A
B
B
B
B
B
A
B
A
B
B
A
...

result:

points 0.050 Accepted: 1

Test #3:

score: 8
Acceptable Answer
time: 34ms
memory: 3884kb

Manager to Anna

20000
4 5 3 AAA
6 5 3 AAA
6 2 3 BAA
4 7 3 ABA
5 6 3 AAB
4 0 3 ABB
5 7 3 BAB
7 0 3 BBB
5 7 3 ABA
4 5 3 AAA
4 5 3 AAA
0 1 3 AAB
4 5 3 AAA
7 2 3 AAA
4 5 3 AAA
1 2 3 AAA
4 4 3 ABA
2 4 3 AAA
2 2 3 BBB
1 5 3 ABB
0 7 3 AAA
1 6 3 ABB
4 4 3 AAA
3 0 3 AAA
6 7 3 BBB
1 2 3 BAA
7 4 3 BBB
5 5 3 BBA
1 7 3 BAA
0 6 ...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
3 0000010000000100000000000000000010100001000000000000010000000000
3 0000010000000000000000000000000000000000000000001100111000000100
3 1111111111111111110111111111111111011111111111111110101111111111
3 0000000100000000000000000000000000001000000000010000000000000000
3 000000100000001000000000...

Bruno to Manager

A
A
B
A
A
A
B
B
A
A
A
A
A
A
A
A
A
A
B
A
A
A
A
A
B
B
B
B
B
B
A
B
A
A
A
B
A
A
B
A
A
B
A
A
B
A
A
B
A
A
A
A
A
B
B
A
A
A
A
A
B
B
B
B
A
B
A
A
B
B
B
A
A
A
A
B
A
A
A
B
A
A
A
A
A
B
B
A
A
B
A
A
B
B
B
B
A
B
A
B
B
A
B
A
A
A
A
B
A
B
A
A
A
B
A
B
A
B
A
A
A
B
A
B
B
A
B
B
B
B
A
A
B
B
A
A
A
B
B
A
B
B
A
A
B
A
A
B
A
A
...

result:

points 0.080 Accepted: 2

Test #4:

score: 10
Acceptable Answer
time: 36ms
memory: 3988kb

Manager to Anna

20000
7 3 4 BBAB
2 5 4 ABAB
3 6 4 ABAA
3 4 4 AABA
4 5 4 AABA
5 7 4 BAAA
6 3 4 BAAA
2 3 4 AABA
5 3 4 AAAA
5 2 4 AABA
3 4 4 AABA
3 3 4 AABA
3 4 4 AABA
4 3 4 BAAB
5 0 4 BBBB
5 2 4 AAAA
4 1 4 AAAA
3 4 4 AABA
4 1 4 BBBB
7 3 4 BBBB
3 4 4 AABA
4 2 4 AAAA
3 0 4 AABA
3 4 4 AABA
3 3 4 AABA
5 6 4 AABB
0 7 4 AA...

Anna to Manager

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
4 1111111111111111111011111110111111111111111011111111111100001010
4 0000010000000000000011000000010000000100000001000000000000000100
4 0000001000000010000000001011110100000000000000100000001000000010
4 0000100000000000000000000000010000000000000010000000000000000000
4 000001000000010000000000...

Bruno to Manager

B
A
A
A
A
B
B
A
A
A
A
A
A
B
B
A
A
A
B
B
A
A
A
A
A
A
A
A
B
A
B
A
A
A
A
B
A
A
A
A
B
A
B
B
B
A
A
B
A
A
B
A
B
A
B
A
A
B
B
A
A
A
B
A
A
B
B
A
A
B
A
B
A
A
A
B
B
A
A
A
A
A
B
A
B
B
A
A
A
B
B
B
A
B
B
A
A
B
A
B
B
B
A
A
A
B
B
A
B
A
A
A
B
B
B
A
A
A
A
A
B
A
A
A
B
A
A
A
B
A
B
A
A
B
A
B
A
A
A
B
B
A
A
A
A
A
B
A
B
B
...

result:

points 0.10 Accepted: 3

Test #5:

score: 11
Acceptable Answer
time: 36ms
memory: 4428kb

Manager to Anna

20000
3 6 5 BBBBB
5 0 5 BBBAB
2 7 5 BAAAA
7 2 5 BBBBB
2 4 5 BAAAB
3 0 5 BBBBB
3 2 5 BBBBB
1 4 5 BBABB
3 1 5 BAABA
6 2 5 AAAAA
3 1 5 AAAAA
6 5 5 AAAAB
7 1 5 BAABA
1 6 5 BBBBB
6 2 5 ABABB
2 3 5 BBBAA
3 1 5 AAAAA
3 2 5 BAABA
7 7 5 AABAB
2 5 5 AAAAB
3 0 5 AAAAA
3 3 5 BAAAB
6 5 5 BBABB
4 5 5 BBABB
6 0 5 ...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
5 1111111111111111111111010101000011111111111111011111111111111101
5 1111111101111111011111110111111101111111011001110111111111111111
5 1111111111111111010111101111111111111110111111111111111111111111
5 1111111111011111110111111101111111011111110111111101111101000100
5 111111111111111101001110...

Bruno to Manager

B
B
B
B
B
B
B
B
B
A
A
A
B
B
A
B
A
B
A
A
A
B
B
B
B
A
B
B
B
B
A
A
A
A
A
B
B
B
A
B
B
A
B
B
B
B
B
A
A
B
A
B
A
B
B
A
B
A
A
A
B
B
A
B
A
B
A
B
B
A
A
B
A
B
A
A
B
B
A
A
A
A
B
B
B
B
A
B
B
B
A
B
B
A
A
A
B
B
A
A
A
B
A
B
A
B
B
A
B
B
A
A
B
B
B
A
B
B
B
B
B
B
B
A
A
A
A
B
B
A
A
A
B
A
B
B
B
B
A
A
B
B
B
B
A
A
B
B
B
A
...

result:

points 0.110 Accepted: 4

Test #6:

score: 13
Acceptable Answer
time: 36ms
memory: 3884kb

Manager to Anna

20000
6 7 6 AAAAAB
2 7 6 ABBBBB
5 2 6 AABAAA
5 3 6 BABBBA
2 0 6 AABAAA
6 0 6 AAABBA
1 4 6 BAAAAA
3 0 6 BBBBBA
6 7 6 AABAAA
6 4 6 ABBAAA
6 2 6 ABAABA
3 3 6 BBBBBB
3 0 6 AAAABA
2 5 6 BBBBBB
1 4 6 AAAAAB
7 7 6 AABAAA
1 3 6 AAAAAA
5 5 6 ABBBBB
1 3 6 AABAAA
3 3 6 BBBBBA
6 0 6 AABBAB
5 2 6 AABAAA
3 0 6 AA...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
6 0000000100000001000000000000000000000001000000001000010100000000
6 0000000100000000000011000000000100000001000000010000000000000001
6 0010000000100000000000000010000000000000111101010010000000100000
6 1111111111101111111011111110111111101111000100011110111111101111
6 100000001000000001001110...

Bruno to Manager

A
A
A
B
A
A
B
B
A
A
A
B
A
B
A
A
A
A
A
B
A
A
A
A
A
A
A
B
A
B
A
A
B
B
A
A
A
A
A
B
B
B
A
A
A
B
B
B
A
A
A
A
B
A
A
A
A
B
B
A
A
A
A
A
A
B
B
A
A
A
A
A
A
B
B
A
A
A
A
A
A
A
B
A
A
B
A
B
B
B
B
B
A
A
B
A
A
A
B
B
A
A
A
B
B
B
A
A
A
A
B
B
B
A
B
A
A
B
B
A
A
A
A
A
B
A
A
A
A
B
B
B
B
B
A
A
A
A
B
A
A
A
A
B
A
B
A
B
A
B
...

result:

points 0.130 Accepted: 5

Test #7:

score: 14
Acceptable Answer
time: 36ms
memory: 3956kb

Manager to Anna

20000
2 0 7 BBAABAB
1 0 7 AAAAAAA
7 6 7 ABBABBB
5 4 7 BBAABAB
7 5 7 BBAAAAA
1 6 7 BBAABAB
0 3 7 BBBABBB
6 1 7 BBBBBBB
1 6 7 BBAABAB
7 7 7 BABAAAB
1 4 7 BBBBABA
0 6 7 BBAABAB
1 5 7 BBAABBB
4 3 7 BBBABBB
3 5 7 AAAAAAB
0 2 7 BABAAAB
0 0 7 BBAABAB
0 0 7 BBAABAB
1 6 7 BBAABAB
4 7 7 ABBBAAB
1 6 7 BBAABAB
...

Anna to Manager

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
7 1111111111111111001010000111111111111111011111111111111101111111
7 1000000000000110000000001000000010000000100000000000000010000000
7 0000001000000010000000000000001000000000000000100000001011010111
7 1111111111110111111101111111011111110111000100011111011111110111
7 111111111111111111111011...

Bruno to Manager

B
A
A
B
B
B
B
B
B
B
B
B
B
B
A
B
B
B
B
A
B
B
B
B
B
B
B
B
B
B
A
A
B
A
B
B
A
B
B
A
B
A
A
B
B
B
A
B
B
B
A
B
B
A
B
B
B
B
B
B
A
B
B
A
B
B
B
B
B
B
A
A
B
B
A
B
B
B
B
A
B
A
B
B
B
B
A
B
B
A
A
B
A
B
B
B
B
A
B
A
A
B
B
B
B
B
B
A
B
B
B
A
B
A
B
B
B
A
A
A
B
B
A
B
B
B
B
B
B
B
B
B
A
A
B
B
A
B
B
B
A
B
B
B
A
A
B
B
A
A
...

result:

points 0.140 Accepted: 6

Test #8:

score: 16
Acceptable Answer
time: 37ms
memory: 4128kb

Manager to Anna

20000
4 1 8 AABABBAA
7 1 8 ABABBAAB
1 0 8 BABAABBA
3 2 8 AABABBAA
3 1 8 AAABAAAA
3 4 8 AAAAAAAA
0 5 8 BBBBBBBA
2 5 8 AABBAAAA
1 5 8 BBBBABBB
2 5 8 AABABBAA
1 2 8 BBBBBBBB
1 2 8 BBBBBBBB
3 1 8 BAABBABB
1 3 8 BABABAAA
2 3 8 AABABBAA
4 0 8 AABABBAA
7 5 8 AABABBBB
4 5 8 AAAAAAAA
2 0 8 BAAABBAA
4 7 8 AAB...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
8 0100000001000000000000000000000010100001000000000100000000000000
8 0100000000000000000000000000000000000000000000000100000010011101
8 1111111110101111011111111111111101111111111111111111111111111111
8 0010000000000000000000000000010000000000001000000000000000000000
8 010000000100000000000000...

Bruno to Manager

A
A
B
A
A
A
B
A
B
A
B
B
B
B
A
A
A
A
B
A
A
A
A
A
A
B
A
B
A
A
A
B
A
A
A
B
B
A
B
B
A
B
A
A
A
A
B
A
A
B
A
B
A
A
A
B
A
B
A
A
A
A
A
A
A
A
B
B
B
B
A
B
A
B
A
A
B
B
A
A
B
A
B
A
A
B
B
B
A
A
A
A
B
B
A
B
A
B
B
B
A
A
A
A
A
B
B
B
A
A
A
A
B
B
B
A
B
B
A
A
B
A
A
A
A
B
A
B
A
A
B
A
B
A
B
B
A
B
A
B
A
A
A
A
A
B
A
A
A
A
...

result:

points 0.160 Accepted: 7

Test #9:

score: 18
Acceptable Answer
time: 37ms
memory: 3884kb

Manager to Anna

20000
5 1 9 ABBAABBBB
1 6 9 ABBAABBBB
2 6 9 AAAAAAAAA
3 5 9 BBBBBBBBB
6 0 9 AAABBAAAB
3 3 9 BBBBBBBBA
6 2 9 BBBBBAABB
7 5 9 AAAAAAAAA
6 4 9 BABBBBBAB
4 7 9 BBBBBBBBB
3 1 9 AAABAAAAA
7 1 9 ABBAABBBB
7 1 9 BABBBAABB
7 3 9 AAAAABBAA
1 3 9 AAAAAAAAA
6 6 9 AABABBAAB
4 3 9 AABBAAAAA
4 3 9 AAAAAAAAA
5 0 9 ...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
9 0100000001000000000000000000000001000000010000100100000000000000
9 0000001000000110000000000000001000000010000000100000000000000010
9 0000001000000010010111100000001000000000000000100000001000000010
9 1111111111111011111110110000010011111011111111111111101111111011
9 100000001000000000000000...

Bruno to Manager

A
A
A
B
A
B
B
A
B
B
A
A
B
A
A
A
A
A
A
A
A
A
B
A
A
A
B
A
B
A
A
A
B
B
B
B
B
A
A
A
B
B
A
A
A
B
B
A
A
B
A
A
A
A
A
A
B
A
A
A
A
A
A
B
A
B
A
A
B
A
B
B
A
A
A
B
B
B
A
B
A
A
B
A
A
A
A
B
A
A
B
A
A
A
A
A
B
A
A
A
A
A
A
B
A
A
A
A
A
A
A
B
A
A
A
B
A
B
B
A
A
A
A
A
A
A
B
A
B
A
B
A
A
B
A
B
A
A
A
A
A
A
A
A
B
A
A
B
A
B
...

result:

points 0.180 Accepted: 8

Test #10:

score: 19
Acceptable Answer
time: 32ms
memory: 4176kb

Manager to Anna

20000
3 0 10 BBBBBBAABB
0 4 10 BBBBBABBBB
1 0 10 BBBABABBAA
1 6 10 BBBAABBBBA
0 4 10 AAABAAAAAB
6 0 10 ABBBBBABAB
7 0 10 BBBBBBBBBB
0 1 10 ABBBBBBBAB
0 1 10 BABBBABABA
6 4 10 BABABABABB
2 6 10 BBBABABBAA
6 1 10 BBABABAAAA
6 4 10 BBBABABBAA
4 0 10 BBBBBBBBBB
3 7 10 BBBBBBBBBB
6 4 10 BBBABABBAA
0 6 10...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
10 1111111111111111011111110101000011111111011111111111111101111111
10 1000001111110111111101111111111111111111111111111111011111111111
10 1111111110101111011111111111111101111111111111111111111111111111
10 1111111100000001111111011111110111111101111111111111110111111101
10 1101001100001000000...

Bruno to Manager

B
B
B
B
A
A
B
A
B
B
B
B
B
B
B
B
B
B
B
B
A
A
A
A
B
B
B
B
B
A
A
B
B
B
A
A
A
A
B
B
A
B
A
B
A
A
B
B
B
B
B
A
B
A
A
B
B
A
B
A
A
A
A
B
B
B
A
B
B
A
B
B
B
B
B
A
B
B
A
A
B
B
B
A
B
B
A
A
A
B
B
B
A
B
A
B
A
B
B
A
A
B
A
A
B
A
A
B
B
B
B
A
B
A
B
B
A
B
A
A
B
A
A
B
B
A
A
A
B
B
B
A
B
A
B
B
B
B
B
B
B
A
B
A
B
A
B
B
A
B
...

result:

points 0.190 Accepted: 9

Test #11:

score: 21
Acceptable Answer
time: 36ms
memory: 3900kb

Manager to Anna

20000
7 0 11 BAABAAAAABB
2 1 11 BABBABAAAAA
7 2 11 BABBABAABBA
5 3 11 BABBABAABBA
5 7 11 BABBABAABBA
2 4 11 ABABAAAAABB
1 2 11 BBBBBABBBBB
5 6 11 ABABAAABABB
0 7 11 AAAAAAAAAAA
3 3 11 BABBABAABBA
5 2 11 ABABAAABABB
5 2 11 BABBABAABBA
7 4 11 AABBABBBABB
5 1 11 AAAAABAAAAA
5 3 11 BABBABAABBA
6 1 11 AB...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
11 1111111111111111011111110111111111111111011111111111111100001010
11 1111111110111111000011001111111111111111111111111011111111111111
11 1111111111111111110111111111111111011111111111111111111111010111
11 1111111111101111111011111110111111101111000100011110111111101111
11 1111111111111111111...

Bruno to Manager

B
B
B
B
B
A
B
A
A
B
A
B
A
A
B
A
A
B
A
A
A
A
B
B
B
B
B
A
A
B
A
A
A
A
A
A
B
B
B
A
B
B
B
A
B
A
A
B
A
A
B
B
B
A
B
A
A
A
B
B
B
A
B
B
B
B
B
B
B
A
B
B
B
B
A
B
A
B
B
B
B
B
B
B
B
B
A
B
B
B
A
A
B
B
A
B
B
A
A
B
B
A
A
A
B
A
B
A
B
B
B
A
A
B
B
A
B
A
B
B
B
B
B
B
B
A
A
B
A
A
A
A
B
B
B
B
A
A
B
B
A
A
A
A
B
B
B
B
A
A
...

result:

points 0.210 Accepted: 10

Test #12:

score: 22
Acceptable Answer
time: 33ms
memory: 4068kb

Manager to Anna

20000
0 3 12 AAAAABABAAAA
3 7 12 AAABAAABABBA
1 5 12 BBBBBBBABBBB
5 7 12 BBAAABBBAABB
3 7 12 AAABAAABABBA
2 0 12 BBAAABBABBAB
5 1 12 AAAAAAAAAABA
6 5 12 AAABAAABABBA
2 4 12 AAAAABAAAAAB
3 7 12 AAABAAABABBA
4 3 12 BBBBBBBBBAAB
6 6 12 AAABAAABABBA
1 4 12 BABBBABAAABA
2 1 12 AAABAAABABBA
3 7 12 AAABAAA...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
12 1100101000000000000000000000000000010000000000000001000000000000
12 0000000100000000000000000001100100000001000000010000000000000001
12 1111111110101111111110111111111111111011111111111111111111111111
12 1111111111111110111111101111111011111110000100011111111011111110
12 0000000100000001000...

Bruno to Manager

A
A
B
B
A
B
A
A
A
A
B
A
B
A
A
A
A
A
A
A
A
A
B
B
A
A
B
A
B
A
B
B
A
B
B
B
B
A
B
A
A
A
A
B
B
A
A
A
B
A
B
A
A
A
B
A
B
A
A
B
A
B
B
A
B
B
A
A
A
B
B
A
B
B
A
B
B
A
B
A
B
A
A
B
A
A
A
A
A
B
B
A
B
B
B
A
B
A
A
A
A
B
B
A
B
A
A
B
A
A
B
B
A
B
A
B
A
A
A
B
A
A
A
B
B
A
A
A
B
A
A
A
A
A
A
A
A
A
B
A
B
A
A
B
A
A
B
A
A
B
...

result:

points 0.220 Accepted: 11

Test #13:

score: 24
Acceptable Answer
time: 36ms
memory: 4032kb

Manager to Anna

20000
6 1 13 BBBBBBBBBBBBB
4 0 13 AAABBBBABBBBB
4 5 13 AAABBBBABBBBB
4 5 13 AAABBBBABBBBB
1 4 13 AAABAAABAAABB
6 1 13 AAAAAAAAABAAA
1 0 13 BBBBBBBBBBBBB
5 4 13 AABBABABAAABA
0 7 13 BBBBBABBBBABB
4 1 13 BBBBABBAABBAB
7 2 13 AAAABAAAAABAA
3 7 13 AAABBBBABBBBB
4 4 13 AAAAAAAAAAAAA
5 6 13 AAAAAAAAAAAAA
...

Anna to Manager

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
13 1111111111111111101111111011111111111111101111111000010110111111
13 1000000000000000000000000000000000110011100000000000000010000000
13 0000010000000100000000000000010001111010000001000000010000000100
13 0000010000000000000000000000000000001000000001000000000000000000
13 0000100010100111000...

Bruno to Manager

B
A
A
A
A
A
B
A
B
B
A
A
A
A
A
B
B
B
A
B
A
A
A
A
A
B
B
B
A
B
A
A
A
B
A
A
B
B
B
B
A
A
B
A
A
A
A
A
A
A
A
A
A
B
B
A
B
A
A
A
A
A
A
A
A
B
A
B
B
A
B
A
A
A
B
A
A
A
A
B
A
B
A
A
A
B
B
A
A
A
A
B
B
B
A
A
A
B
A
A
A
B
B
B
A
A
B
B
A
A
B
A
B
A
B
B
B
A
A
B
A
A
A
A
A
A
A
A
A
A
A
B
A
B
A
A
A
A
A
A
A
A
A
A
B
A
B
A
A
B
...

result:

points 0.240 Accepted: 12

Test #14:

score: 26
Acceptable Answer
time: 33ms
memory: 3972kb

Manager to Anna

20000
5 0 14 AAAAAAAAAAAAAA
5 6 14 AAAAAAAAAAAAAA
4 6 14 ABAABBABABABAA
3 5 14 BBBBBAAAABBABA
3 5 14 BBBBBAAAABBABA
0 5 14 BBBBBBBBBBABAB
1 2 14 BBBABBBBBBBABB
2 5 14 BBBBBBBBBBBBBB
1 5 14 BABAABBBBBBBAB
1 6 14 ABBABBBABBBBBA
1 7 14 AAAAAAAABAAAAA
4 1 14 BBBBBBBBBBBBBB
3 6 14 BBBBBAAAABBABA
2 3 14 B...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
14 1000000010000000000000000000000010000000010000101000000000000000
14 0000001000000000000000000000000000000000011001110000000000000010
14 0000001000000010000000000000001001111010000000100000001000000010
14 1111111111111011111110110000010011111011111111111111101111111011
14 1111111111111111111...

Bruno to Manager

A
A
A
B
B
B
B
B
B
A
A
B
B
B
A
B
A
A
A
B
B
B
B
B
B
A
B
B
A
A
B
B
A
B
B
A
B
A
A
B
A
B
A
B
B
B
B
B
B
A
B
B
B
B
B
B
A
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
A
B
B
B
A
B
A
B
A
A
A
B
A
B
B
A
A
A
A
A
B
A
B
B
A
B
A
B
B
B
A
B
B
A
B
B
A
B
B
B
B
B
A
A
B
B
A
B
A
B
A
B
B
B
A
B
B
B
B
A
B
B
A
A
A
A
B
B
B
B
B
B
A
B
B
B
B
B
...

result:

points 0.260 Accepted: 13

Test #15:

score: 27
Acceptable Answer
time: 32ms
memory: 3896kb

Manager to Anna

20000
7 0 15 AAAAAAAAAAAAABA
6 4 15 AABAAAABABABBAA
4 1 15 BBABBABABBBABBA
4 4 15 AAAABBABBAABAAB
5 1 15 AAAAAAAABABAAAA
4 4 15 AAAAAAAAAAAAAAA
0 4 15 BBBBBBBBBBBBBAB
0 2 15 BBBABBBBBBBBBAB
0 6 15 AAAAABAAAAABBAB
0 5 15 BAABAABABBABBBB
3 7 15 BAAABBABABBBABB
3 1 15 ABBAABBABBBAABB
5 6 15 BBBBBBBBBBA...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
15 1000000010000000000000000000000010000000000000001000000000001010
15 0000100000000000000000000000000000000000000000001100111000001000
15 1111111111111111101111111111111101111010111111111111111111111111
15 0000100000000000000000000000000000001000000010000000000000000000
15 0100000001000000000...

Bruno to Manager

A
A
B
A
A
A
B
B
A
B
B
A
B
B
B
B
A
B
B
A
B
B
B
B
B
A
B
B
A
B
A
B
A
B
A
B
B
B
A
A
B
B
A
B
B
B
B
B
A
A
B
B
A
A
B
A
A
B
B
A
A
B
B
B
A
B
A
B
B
A
B
B
A
A
B
A
B
B
A
B
A
A
B
B
B
A
A
A
B
B
A
A
B
B
B
A
B
B
A
B
B
A
B
B
B
B
B
A
A
A
B
B
B
B
B
B
B
B
B
B
B
A
A
B
A
B
B
B
A
B
B
B
B
B
B
A
B
B
B
A
A
A
A
A
B
B
B
A
B
B
...

result:

points 0.270 Accepted: 14

Test #16:

score: 29
Acceptable Answer
time: 36ms
memory: 5216kb

Manager to Anna

20000
6 7 16 BBBBBABBBABABBBB
4 3 16 ABAAAAAAAAAABAAB
2 6 16 BABBABBBBBBBABBA
2 4 16 BAABAABAAABABBBA
1 7 16 ABABBAAAABABBBBB
7 3 16 BBABABABBAABABBA
3 7 16 ABBBBBBBBBBBBBBA
6 1 16 AABAAAAABABAAABA
1 0 16 BBABBBBBABBBABBA
5 1 16 BBABABABBAABABBA
1 4 16 BBBBBBBBBABABABB
4 5 16 BBABABABBAABABBA
6 5 16...

Anna to Manager

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
16 1111111111111111111111101111111011111111111111101000010111111110
16 0001000000000000000000000000000000110011000100000000000000010000
16 1111111111111111010111101111111111111101111111111111111111111111
16 1111111111110111000000101111011111110111111111111111011111110111
16 0000000110100111000...

Bruno to Manager

B
A
B
B
A
B
A
A
B
B
B
B
A
B
A
B
B
A
B
B
B
B
B
B
B
B
B
B
B
A
B
B
A
A
A
B
A
A
B
A
B
A
A
B
A
A
B
A
A
B
B
B
B
A
A
A
A
B
B
B
B
B
A
B
B
B
A
A
B
A
B
B
B
B
A
B
B
B
A
B
B
B
A
B
A
B
B
B
B
B
B
B
B
B
B
B
A
B
B
B
B
A
A
A
A
A
B
A
A
B
B
B
A
A
B
B
B
B
B
A
B
B
B
A
A
A
B
B
A
B
A
B
A
B
A
B
B
B
B
B
B
B
B
B
A
A
B
A
B
A
...

result:

points 0.290 Accepted: 15

Test #17:

score: 30
Acceptable Answer
time: 36ms
memory: 5228kb

Manager to Anna

20000
7 5 17 AAABBABBBBBABAAAA
5 2 17 BBBBBBBBBBBBBBBBB
6 2 17 AAABBABBBBBABAAAA
4 6 17 BBBBBABBBBBBABBBA
4 3 17 BBABBBBBBBBBBBABB
4 7 17 AAABBABBBBBABAAAA
2 4 17 AAAAABBAAAABBAAAB
0 6 17 BBBBBBBBBBBBBBBBB
2 6 17 AAABBABBBBBABAAAA
1 4 17 ABBBAABABBABBBBAB
4 3 17 BBBBBBBBBBBBBBBBB
5 7 17 AAAAAAAABAAA...

Anna to Manager

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
17 0000010000000100000000000000000000000100000000000000010000001010
17 1111111111011111110111111101111111011111011001111101111111111111
17 0010000000100000000000000010000000000000001000001110101100100000
17 1111111111111101111111011111110100001000111111111111110111111101
17 1111111111111111111...

Bruno to Manager

A
B
A
B
B
A
A
B
A
A
B
A
A
B
B
A
B
A
B
A
A
A
B
A
A
A
B
A
B
A
B
B
B
A
B
B
A
A
A
A
B
A
B
A
B
A
A
B
A
A
A
A
A
B
A
A
A
B
B
A
A
A
A
B
A
B
A
A
A
A
A
A
A
B
A
A
B
A
A
A
A
A
B
A
A
B
B
A
A
A
A
A
A
A
B
B
B
A
A
A
B
B
A
A
A
A
A
B
A
B
B
A
B
A
B
B
B
A
A
B
B
B
B
A
A
B
A
A
A
A
A
A
A
A
A
A
A
A
B
B
B
B
B
A
B
A
A
A
A
A
...

result:

points 0.30 Accepted: 16

Test #18:

score: 32
Acceptable Answer
time: 36ms
memory: 4940kb

Manager to Anna

20000
1 6 18 BBABBBBBBABBBBBBBB
0 1 18 BBBBBBBBBBBBBBBBBB
5 1 18 BBBBBBBBBBBBBBBBBB
4 7 18 ABBAABBAAAABBBAABA
5 3 18 BBABBBBBBBBBBBBBBB
2 0 18 ABBBBBAABABBBAAABA
6 2 18 BBBBBABBBBBBBBBBBA
2 4 18 ABBAABBAAAABBBAABA
2 0 18 AAAAAAAAAAAAAAAAAA
5 4 18 ABBBBBBABBBBBBAAAB
4 6 18 AABBAABAAABAAAAABA
1 3 18 A...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
18 1111111110010100111111011111110111111111111111011111111111111101
18 1000001110111111101111111111111111111111111111111011111111111111
18 1111111111111111101111111111111110111111111101011111111111111111
18 0000000100000000000000000000000000001000000000010000000000000000
18 1111111111111111111...

Bruno to Manager

B
B
B
A
B
A
B
A
A
A
A
A
A
B
A
B
B
A
A
B
A
A
A
B
B
A
B
B
B
A
A
B
A
B
B
A
B
A
B
A
A
B
A
A
B
B
A
B
B
A
A
A
A
B
A
A
A
A
A
B
A
A
A
A
B
A
A
B
A
B
B
A
A
A
A
A
B
B
A
A
A
A
A
A
B
A
A
B
A
A
B
B
B
B
A
A
B
A
A
A
A
B
A
A
A
B
A
A
B
B
B
A
A
B
A
A
B
B
A
A
A
A
A
A
A
A
A
A
A
B
B
A
B
B
A
A
A
B
A
B
A
A
B
A
B
A
B
B
B
B
...

result:

points 0.320 Accepted: 17

Test #19:

score: 34
Acceptable Answer
time: 37ms
memory: 5228kb

Manager to Anna

20000
0 6 19 BABABBBBBBBBBBBBBBA
5 2 19 BBABBABBAAAABBBAABB
5 2 19 ABBAABABAABAABBBABA
5 2 19 BBABBABBAAAABBBAABB
0 4 19 AAAAAAAAABAAAAABAAA
7 0 19 BBAABBAAAAAAAABABBB
6 5 19 AAAABAAABAAAAAAAAAA
7 0 19 BABBBABABBBABBABBBB
2 3 19 BBBBAABABBBBBBBABAB
6 2 19 BBAAAABBABABABAABBA
0 5 19 ABAABABBBBBABABAB...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
19 1100101011111101111111011111110111111111111111011111111111111101
19 1111111111011111110111111101111111011111011001111101111111111111
19 0010000000100000000000000010000000000000111101010010000000100000
19 1111111111011111110111111101111111011111000100011101111111011111
19 1101001100001000000...

Bruno to Manager

B
B
A
B
A
B
A
B
B
B
A
A
B
A
A
B
B
A
B
A
A
B
B
B
B
B
B
B
B
B
B
B
B
A
B
B
A
B
B
B
B
B
A
A
B
B
B
B
B
A
B
B
B
A
A
B
B
B
A
B
A
A
A
A
B
B
B
A
A
A
B
B
B
B
B
B
B
B
B
A
B
A
B
B
B
A
B
B
A
A
B
B
B
B
B
B
A
B
B
A
A
B
B
B
B
B
B
B
A
B
B
A
B
A
B
B
B
B
A
B
B
A
B
B
A
B
A
B
B
B
B
B
B
B
B
B
B
B
B
B
A
A
B
B
A
B
B
B
B
B
...

result:

points 0.340 Accepted: 18

Test #20:

score: 35
Acceptable Answer
time: 36ms
memory: 5104kb

Manager to Anna

20000
0 2 20 BBBBBBABABBAABAAAAAA
2 7 20 ABBABBBBBABABAABABAA
7 7 20 BBAAABBBBBBBBBBBBBBB
0 2 20 BBBBBBBBBBBBBBBBBBBB
6 2 20 BBBBBBABABBAABAAAAAA
7 0 20 AAAAAAAAAAABAAAAAAAA
7 0 20 BBBBBBABABBAABAAAAAA
3 2 20 AAAABBBBBAAAAAAABBBB
7 0 20 BBBBBBABABBAABAAAAAA
1 1 20 BBBBBBBBBBAAABBBBBBA
4 2 20 BBBBBBA...

Anna to Manager

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
20 1100101011011111110111111101111111111111110111111111111111011111
20 0000000100000000000011000000000100000001000000010000000000000001
20 1111111111111111111111101111111111111110111111111111111111010111
20 1000000011111111110111111101111111011111111111111101111111011111
20 1111111111111111110...

Bruno to Manager

B
A
B
B
B
A
B
A
B
B
B
A
B
B
A
B
B
A
A
A
B
B
A
B
A
B
B
A
A
A
B
A
A
B
B
A
B
B
A
B
B
B
A
B
B
B
A
B
B
A
B
B
B
B
B
A
B
A
B
B
B
A
B
A
B
A
B
B
A
A
B
A
B
A
B
B
B
B
A
B
A
B
A
B
B
B
B
B
B
B
B
B
A
B
B
B
B
A
A
A
B
B
B
B
B
B
A
A
B
B
B
B
B
B
A
B
B
B
B
B
A
A
A
A
A
B
A
B
A
B
A
A
B
A
A
B
A
A
A
A
B
B
B
B
B
A
A
B
B
A
...

result:

points 0.350 Accepted: 19

Test #21:

score: 37
Acceptable Answer
time: 33ms
memory: 5036kb

Manager to Anna

20000
1 4 21 BAAABBAABABAABBAAAAAA
1 1 21 ABBBAAAABAABBABBBAAAA
7 4 21 ABBBAAAABAABBABBBAAAA
7 2 21 ABBBAAAABAABBABBBAAAA
4 7 21 BBABBBBABBABBBBBBABBB
0 1 21 BAAAAAAAAAAAABAAAAAAB
6 0 21 AAAAAAAAAAAAAAAAAAAAA
4 2 21 BBAAABBABBBAAABBBAAAB
2 0 21 BBBBABAABBBBBBBABBABB
7 2 21 AABABABAABABBBBAABBAB
5 1 ...

Anna to Manager

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
21 1111111110010100111101111111011111111111111101111111111111110111
21 0100000000000110000000000100000001000000010000000000000001000000
21 0000100000001000000000000000100000000000000010000000100011010111
21 0010000000000000000000000000000000000000000000000000000001000100
21 1111111111111111111...

Bruno to Manager

B
A
A
A
B
B
A
B
B
A
B
B
B
B
B
A
A
A
A
A
A
A
A
B
A
A
B
A
A
A
A
A
A
A
B
B
B
A
B
A
A
B
A
A
A
A
B
A
A
A
B
B
A
A
B
B
A
B
B
B
B
A
A
A
A
B
A
B
A
A
B
A
B
A
B
A
A
A
A
B
A
B
B
A
A
A
B
A
B
A
A
A
B
A
A
A
A
A
A
A
B
A
A
B
B
A
A
B
B
B
B
A
B
A
B
A
B
A
B
B
B
A
A
B
A
B
A
B
B
B
A
A
A
A
B
A
A
A
A
A
B
A
A
A
A
A
A
A
B
A
...

result:

points 0.370 Accepted: 20

Test #22:

score: 38
Acceptable Answer
time: 36ms
memory: 5104kb

Manager to Anna

20000
0 3 22 ABAABAAAAAAABAAABBBAAA
5 2 22 BAAAABAAAAAAAAAAABAAAA
0 5 22 BBBBABBBBABBABBBBBAABA
3 4 22 ABABAABAAAAAAAABAAABBA
2 1 22 AAAAABAABABAABAABAAAAA
7 4 22 BBAABBBBAABBABABBBABBB
0 0 22 ABAABAAAAAAABAAABBBAAA
7 7 22 ABAABAAAAAAABAAABBBAAA
6 4 22 AAAAAAAAAAAAAAAAAAAAAA
6 1 22 AAAAAAAABABABBBAB...

Anna to Manager

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
22 1100101000000000000000000000000000010000000000000001000000000000
22 1111111111011111110111111101111111011111011001111101111111111111
22 1101011111111111111110111111111111111011111111111111111111111111
22 0000100000000000000000000000010000000000000010000000000000000000
22 0100000001000000010...

Bruno to Manager

A
B
B
A
A
B
A
A
A
A
A
A
A
B
A
A
A
B
A
A
B
B
A
B
B
B
B
A
B
A
A
A
A
B
A
A
B
A
A
A
A
B
A
B
A
B
A
A
B
A
A
A
B
A
B
B
B
A
A
A
B
A
A
A
A
A
A
A
A
A
A
A
A
A
B
A
B
B
B
B
A
A
A
B
A
A
A
A
B
B
A
B
B
A
B
A
A
A
A
A
B
B
A
A
A
B
A
A
B
A
B
A
A
B
A
B
A
A
A
B
B
A
A
B
B
B
A
A
B
A
A
A
A
A
A
A
A
A
B
A
A
A
B
B
B
B
A
A
A
A
...

result:

points 0.380 Accepted: 21

Test #23:

score: 40
Acceptable Answer
time: 36ms
memory: 5036kb

Manager to Anna

20000
0 4 23 BBAAAABABAABAABAAAABBAA
5 6 23 BBBABAAABBABBBBAAABBBBB
0 4 23 BBBBBBBBBBBBABBBBBBBBBB
0 1 23 AABBAAAAAAAABABAAAAABBB
0 6 23 AAAAAAAAABAAAAABAAAAAAA
4 5 23 BBBBBBBBBBBBABBBBBBBBBB
5 6 23 BBBABAAABBABBBBAAABBBBB
5 5 23 BBBABAAABBABBBBAAABBBBB
3 0 23 AAAAAAAAAAAAAAAAAAAAAAA
5 2 23 AAAAAAAA...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
23 1100101011110111111101111111011111111111111101111111111111110111
23 1111111111111101111111011111110111111101011001111111110111111111
23 1101011111111111111101111111111111110111111111111111111111111111
23 1000000001000000000000000000000000000000010000000000000000000000
23 1101001100000010000...

Bruno to Manager

B
B
B
A
A
B
B
B
A
A
A
B
B
A
B
B
A
B
B
A
B
A
B
B
B
B
A
A
B
B
B
A
B
B
A
A
A
B
A
A
B
B
A
B
A
A
B
B
A
A
A
B
B
B
A
B
B
B
A
B
B
A
B
B
B
B
B
B
B
B
B
B
B
B
A
A
A
A
B
A
A
B
B
A
B
A
B
B
A
A
B
A
A
B
B
B
B
A
B
B
A
B
A
B
B
B
B
A
A
B
A
B
A
A
B
B
B
A
B
B
B
A
B
B
A
B
B
B
B
B
A
A
A
B
B
B
A
B
B
A
B
A
B
A
A
B
A
A
A
B
...

result:

points 0.40 Accepted: 22

Test #24:

score: 42
Acceptable Answer
time: 36ms
memory: 5016kb

Manager to Anna

20000
3 6 24 BAAABBABABABAABAABAABBBA
5 4 24 BAAABBABABABAABAABAABBBA
7 0 24 BAAABBABABABAABAABAABBBA
6 7 24 BBBABBBAABBBBBBBBBBBBAAB
1 5 24 BABAAABAABAAABABABABBBAB
0 4 24 ABAABAAAAAAAABABBAAAAABB
7 5 24 BBAAABABABBABABBBBBBAAAB
4 5 24 BAAAABAABABAABABABABAABA
7 5 24 ABBBBBBBBABBBBABBBBBBBBA
1 4 24...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
24 1111111111111111111111010101000011111111111111011111111111111101
24 1111111111110111111101111111011111110111011001111111011111111111
24 1111111111111111011111111111111101111111111111111111111111010111
24 1111111111111110111111101111111011111110111111100010001011111110
24 1111111110100111111...

Bruno to Manager

B
B
B
B
B
A
B
B
A
B
B
B
A
B
A
B
A
B
A
A
B
B
A
B
B
B
B
B
B
A
B
A
B
B
B
A
B
B
B
A
A
A
A
B
B
A
B
A
B
B
B
A
A
B
A
B
A
A
B
A
B
A
B
A
B
B
A
B
B
A
A
B
A
B
A
A
B
B
A
B
B
A
B
B
B
B
B
B
A
B
A
A
B
B
B
B
B
B
A
B
A
B
A
B
A
A
B
A
A
B
A
B
B
B
A
B
A
B
B
B
B
B
A
A
A
B
B
A
A
B
B
B
B
A
B
B
A
B
B
B
B
B
B
A
A
B
B
B
B
A
...

result:

points 0.420 Accepted: 23

Test #25:

score: 43
Acceptable Answer
time: 36ms
memory: 5104kb

Manager to Anna

20000
2 2 25 BABAAAAAABBAAAAAAABBAAAAB
3 7 25 BABAAAAAABBAAAAAAABBAAAAB
2 2 25 BABAAAAAABBAAAAAAABBAAAAB
4 2 25 AAAABBBABBBAABABAABBBABAA
4 1 25 ABBBBBBBBBBBBBBBBABBBBBBB
7 5 25 AAABAAAAABAAAAAAAAAAAABAA
7 6 25 AAABABABABAAAABBBAAABBAAA
2 7 25 BBBBBBBBBBBBBBBBBBBBBABBB
5 3 25 AAAAAAABAABAAAAAABAAAAB...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
25 1111111111111111001010001101111111111111110111111111111111011111
25 1111111111111110111111100001100111111111111111111111111011111111
25 1111111111111111010111101111111111011111111111111111111111111111
25 0010000000000000000000000000000000001000001000000000000000000000
25 0100000001000000000...

Bruno to Manager

B
B
B
A
A
A
A
B
A
A
B
A
A
A
A
B
B
B
B
B
B
A
A
A
B
A
B
B
B
A
A
B
A
A
A
B
A
B
B
B
B
B
B
B
A
B
B
A
A
B
B
B
B
B
A
B
B
B
B
B
B
B
B
A
B
A
B
B
B
B
B
B
B
B
B
B
A
B
B
A
B
B
B
A
B
B
B
A
A
B
A
A
B
A
A
B
B
B
A
B
B
B
B
A
B
A
B
A
A
A
B
A
B
B
B
A
B
A
B
B
A
B
B
A
B
A
A
B
B
B
B
B
B
B
B
B
A
B
B
B
B
A
B
A
B
B
A
B
B
A
...

result:

points 0.430 Accepted: 24

Test #26:

score: 45
Acceptable Answer
time: 37ms
memory: 4992kb

Manager to Anna

20000
3 5 26 ABAAAAAAAABBABAAAAAABABBBB
2 6 26 BBBAAABBABABABABBBAAAABAAA
0 4 26 ABBAAAABABABAAABABBBBABBBA
0 0 26 ABBAAAABABABAAABABBBBABBBA
6 4 26 ABBAAAABABABAAABABBBBABBBA
3 2 26 BABAABABAAAAAAAABAAABAAAAA
6 4 26 ABBAAAABABABAAABABBBBABBBA
3 6 26 BBAABBAAAAAAAAAABAAAAAAABA
0 1 26 AAAAAAAAABAAAAA...

Anna to Manager

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
26 0000010000000100000000000101000000000100000000000000010000000000
26 1111111111111101000011001111111111111111111111111111110111111111
26 1101011100001000000000000000100000000000000010000000100000001000
26 1000000010000000000000000000000000000000100000000000000000000000
26 0000100000001000000...

Bruno to Manager

A
B
A
A
A
B
A
B
A
A
A
A
B
A
B
A
A
A
A
A
A
A
A
A
A
A
B
A
B
B
A
B
A
A
A
A
A
A
A
A
A
A
A
B
A
B
A
A
A
A
B
B
A
B
B
A
A
B
A
B
A
A
A
B
A
B
A
A
A
A
A
B
B
B
A
A
A
A
A
B
A
A
A
A
A
A
A
A
A
A
B
B
B
B
A
B
A
A
B
A
A
B
B
A
A
B
A
A
B
B
B
B
A
A
B
A
B
A
A
B
B
A
A
B
B
A
B
A
B
A
A
A
A
A
A
A
A
A
A
B
A
B
A
B
A
A
A
B
A
A
...

result:

points 0.450 Accepted: 25

Test #27:

score: 46
Acceptable Answer
time: 33ms
memory: 5168kb

Manager to Anna

20000
4 4 27 BBBBBABABABAAAABABABAAAAABA
0 1 27 ABBBABBBAAAABABAAABAABBBAAB
1 4 27 BABBABBBBBBBBABBBBBBBABBBBB
2 3 27 AAABBBBABBBBBABBBBBBBAAAAAB
3 0 27 BBBBBBBBBABBBBBBBBBBBBBBBBB
5 1 27 AABBABABBBBABAABBBABABBBBAA
0 1 27 ABBBABBBAAAABABAAABAABBBAAB
0 0 27 BBBABBBBBAABBBABBBBBBABABAB
3 0 27 AAAAAAA...

Anna to Manager

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
27 1111111111111111111101111111011110100001111101111111111111110111
27 1000001100000000000000000100000001000000010000000000000001000000
27 1111111110101111111101111111111111110111111111111111111111111111
27 0001000000000000000000100000000000000000000100000000000000000000
27 1111111111111111011...

Bruno to Manager

B
A
B
A
B
A
A
B
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
B
A
B
A
A
A
A
B
B
B
B
B
B
A
B
A
A
A
B
A
A
B
A
A
B
A
A
A
B
B
A
B
B
A
A
B
B
B
A
A
A
A
A
B
B
A
B
B
B
A
B
A
A
A
A
B
A
A
A
A
A
A
A
A
B
B
B
A
A
A
A
A
A
B
A
A
A
B
B
A
A
A
A
B
A
B
A
B
A
B
A
A
B
A
A
A
A
A
A
A
B
B
A
A
B
A
A
A
B
B
B
A
A
B
B
A
B
A
A
A
B
B
B
B
B
A
A
...

result:

points 0.460 Accepted: 26

Test #28:

score: 48
Acceptable Answer
time: 36ms
memory: 4940kb

Manager to Anna

20000
4 4 28 AAABBBBBBBABABBBABBAAAABBBAB
2 2 28 AAABBBBBBBABABBBABBAAAABBBAB
2 2 28 AAABBBBBBBABABBBABBAAAABBBAB
6 7 28 AABBBBBBBBABBBBBBBABBBBBABBB
5 2 28 AAAAAAAAAAAAAAABBBBBBAAAAAAA
1 7 28 ABBBAAABABAABABBBABBBBBBBBBB
5 7 28 AAAAAAAAAAAAAAAAAAAAAAAAAAAA
2 2 28 AAABBBBBBBABABBBABBAAAABBBAB
0 1 28...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
28 0000100000001000000000000000000010100001000000000000100000000000
28 0010000000000000000011000010000000100000001000000000000000100000
28 0010000000100000010111100010000000000000001000000010000000100000
28 0000000100000000000000000000000000000000000000000010001000000000
28 0010000000100000000...

Bruno to Manager

A
A
A
A
A
A
A
A
B
A
A
A
A
B
A
A
B
B
B
A
B
A
A
A
A
A
A
A
A
A
A
A
B
B
B
A
A
A
A
A
A
A
A
A
A
A
A
B
A
A
B
A
A
A
B
A
A
A
A
B
A
A
A
A
A
A
A
A
A
A
B
A
A
A
A
B
A
A
A
B
B
B
A
B
A
A
A
B
B
B
B
B
B
B
A
A
A
B
B
B
A
B
B
A
A
A
A
A
A
B
B
A
A
B
A
A
A
A
A
B
A
A
B
A
A
A
B
B
A
A
A
A
A
B
A
A
A
A
A
A
A
B
A
B
B
B
A
A
A
A
...

result:

points 0.480 Accepted: 27

Test #29:

score: 50
Acceptable Answer
time: 36ms
memory: 5168kb

Manager to Anna

20000
0 7 29 ABBABAABAAAABABBBABAAABBBABBB
6 5 29 ABAAAAAAAAAAAAAAAAAAAAAAAAAAA
2 3 29 AAABAABAAAAAAAAAABAAABBABAABB
2 1 29 ABBABAABAAAABABBBABAAABBBABBB
7 3 29 BBBBBBABBBBBBBBBBBBBBBBBBBBBB
3 1 29 ABBBBBABABAABBBAAAAABBBAABABB
1 1 29 AABABABBBABBAAAAABBBABBBAAABA
6 0 29 BBAABBABAAAAAAAAABAAAABAAAAA...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
29 1100101000000000000000000000000000000001000000000000000100000000
29 0000010000000000000000000000000000000000000000001100111000000100
29 0001000000010000010111100001000000000000000100000001000000010000
29 0100000000000000000000100000000000000000010000000000000000000000
29 1111111111111111111...

Bruno to Manager

A
A
A
A
B
A
A
B
A
B
B
A
A
A
A
B
A
B
A
A
A
A
A
A
A
B
A
A
A
A
A
B
A
A
A
A
A
A
B
A
B
A
A
A
A
B
B
B
A
A
A
A
A
B
A
B
A
A
B
A
A
B
A
A
A
B
B
B
B
A
A
A
B
A
A
A
A
A
B
B
A
B
A
B
B
B
A
A
B
A
A
B
A
B
A
A
B
A
A
A
B
A
A
B
B
A
B
A
A
A
B
A
A
A
B
B
A
B
A
B
A
A
A
B
A
A
A
A
A
B
B
B
A
A
B
A
B
B
B
B
B
A
B
A
A
A
A
A
B
B
...

result:

points 0.50 Accepted: 28

Test #30:

score: 51
Acceptable Answer
time: 36ms
memory: 5228kb

Manager to Anna

20000
2 5 30 BBABBBBBAAAAAABABBBAABBBAAABBA
7 2 30 BBBBABAABBAAABAABBAAAABABBABAB
3 1 30 AABABBABBBBBAAAABABBABBBAAABBB
4 0 30 AAAAAAAAAAAAABAAABAAABAABAAAAA
5 7 30 BBBBABAABBAAABAABBAAAABABBABAB
5 7 30 BBBBABAABBAAABAABBAAAABABBABAB
2 7 30 BBAABABBABBABAAABAABBBBABBAAAA
2 2 30 ABBBBBABBBBBBBBBBBBBB...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
30 1111111111111111001010001111101111111111111110111111111111111011
30 1111111111011111110111111101111111011111110111111111111110011101
30 0100000001000000000000001011110100000000010000000100000001000000
30 1000000000000000000000000000000000001000100000000000000000000000
30 1111111111111111111...

Bruno to Manager

B
B
A
A
B
B
B
A
B
B
A
A
B
A
B
B
B
A
B
B
B
B
A
A
A
B
B
B
B
B
B
B
A
B
B
B
B
B
A
B
B
A
A
A
A
B
B
A
A
A
B
B
B
A
B
B
B
B
A
B
A
B
B
B
B
B
B
B
B
B
B
B
B
B
A
B
A
A
A
A
B
B
A
A
B
B
B
A
B
A
A
B
B
B
A
B
B
B
B
B
A
A
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
A
A
A
A
A
B
A
B
B
B
B
A
A
B
B
B
B
B
B
B
B
B
A
B
B
B
A
B
A
A
B
B
A
...

result:

points 0.510 Accepted: 29

Test #31:

score: 53
Acceptable Answer
time: 36ms
memory: 5464kb

Manager to Anna

20000
7 6 31 AAABAAAAAAAABAAAABAABAAAAAAABBA
1 6 31 BBAAABABBBBBABAAAABBAAABABABAAA
1 1 31 BBAAABABBBBBABAAAABBAAABABABAAA
7 7 31 BBAAABABBBBBABAAAABBAAABABABAAA
1 6 31 BBAAABABBBBBABAAAABBAAABABABAAA
7 0 31 AAABBAABBBABBAABBAAAAAAAAABBBAA
1 6 31 BBAAABABBBBBABAAAABBAAABABABAAA
1 5 31 BBBABBBBAABBBB...

Anna to Manager

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
31 0000001000000010000000000000000000000010000000000000001000001010
31 1111111100000110111111011111111111111111111111111111110111111111
31 1111111110101111101111111111111110111111111111111111111111111111
31 1111111111111110111111101111111011111110111111101111111001000100
31 1111111110100111111...

Bruno to Manager

A
B
B
B
B
A
B
B
A
B
B
A
B
A
B
A
A
A
B
A
B
B
A
A
B
B
B
B
A
A
B
B
B
B
B
B
B
A
A
A
A
B
B
B
B
B
A
B
B
B
B
A
B
B
A
A
B
A
B
B
B
B
B
A
B
A
B
A
B
B
B
A
A
B
B
B
B
B
B
A
A
B
B
B
B
A
B
B
B
A
A
A
B
B
A
B
B
B
B
B
B
B
B
A
B
B
B
A
B
B
B
A
B
A
A
B
B
B
A
B
B
A
B
B
A
B
B
A
B
B
B
B
A
B
A
A
B
A
B
B
B
A
A
B
B
A
B
B
A
B
...

result:

points 0.530 Accepted: 30

Test #32:

score: 54
Acceptable Answer
time: 37ms
memory: 5692kb

Manager to Anna

20000
3 0 32 BAAAAAABAAAABAAAAAAAAAAAAAAAAAAA
1 0 32 BBBBBABBBBBBBABBBBBBBBBBBBBBBBBB
2 7 32 AAAABBABBBAABBBBBBBBAAABBBAABAAB
4 6 32 AABAABAABBAAAAAABAAABAAAAAAAAAAA
5 7 32 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
0 5 32 BBBBBABBAABAABBBBBBBBBBBBBABBAAA
3 7 32 AAAABBABBBAABBBBBBBBAAABBBAABAAB
4 7 32 BABBBBB...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
32 1111111111111111011111110101000011111111011111111111111101111111
32 1111111100000110011111111111111111111111111111110111111111111111
32 0000000100000001010111100000000100000000000000010000000100000001
32 0000001000000000000000000000000000001000000000100000000000000000
32 0000000100000001000...

Bruno to Manager

B
B
A
A
A
B
A
B
A
A
A
A
B
B
A
B
A
B
A
A
A
A
A
A
A
A
B
A
A
A
A
B
A
B
A
A
A
B
B
A
A
A
B
B
A
B
A
A
B
B
B
A
A
A
A
A
A
A
B
A
A
B
B
A
A
B
A
B
A
A
B
A
A
A
A
A
A
A
B
A
B
B
A
B
A
A
B
B
A
B
A
B
A
A
A
A
A
A
A
A
B
A
B
A
B
A
A
A
A
B
B
A
A
A
A
B
B
A
A
B
B
B
A
A
B
A
A
A
A
B
A
A
A
B
A
A
A
B
A
B
A
A
A
A
B
A
B
A
B
A
...

result:

points 0.540 Accepted: 31

Test #33:

score: 56
Acceptable Answer
time: 36ms
memory: 5468kb

Manager to Anna

20000
4 0 33 ABBBBBAAAAABABAABAABABBABAABAABBA
4 7 33 BBBBBBBBBBBBBBBBBBBBBABBBBBBBABBB
7 3 33 AABBABAABBABABBABABBABBBABBBBBBBB
0 2 33 ABBBBBAAAAABABAABAABABBABAABAABBA
1 5 33 BAAAAAAAAAAAAAAAAABAAAABAABBAABAA
1 7 33 BBABBBBBBBBBBBBBABBBBBABBBBBBABBB
6 0 33 AAAAAAAAAAABAAAAAAAABAAAAAAAAABAA
5 5 33 ...

Anna to Manager

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
33 1000000010000000000000000000000010100001000000001000000000000000
33 1111111111111110111111101111111000110011111111111111111011111111
33 0001000000010000000000000001000000000000000100000001000011010111
33 1000000000100000000000000000000000000000001000000000000000000000
33 1111111110100111111...

Bruno to Manager

A
B
A
A
B
B
A
B
A
A
A
A
A
B
B
B
B
B
A
A
A
B
A
A
B
A
B
A
A
A
A
A
A
B
B
B
A
A
A
B
A
A
B
A
B
B
A
A
A
A
A
A
A
A
A
A
A
A
A
B
B
B
B
A
A
B
A
A
A
A
A
A
A
A
A
B
B
A
A
A
A
A
B
B
A
A
A
B
A
A
B
B
A
B
A
A
A
A
A
B
A
A
A
A
A
A
B
A
B
B
A
A
A
A
A
A
A
B
A
B
A
A
A
B
B
A
A
A
A
B
B
A
A
B
A
A
B
B
A
A
B
B
A
B
A
B
A
A
A
A
...

result:

points 0.560 Accepted: 32

Test #34:

score: 57
Acceptable Answer
time: 36ms
memory: 5624kb

Manager to Anna

20000
2 3 34 ABBBBBAAAAAABBBABBAABBBBAAAABABBAA
6 2 34 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4 6 34 ABBBBBAAABBBBBBABAABBBBBBABBAABAAA
3 0 34 BBBBBBBABBBBABBBBBBBBABBBBBBBBBBAB
4 7 34 AAABABAABAABBAAAAABABAAAABAAAAAAAA
6 2 34 BBBBABBBABBBABABBBBBBBBBBBABBBBBBB
7 2 34 BBAAAAABBBABABAABABAAABAAAAABBAABA
...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
34 0001000000010000001010000000000000010000000000000001000000000000
34 0010000000000000000000000000000000000000000000001100111000100000
34 0000001000000010000000000000001001111010000000100000001000000010
34 1111111101111111011111110000010001111111111111110111111101111111
34 0000000100000001000...

Bruno to Manager

A
A
A
B
A
B
B
A
B
A
A
B
A
B
A
A
A
B
A
B
A
B
B
B
A
B
B
A
B
B
B
A
B
A
A
A
A
A
A
A
B
A
A
A
A
A
B
A
B
A
B
B
B
B
A
A
A
A
A
B
A
A
B
B
A
A
B
A
A
B
A
B
B
B
B
B
A
A
A
A
A
B
B
B
A
B
A
A
A
A
B
A
A
A
A
A
B
A
A
A
A
B
A
B
A
A
A
A
A
B
B
A
A
B
B
B
A
A
A
A
A
A
A
A
B
B
A
A
A
A
A
B
A
A
B
B
A
B
A
A
B
B
A
A
A
A
B
B
B
B
...

result:

points 0.570 Accepted: 33

Test #35:

score: 59
Acceptable Answer
time: 36ms
memory: 5732kb

Manager to Anna

20000
4 2 35 BBBBAABBABBABABBBBAAABBAABBBBBBAABB
5 2 35 BBBBABBBBBBBBBABBABBBBBAABABBBBABAB
5 1 35 AAABABAAAAAABAAAAABBBAAABAAAAABAAAA
2 0 35 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
4 7 35 ABBBAAABABAAAAABBAAAAAABAAABBAAAAAA
2 0 35 BBAAAABBAABBBBBBBBAABBAABBBAAAAABBA
3 7 35 BBBBABBBBBBBBBBBBBAABBABBBBBB...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
35 1111111111111111110111111101111110100001110111111111111111011111
35 1111111111011111110111111101111111011111011001111101111111111111
35 0100000001000000000000000100000000000000111101010100000001000000
35 1111111101111111000000100111111101111111111111110111111101111111
35 0000000100000001000...

Bruno to Manager

B
B
A
B
A
B
B
B
A
A
A
B
B
B
B
A
B
B
B
B
A
A
A
B
B
B
B
B
B
A
A
A
B
B
B
B
B
B
B
A
B
B
B
B
B
B
B
B
B
A
A
B
B
B
A
B
B
B
A
B
A
B
B
B
B
B
B
A
B
A
B
B
A
A
A
A
B
B
B
B
B
B
B
A
A
B
A
B
B
A
B
A
A
B
A
B
A
B
B
B
B
B
B
B
B
A
A
A
A
B
A
B
B
A
A
A
B
B
B
A
B
B
A
A
B
B
B
A
A
A
A
B
B
B
B
A
B
A
B
A
B
A
A
A
A
A
A
B
A
B
...

result:

points 0.590 Accepted: 34

Test #36:

score: 60
Acceptable Answer
time: 36ms
memory: 5628kb

Manager to Anna

20000
2 0 36 AAAAAAAAAAAABAABAAAAAAAAABAAAAAAAAAB
5 2 36 BAABBAAAAABAABABBBBAAABABBAABBBAAAAA
6 1 36 BABBABBABAAABBABABBBBBBBBBAABABBBABA
1 7 36 BBABBBBBABBBBBABBABABBAABBABBBBBBABB
5 0 36 ABBAABBABABBBAAAABBBBBBBBABAAAABBBAB
3 3 36 BBBABBBBABBBBABBBAAABABBBABBBBAABAAA
2 0 36 BAABBAAAAABAABABBBBAAAB...

Anna to Manager

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
36 1000000010000000001010000000000010000000000000001000000000000000
36 1111111111011111110111111101111111011111011001111101111111111111
36 1111111111111111101111111111111110111111111111111110101111111111
36 1111111100000001111111101111111011111110111111111111111011111110
36 1000000010000000000...

Bruno to Manager

A
B
B
B
A
B
B
A
B
B
A
B
A
B
B
A
B
A
B
A
B
A
B
A
B
B
B
B
A
B
B
B
B
A
A
B
A
A
A
B
B
B
A
A
A
A
A
A
B
B
B
A
B
A
B
A
A
A
B
B
A
A
B
B
B
A
B
B
A
B
A
B
A
B
A
B
A
A
A
A
B
A
A
A
B
A
B
B
A
B
B
B
B
A
B
A
B
A
A
B
B
A
A
B
B
B
A
B
A
A
B
B
A
B
B
B
B
B
B
A
B
B
A
B
B
A
B
B
A
B
A
B
A
A
A
B
B
B
B
B
B
A
A
A
A
B
B
A
A
B
...

result:

points 0.60 Accepted: 35

Test #37:

score: 62
Acceptable Answer
time: 36ms
memory: 5560kb

Manager to Anna

20000
7 6 37 BBBBBBABBBABBABBBBBBBBBBBBBBBBBBBBABB
3 6 37 ABABBBBABABBAABABBBAAABABBABAAABAAAAB
2 6 37 BABBABBBBBAABBABBBBAABBBBABBABBBBABAA
1 3 37 AAAAAAAABABAAAABABAAAAAABAAABBAAAAABA
4 6 37 AAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAA
2 5 37 BBBBBBAAABABABBBABABAABABABABBABAABBB
2 5 37 BAAABBBABAABAAABA...

Anna to Manager

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
37 1111111111111111111111011111110111111111111111011111111100001010
37 0000001000000000000000000001100100000010000000100000000000000010
37 1111111111111111010111101111111111111101111111111111111111111111
37 0001000000000001000000000000000000000000000100000000000000000000
37 0000001000000010000...

Bruno to Manager

B
A
B
A
A
B
B
B
B
A
A
A
A
A
B
A
A
A
A
B
A
B
A
A
A
B
A
B
A
A
A
A
A
A
A
A
B
B
A
B
A
B
A
A
A
A
A
A
A
A
B
A
B
A
A
A
A
A
A
A
B
B
A
A
A
A
B
B
B
A
A
A
A
B
A
A
B
A
B
A
A
B
B
B
A
B
A
A
B
A
A
B
A
B
A
B
A
A
B
A
A
A
A
A
B
B
A
A
B
A
A
B
B
A
B
A
B
A
B
A
A
A
B
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
B
B
B
A
A
A
A
B
A
A
A
...

result:

points 0.620 Accepted: 36

Test #38:

score: 65
Acceptable Answer
time: 36ms
memory: 5756kb

Manager to Anna

20000
0 6 38 ABBAABABABAABAAAABBABAAAAABAABBBBABABB
0 7 38 AAABAAAAABAAAABABAAAAABAAAAABAAAABAAAA
2 6 38 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBA
3 2 38 BBAAABBABBBBBBBABBABABBBABBBABBBBBBBBB
6 1 38 AAAAAAAABAAAAAAAAAAAAAAAAAAAABAAAAABAA
5 5 38 ABAABAAAAABBBAAAAABBABAAAABABAAAABBABB
0 2 38 BBBBBBBABBB...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
38 1100101000000000000000000000000000000010000000000000001000000000
38 1000001100000000000000000000000100000001000000010000000000000001
38 1111111111111111010111101111111111111101111111111111111111111111
38 1111111111011111110111110000010011011111111111111101111111011111
38 0100000001000000000...

Bruno to Manager

A
A
B
B
A
A
B
A
A
A
A
A
A
A
B
A
A
A
B
A
A
A
B
B
A
B
A
A
A
B
A
A
A
B
A
B
A
A
A
A
A
A
A
A
B
B
B
B
A
A
A
A
A
A
A
B
B
A
A
A
A
B
A
B
A
A
B
A
A
A
A
A
A
A
A
B
B
B
A
B
A
A
B
B
A
A
A
A
B
A
A
A
A
A
A
A
B
A
B
A
A
A
A
A
B
A
A
A
A
A
A
B
B
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
B
A
A
A
A
B
A
B
A
A
B
B
B
A
B
A
A
B
A
A
A
A
...

result:

points 0.650 Accepted: 37

Test #39:

score: 68
Acceptable Answer
time: 37ms
memory: 5472kb

Manager to Anna

20000
0 1 39 BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
2 6 39 BAAABAAABAABAAAAAAAABBABAAAAABAAAAAABAA
1 7 39 BBBBBBABBBBAABBBBBBBABBBBBABBBBBBABBBBB
4 7 39 AABBBBABABBABABBBAAABBABBBBAABBBBBBBBAB
6 5 39 BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
6 5 39 BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
1 5 39 BBBBB...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
39 1100101010111111101111111011111111111111101111111111111110111111
39 1111111111111101000011001111111111111111111111111111110111111111
39 1111111110101111111111101111111111111110111111111111111111111111
39 0000000100000000000000000000000000001000000000010000000000000000
39 1111111111111111111...

Bruno to Manager

B
B
B
A
B
B
B
B
B
B
B
B
A
A
A
A
B
B
B
B
A
A
B
A
B
B
B
B
B
B
B
A
B
B
A
B
B
A
B
B
B
B
A
A
B
A
A
B
A
B
B
B
A
B
A
B
A
A
A
B
B
A
B
B
B
A
B
B
A
A
B
B
B
B
B
A
A
B
A
B
A
B
B
B
B
B
A
B
A
A
B
A
A
A
B
B
B
A
A
B
A
A
B
B
B
B
B
B
A
B
B
B
B
B
A
A
B
B
B
A
B
A
A
B
B
B
A
A
A
B
B
A
B
A
A
A
A
B
A
B
A
B
A
B
B
A
B
B
B
B
...

result:

points 0.680 Accepted: 38

Test #40:

score: 68
Acceptable Answer
time: 36ms
memory: 5736kb

Manager to Anna

20000
0 7 39 BBBABBBBAABAABBBABAABABAAAABBBBBABBBBBB
6 6 39 BABBABAAAAAAAAAABBAAAAAAAAAAAAAAAAAAABA
3 5 39 AAAAAAAAABAAAAAAAAAAAAAAAAAAAAABAAAAAAA
5 4 39 BABBBBBABBABABBABBAABBABAABBAABABBAABBA
3 4 39 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBB
5 4 39 BABBBBBABBABABBABBAABBABAABBAABABBAABBA
2 6 39 AAAAA...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
39 1100101011111110111111101111111011111111111111101111111111111110
39 1111111111111101111111011111110111111101111111011100111011111111
39 0000010000000100000000001011110100000000000001000000010000000100
39 1111111111110111111101111111011111110111000100011111011111110111
39 1111111111111111111...

Bruno to Manager

B
B
A
B
B
B
A
B
B
B
B
B
B
B
B
A
B
B
B
B
A
B
B
A
B
A
B
A
B
A
B
A
B
B
A
B
B
B
B
B
B
B
B
B
B
A
B
B
B
B
B
A
B
B
B
B
A
B
B
B
B
B
B
B
B
A
B
A
B
B
A
A
B
A
B
A
B
A
B
A
B
A
B
B
A
A
A
B
B
B
A
B
B
A
B
B
A
B
B
B
B
A
B
A
B
A
B
A
A
B
A
A
A
A
B
B
B
A
B
B
B
B
B
B
A
A
A
A
A
A
B
A
A
B
A
A
B
A
B
B
A
A
A
B
B
B
A
B
B
A
...

result:

points 0.680 Accepted: 38

Test #41:

score: 71
Acceptable Answer
time: 36ms
memory: 5732kb

Manager to Anna

20000
6 7 40 ABBBAAAAAAAABBAAAABBBABAABAABAABAAAAABBA
6 6 40 ABBBBBBBBBBBBBAABABBABABBABBBABABBBABBBB
3 6 40 ABABBBABBBAAAAABAABBBBBABAAABBBABAABBAAA
1 5 40 BBBABBBAAABBABBAAABABBAABBAABABBAAAABBBB
7 0 40 BBBBBBBBBBBBBBABBBBABBBBBABBBBBBBBBBBABB
0 4 40 BBABBABBAABABBBBABBBBAAAABAAABBAABBBAAAB
2 0 40...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
40 0000000100000001000000000000000000000001000000001000010100000000
40 0000001000000000000000000000000000000000000000001100111000000010
40 0000001000000010000000001011110100000000000000100000001000000010
40 1111111100000001111110111111101111111011111111111111101111111011
40 1111111111111111011...

Bruno to Manager

A
A
A
B
B
B
A
A
A
B
B
B
A
A
A
A
B
A
A
A
A
B
A
A
A
B
B
A
B
A
B
A
A
A
B
A
A
A
A
A
B
A
B
A
B
A
A
A
A
A
A
A
B
B
A
B
B
B
B
A
B
A
A
B
A
A
A
B
B
A
B
B
B
B
A
A
A
A
B
B
A
A
B
B
A
B
A
A
A
A
A
B
B
A
A
B
A
A
B
B
A
B
A
B
A
A
B
A
B
A
A
B
A
B
A
A
A
B
A
B
A
A
B
A
A
A
A
B
A
A
A
B
A
B
A
A
A
A
B
A
B
B
A
A
B
B
A
A
B
A
...

result:

points 0.710 Accepted: 39

Test #42:

score: 71
Acceptable Answer
time: 36ms
memory: 5512kb

Manager to Anna

20000
7 1 40 ABBBBBABABBBABBBABAABBABAABAAABBABBBBAAB
2 0 40 AAAAAAAAAABAAAAAAAAAAAABAAAAAAAAAAAAAAAA
3 0 40 AABAAAAAAAAAAAAAAAAAAAABBAAAAAAAAAAABAAA
0 4 40 AABBAAAABBAABBBBBBBBBABBBBABABBAABBABBAA
2 4 40 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
3 3 40 BAABAABAAAABBAAABBABABABBABABBBABAABBABB
1 2 40...

Anna to Manager

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
40 0100000001000000000000000000000001000000000000000100000000001010
40 1000000000000000000011001000000010000000100000000000000010000000
40 1000000010000000000000001011110100000000100000001000000010000000
40 1000000000001000000000000000000000000000000010000000000000000000
40 0000100000001000010...

Bruno to Manager

A
A
A
A
A
B
A
A
A
A
A
A
A
A
A
B
A
B
A
B
A
A
A
A
B
A
A
A
A
A
A
A
A
A
B
A
B
A
A
B
A
B
B
B
A
A
B
B
A
A
B
A
A
A
B
A
A
A
A
B
B
A
B
B
A
A
A
B
B
B
A
B
B
B
B
A
B
B
A
A
A
B
A
A
B
A
A
A
A
A
B
B
B
B
A
A
A
A
A
A
A
A
B
A
A
A
A
B
A
A
B
A
A
A
B
A
A
A
A
A
B
A
A
B
A
A
A
A
B
A
B
A
A
B
A
A
A
B
A
A
A
A
A
A
B
A
B
A
B
B
...

result:

points 0.710 Accepted: 39

Test #43:

score: 74
Acceptable Answer
time: 36ms
memory: 5636kb

Manager to Anna

20000
5 4 41 BAABBABBBABABBABBBBBBBAABBAABABBBAABABABA
5 5 41 AAAAAABAAAAAAABAAAAAAAAAAAAAAAAAAAAABAAAA
2 0 41 AABAABABBABAAABBAAAABBBBBAAABAABAAAAAABAA
1 3 41 BBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBABBBBBBB
6 7 41 BBBBABBBBBBBBBBBBBBBBABBBABBBBBBABBBBBBBB
2 6 41 BBBBBBBABBBBBBBBBBBBAABBBBBBBBBBBBBBBBBBB
...

Anna to Manager

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
41 1111111111111111111101111111011111111111010000101111111111110111
41 0000010000000000000000000000000000000000011001110000000000000100
41 1000000010000000010111101000000000000000100000001000000010000000
41 1111111100000001111011111110111111101111111111111110111111101111
41 1111111111111111111...

Bruno to Manager

B
A
A
B
B
B
A
A
A
A
A
B
B
A
A
B
B
A
A
A
B
B
B
A
A
B
A
B
A
A
B
B
A
B
B
A
B
B
B
A
A
A
A
A
A
B
B
A
A
B
A
B
B
B
B
B
A
B
A
A
A
A
A
A
A
B
A
A
A
A
A
A
A
B
A
B
B
B
A
A
A
B
B
A
A
A
A
B
A
B
A
A
A
B
A
A
A
A
A
A
B
A
A
A
A
A
A
A
B
B
A
A
B
B
B
A
A
A
A
A
B
A
A
A
B
A
B
A
A
A
A
A
B
A
B
A
A
A
A
A
B
A
B
A
A
A
A
B
B
A
...

result:

points 0.740 Accepted: 40

Test #44:

score: 74
Acceptable Answer
time: 36ms
memory: 5516kb

Manager to Anna

20000
4 4 41 BABAABAAABBAABAAAAAAAAAAAAABABAAAAAABAABA
7 2 41 BAABBBAAABBBAAABBBAABAAAAAAAABBAABAAABBAA
0 0 41 BABAAABBBABAABAABABABABBBAABBBABAABBABBBA
5 0 41 BABAAABBBABAABAABABABABBBAABBBABAABBABBBA
1 2 41 BABAAABBBABAABAABABABABBBAABBBABAABBABBBA
4 2 41 ABBAAAAAABAABABAAABAABBAAAAABAABAAAAAAABA
...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
41 1111111111111111111101111111011110100001111101111111111111110111
41 1111111111011111110111111101111111011111110111111111111110011101
41 1101011111111111011111111111111101111111111111111111111111111111
41 1111111101111111011111110111111101111111000100010111111101111111
41 1111111110100111110...

Bruno to Manager

B
B
B
B
B
A
A
B
B
B
B
A
A
A
B
B
B
A
A
A
B
A
A
B
B
B
B
B
A
A
A
B
A
A
A
B
A
B
A
B
A
B
B
A
B
B
A
A
B
B
B
B
B
A
B
B
B
B
A
B
B
A
B
A
B
A
B
B
B
B
B
A
B
A
B
B
B
B
B
B
B
B
A
B
A
B
B
B
A
B
B
A
B
B
B
B
A
B
B
B
B
A
A
B
B
B
B
B
A
B
B
B
B
A
A
A
B
B
B
B
A
B
B
B
A
A
B
B
B
B
A
B
B
A
B
A
B
A
A
B
B
A
B
A
A
B
B
B
B
B
...

result:

points 0.740 Accepted: 40

Test #45:

score: 77
Acceptable Answer
time: 32ms
memory: 5520kb

Manager to Anna

20000
5 6 42 BAABBABBBABAAABBBBABBBAAABAABAABBBBBAAAABB
6 6 42 AAABABBAAAAAAAAAAAAAABABAAAAABAAAAAABABAAA
5 0 42 BAAABAAAAAAAAAAAAAAABAABBAABAAAABAABAAAABA
7 7 42 ABABBABBBAABBBBABBABABBBBBBABBBBABBBBBBAAB
2 1 42 BBAABBBBBBABAAAABBBABBAABBBABABBAAABABABBB
5 2 42 BABBABABABABAAAABBBBBBAAAABBAAABBBBBA...

Anna to Manager

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
42 1111111111111111111111011111110111111111010000101111111111111101
42 0000001000000000000000000000000000000000000000001100111000000010
42 1111111111111111011111111111111101111111111101011111111111111111
42 0000000100000000000000000000000000000000000000000000000001000100
42 1111111111111111010...

Bruno to Manager

B
A
B
A
B
B
B
A
B
B
B
B
A
B
A
A
B
B
B
B
B
A
B
B
A
A
B
B
B
B
B
B
B
B
B
B
A
A
A
B
B
B
B
A
A
A
B
B
A
A
A
B
B
B
B
A
A
A
A
A
B
A
A
B
A
B
B
B
A
A
B
B
B
A
A
B
B
B
B
B
B
B
B
B
A
B
A
B
B
A
B
B
A
A
A
B
B
B
B
B
A
B
B
A
B
A
B
B
B
B
B
B
B
B
B
B
B
B
A
A
B
B
B
B
B
B
A
B
A
B
A
A
A
B
B
B
A
A
B
A
B
B
A
B
B
B
A
A
B
B
...

result:

points 0.770 Accepted: 41

Test #46:

score: 77
Acceptable Answer
time: 37ms
memory: 5752kb

Manager to Anna

20000
7 1 42 ABAAABABAAAAAAABABAABBAABBBBAAAAAAAABAABAA
2 3 42 BBBBAABBBABAABABBBABABBAABBBBBBBBABBAABABA
6 5 42 ABBBABABBBAABBABABBABAABABBAAAAAAAAABBAAAA
2 2 42 BBBBBBBBAABBBBBBBABABBBBBBBBBBAABABBBBBABB
5 5 42 AAABBBAABABBBBAAAABBAAAAABBBBAABBBAABABBBA
0 3 42 ABBBABABBBAABBABABBABAABABBAAAAAAAAAB...

Anna to Manager

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
42 0100000001000000000000000000000001000000000000000100000000001010
42 1111111111101111000011001111111111111111111111111110111111111111
42 0000010000000100000000000000010000000000000001001110101100000100
42 1111111111011111000000101101111111011111111111111101111111011111
42 0000010000000100000...

Bruno to Manager

A
B
A
B
A
A
B
B
B
A
A
A
B
A
B
B
A
A
A
B
B
B
A
A
A
A
A
B
B
A
B
B
B
A
A
A
A
B
A
A
B
B
B
A
A
A
B
B
A
A
A
A
A
B
A
B
B
A
B
A
B
A
A
B
A
A
B
A
A
A
B
A
B
A
A
A
B
A
A
A
A
A
A
B
B
B
B
A
A
A
A
A
B
A
B
A
B
A
A
B
B
A
A
A
A
A
A
A
A
A
B
B
A
A
A
A
A
A
A
B
A
A
A
A
A
A
A
A
A
B
B
A
A
B
B
A
A
A
A
A
A
B
A
B
B
A
B
A
A
B
...

result:

points 0.770 Accepted: 41

Test #47:

score: 84
Acceptable Answer
time: 36ms
memory: 5512kb

Manager to Anna

20000
6 7 43 BAAAAAAABAAAAAAAAAABAABABABAAAAABAAAAAABABB
3 3 43 AAAABBBABABBAAABBABBBABBABAABAABABBBAAAAABB
0 4 43 BBABBBBBBBBBABBABBBBBBBBBBBBABBBBBBBBBBBBBB
1 1 43 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBA
5 5 43 BABAABABABAABBAABBBAAAABAAAABAABBBABABABAAA
5 2 43 AAAABBBABABBAAABBABBBABBABAABAAB...

Anna to Manager

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
43 1111111111111111111111101111111011111111111111101000010111111110
43 0001000000000000000000000001100100010000000100000000000000010000
43 1101011111111111111101111111111111110111111111111111111111111111
43 1111111100000001101111111011111110111111111111111011111110111111
43 1111111111111111111...

Bruno to Manager

B
A
B
B
B
A
A
B
A
A
A
A
A
B
B
A
A
A
A
A
A
B
B
A
A
A
A
B
B
B
B
A
A
A
A
A
A
A
A
A
B
A
A
B
B
B
B
A
A
B
A
A
A
A
A
A
A
B
A
A
B
A
A
B
B
A
B
A
A
A
A
A
A
A
A
A
B
B
A
A
B
A
B
B
A
A
A
A
B
B
A
A
B
A
B
B
A
B
B
B
B
B
A
A
A
B
A
B
B
B
B
A
A
A
A
B
A
B
A
A
A
A
B
A
B
B
A
B
A
B
A
A
A
A
A
A
A
B
B
A
A
B
A
B
A
A
A
A
B
A
...

result:

points 0.840 Accepted: 42

Test #48:

score: 84
Acceptable Answer
time: 36ms
memory: 5756kb

Manager to Anna

20000
6 2 43 BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
6 2 43 BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
2 1 43 BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
3 2 43 ABAABABBBBBBBBBBBBBABBABBBBAABBABBBBBBABBBA
2 5 43 BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
7 1 43 AAAABAAAAAAABAAAAAAAABBABAAAAAAA...

Anna to Manager

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
43 1111111111111111110111111101111111111111110111111000010111011111
43 1111111111011111110111111101111111011111110111111100111011111111
43 1111111111111111010111101111111110111111111111111111111111111111
43 0010000000000000000000000000010000000000001000000000000000000000
43 1111111111111111010...

Bruno to Manager

B
B
B
A
B
A
A
A
A
B
A
B
B
A
B
B
A
B
B
B
B
B
B
B
A
A
B
B
B
B
B
A
B
B
B
B
B
B
A
B
B
A
A
A
B
A
A
B
A
B
B
B
B
A
B
A
B
B
A
A
B
A
A
B
A
B
A
B
A
A
B
B
B
A
B
A
A
B
B
A
B
B
A
B
A
A
A
B
B
B
B
B
B
B
B
A
B
B
A
B
B
A
A
A
B
A
A
B
A
B
B
B
B
B
A
B
B
B
A
B
A
A
B
B
B
B
A
B
B
B
B
B
A
B
B
B
B
B
A
B
B
B
B
B
A
B
A
B
B
A
...

result:

points 0.840 Accepted: 42