QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#98967#6341. The Last BattleQingyu5 66ms4976kbC++232.1kb2023-04-21 03:10:262023-04-21 03:25:11

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-04-21 03:25:11]
  • 评测
  • 测评结果:5
  • 用时:66ms
  • 内存:4976kb
  • [2023-04-21 03:10:26]
  • 提交

Anna

#include "Anna.h"
#include <utility>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;

int Encode[72] = {
	  94, 231, 134,   9,  26, 169, 106, 174, 164,  22,  92,  89,  45, 243, 176,  62,
	 154, 253,   8, 145, 208,  91,  33,  52,  79, 244,  86, 121, 151, 201,  43, 188,
	 187, 161,  34,  77,  15, 195,  35,  85, 235, 224,  40,  51, 206, 119,  11, 149,
	 100, 181, 138,  17, 152, 241, 148, 122, 237, 126,   0,  68, 215, 189, 242, 239,
	 116, 254, 194,  66, 120, 216, 214, 238
};

void Anna(int X, int Y, int N, string S) {
	int c;
	if (S[0] == 'A') c = 1;
	else c = 0;
	
	for (int i = 0; i < 8; i++) {
		for (int j = 0; j < 8; j++) {
			if (i != X && j!= Y)
			Paint(i, j, c);
		}
	}
}

Bruno

#include "Bruno.h"
#include <utility>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;

int Decode[256] = {
	58,  3, 58, 46, 58, 47, 58, 28, 18,  3,  4, 46, 18, 12, 36, 36,
	 9, 51,  9, 51,  9, 47,  9, 28, 18, 51,  4, 51, 18, 12, 36, 36,
	22, 22, 34, 38, 48, 48, 34, 38, 42, 30,  6, 30, 42, 12,  7, 63,
	14, 27, 43, 43, 23, 49, 23, 49, 31, 27, 43, 43, 31, 12, 15, 15,
	59, 11, 67, 46, 59, 35, 24, 24, 59, 11, 67, 46, 59, 35, 24, 24,
	10, 11, 26, 45, 10, 39, 26, 45, 10, 11, 55, 21, 10, 39,  0,  0,
	22, 22, 34, 38, 48, 48, 34, 38, 68, 30,  6, 30, 56, 56, 71, 63,
	14, 27, 26, 45, 64, 64, 26, 45, 68, 27, 55, 21, 57, 57, 57, 57,
	20, 33,  2, 33, 54, 47,  2, 28, 52,  5, 50, 50, 52, 61, 50, 50,
	20, 19, 62, 13, 54, 47, 70, 28, 52, 19, 16, 16, 52, 61, 16, 16,
	41, 33, 41, 33,  8,  8,  8,  8, 42,  5, 32, 32, 42, 61,  7, 63,
	14, 19, 62, 13, 23, 49, 23, 49, 31, 19, 32, 32, 31, 61, 15, 15,
	20, 37, 66, 37, 54, 35, 66, 60, 29, 29, 40, 40, 44, 35, 44, 60,
	20, 53, 62, 13, 54, 39, 70, 60, 69, 53, 55, 21, 44, 39, 44, 60,
	41, 37, 41, 37, 25,  1, 25,  1, 29, 29, 40, 40, 56, 56, 71, 63,
	14, 53, 62, 13, 25, 17, 25, 17, 69, 53, 55, 21, 65, 17, 65, 17
};

string Bruno(int N, vector<vector<int>> T) {
	int su = 0;
	for (auto v : T) for (auto w : v) if (w == 1) ++su;
	if (su > 32) return "A";
	return "B";
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 53ms
memory: 3380kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
1 1111111110010100111111101111111011111111111111101111111111111110
1 1111111111101111000011001111111111111111111111111110111111111111
1 1101011111111111101111111111111110111111111111111111111111111111
1 1111111100000001101111111011111110111111111111111011111110111111
1 111111111111111111110111...

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: 57ms
memory: 3292kb

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

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
2 1111111111111111111111010101000011111111111111011111111111111101
2 0000001000000000000000000000000000000000000000001100111000000010
2 1111111111111111111111011111111111111101111111111111111111010111
2 0000000100000000000000100000000000000000000000010000000000000000
2 000000010000000101001110...

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: 49ms
memory: 3292kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
3 1111111111111111111110111111101110100001111110111111111111111011
3 1111111111111011111110111111101111111011111110111100111011111111
3 0010000000100000000000000010000000000000001000001110101100100000
3 1111111111111110111111101111111000001000111111111111111011111110
3 111111111111111111111101...

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: 57ms
memory: 3368kb

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

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
4 0001000000010000000000000000000000010000000000000001000000001010
4 1111111111111011000011001111111111111111111111111111101111111111
4 1111111111111111111111011011110111111101111111111111111111111111
4 1111111111110111111101110000010011110111111111111111011111110111
4 111111111111111111111011...

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: 44ms
memory: 3296kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
5 0000001000000010000000000101000000000010000000000000001000000000
5 1000000000000000000000000000000000000000011001110000000010000000
5 0000000100000001010111100000000100000000000000010000000100000001
5 0010000000000000000000000000000000000000000000000000000001000100
5 000010000000100001001110...

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: 53ms
memory: 3396kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
6 1111111111111111111111101111111011111111111111101000010111111110
6 1111111111111110000011001111111111111111111111111111111011111111
6 1111111111111111110111111111111111011111111101011111111111111111
6 0001000000000000000000000000000000000000000100010000000000000000
6 111111111111111101001110...

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: 57ms
memory: 3392kb

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

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
7 1000000010000000001010000000000010000000000000001000000000000000
7 1111111100000110011111111111111111111111111111110111111111111111
7 1111111111111111111111011111111111111101111111111111111111010111
7 0000100000000000000000000000000000000000000100010000000000000000
7 000001000000010000000000...

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: 53ms
memory: 3284kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
8 1111111111111111101111111011111110100001101111111111111110111111
8 1111111110111111101111111011111110111111101111111111111110011101
8 1000000010101111000000001000000000000000100000001000000010000000
8 1111111111011111110111110000010011011111111111111101111111011111
8 111111111111111110111111...

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: 45ms
memory: 3300kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
9 1111111111111111101111111011111111111111010000101111111110111111
9 1111111100000110111111011111111111111111111111111111110111111111
9 1111111111111111010111101111111111111101111111111111111111111111
9 0000010000000000000000000000010000000000000001000000000000000000
9 111111111111111101111111...

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: 52ms
memory: 3384kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
10 1000000010000000000000000101000010000000000000001000000000000000
10 1000001100000000000000000000100000001000000010000000000000001000
10 1000000010101111000000001000000000000000100000001000000010000000
10 0000001000000001000000000000000000000000000000100000000000000000
10 1101001111111111111...

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: 58ms
memory: 3292kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
11 1000000010000000000000000000000010000000000000001000000000001010
11 0100000000000000000011000100000001000000010000000000000001000000
11 0010000000100000000000000010000000000000001000000010000011010111
11 0001000000000000000000000000000000000000000100010000000000000000
11 0000000100000001000...

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: 49ms
memory: 3292kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
12 1100101011101111111011111110111111111111111011111111111111101111
12 1111111111111110111111100001100111111111111111111111111011111111
12 0000010010101111000000000000010000000000000001000000010000000100
12 0000000100000000000000000000000000000000000100010000000000000000
12 1111111111111111111...

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: 51ms
memory: 3372kb

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

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
13 0100000001000000000000000000000001000000000000001000010100000000
13 1111111101111111011111110111111100110011111111110111111111111111
13 1111111111111111111110111111111101111010111111111111111111111111
13 1111111111111011111110111111101100001000111111111111101111111011
13 1111111110100111111...

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: 57ms
memory: 3376kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
14 1111111111111111011111110111111111111111010000101111111101111111
14 1111111111111101111111011111110111111101011001111111110111111111
14 1111111111111111111111011111111101111010111111111111111111111111
14 0000010000000000000000000000010000000000000001000000000000000000
14 0000010000000100000...

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: 46ms
memory: 3292kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
15 1111111111111111011111110111111111111111011111111111111100001010
15 1111111111110111111101111111011111110111111101111100111011111111
15 0100000001000000000000000100000001111010010000000100000001000000
15 1111111111110111111101111111011100001000111111111111011111110111
15 1111111111111111101...

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: 49ms
memory: 4324kb

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

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
16 0000000100000001000000000000000000000001000000001000010100000000
16 1111111111101111111011111110111100110011111111111110111111111111
16 0000001000000010010111100000001000000000000000100000001000000010
16 0000100000000000000000100000000000000000000010000000000000000000
16 1111111110100111111...

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: 53ms
memory: 4276kb

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

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
17 1111111111111111111110111111101111111111111110111111111100001010
17 0010000000000000000000000000000000000000011001110000000000100000
17 1111111111111111110111111111111111011111111111111110101111111111
17 0000001000000000000000000000000000001000000000100000000000000000
17 0001000000010000000...

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: 66ms
memory: 4412kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
18 0000001010010100000000000000000000000010000000000000001000000000
18 1000001100000000000000000100000001000000010000000000000001000000
18 0100000001000000000000000100000000000000111101010100000001000000
18 1111111111111110111111101111111000001000111111111111111011111110
18 0001000000010000000...

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: 55ms
memory: 4408kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
19 1100101000000000000000000000000000000010000000000000001000000000
19 0010000000000000000000000000000000000000011001110000000000100000
19 1111111111111111110111111111111111011111111101011111111111111111
19 0010000000000000000000000000000000000000000100010000000000000000
19 1101001111111111111...

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: 53ms
memory: 4404kb

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

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
20 1100101000000000000000000000000000100000000000000010000000000000
20 1111111111111110000011001111111111111111111111111111111011111111
20 0000000100000001000000000000000100000000000000010000000111010111
20 1000000000100000000000000000000000000000001000000000000000000000
20 0010000000100000000...

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: 48ms
memory: 4288kb

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

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
21 0000100010010100000000000000000000001000000000000000100000000000
21 1111111100000110101111111111111111111111111111111011111111111111
21 1111111111111111111101111111111111110111111111111111111111010111
21 1111111111011111110111111101111111011111110111111101111101000100
21 0000000100000001000...

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: 57ms
memory: 4372kb

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

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
22 1100101011101111111011111110111111111111111011111111111111101111
22 0010000000000000000000000000000000000000011001110000000000100000
22 1101011100000100000000000000010000000000000001000000010000000100
22 1111111111110111111101110000010011110111111111111111011111110111
22 1111111111111111010...

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: 54ms
memory: 4360kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
23 1100101000000000000000000000000000001000000000000000100000000000
23 0000001000000000000000000000000000000000011001110000000000000010
23 1101011100001000000000000000100000000000000010000000100000001000
23 1000000011111111101111111011111110111111111111111011111110111111
23 1101001111111111111...

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: 53ms
memory: 4268kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
24 0000001000000010000000000101000000000010000000000000001000000000
24 0000100000000000000000000000000000000000011001110000000000001000
24 1000000010000000000000001000000000000000100000001000000011010111
24 0000000100000000000000000000000000000000000000000010001000000000
24 0000010010100111000...

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: 45ms
memory: 4344kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
25 0010000000100000001010000000000000100000000000000010000000000000
25 0000000100000000000000000001100100000001000000010000000000000001
25 0010000000100000010111100010000000000000001000000010000000100000
25 1111111111011111110111111101111100001000111111111101111111011111
25 1111111111111111101...

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: 59ms
memory: 4420kb

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

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
26 1111111111111111111110110101000011111111111110111111111111111011
26 0000001000000000000011000000001000000010000000100000000000000010
26 1101011111111111111101111111111111110111111111111111111111111111
26 1000000011111111011111110111111101111111111111110111111101111111
26 1111111111111111111...

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: 51ms
memory: 4452kb

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

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
27 0000100000001000000000000000000010100001000000000000100000000000
27 1000001110111111101111111111111111111111111111111011111111111111
27 0000100010101111000000000000100000000000000010000000100000001000
27 1111111111101111000000101110111111101111111111111110111111101111
27 1000000010000000000...

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: 53ms
memory: 4376kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
28 1111111111111111111101111111011110100001111101111111111111110111
28 1111111111011111000011001111111111111111111111111101111111111111
28 1111111111111111010111101111111111011111111111111111111111111111
28 1111111111111110111111101111111011111110111111100010001011111110
28 1111111111111111110...

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: 54ms
memory: 4264kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
29 1100101011111110111111101111111011111111111111101111111111111110
29 1111111111111011111110111111101111111011111110111100111011111111
29 1111111111111111010111101111111111101111111111111111111111111111
29 1111111110111111000000101011111110111111111111111011111110111111
29 0001000000010000000...

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: 44ms
memory: 4348kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
30 0000010000000100001010000000000000000100000000000000010000000000
30 0010000000000000000000000000000000000000000000000010000010011101
30 1111111111111111101111111011110110111111111111111111111111111111
30 1111111101111111011111110111111100001000111111110111111101111111
30 0000000100000001000...

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: 49ms
memory: 4804kb

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

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
31 1111111111111111111111011111110111111111111111011111111100001010
31 0000001000000110000000000000001000000010000000100000000000000010
31 0100000010101111000000000100000000000000010000000100000001000000
31 0000000100000000000000000000000000000000000000000000000001000100
31 0000001010100111000...

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: 54ms
memory: 4876kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
32 1000000010000000000000000101000010000000000000001000000000000000
32 1000000000000110000000001000000010000000100000000000000010000000
32 1111111111111111010111101111111111111110111111111111111111111111
32 1111111111111101111111011111110100001000111111111111110111111101
32 1111111111111111111...

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: 57ms
memory: 4976kb

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

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
33 1111111111111111011111110111111110100001011111111111111101111111
33 0000000100000000000000000000000000110011000000010000000000000001
33 1111111111111111111011111111111111101111111111111111111111010111
33 1000000011111111110111111101111111011111111111111101111111011111
33 0000010010100111000...

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: 48ms
memory: 4968kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
34 1111111111111111001010001110111111111111111011111111111111101111
34 1111111111011111110111111101111111011111110111111100111011111111
34 1111111111111111111111011111111101111010111111111111111111111111
34 1000000000000000000000000000010000000000100000000000000000000000
34 1111111111111111111...

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: 49ms
memory: 4872kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
35 0010000000100000000000000000000010100001000000000010000000000000
35 0010000000000000000000000000000000000000011001110000000000100000
35 1111111111111111101111111111111110111111111101011111111111111111
35 1000000000000000000000100000000000000000100000000000000000000000
35 1111111111111111111...

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: 50ms
memory: 4868kb

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

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
36 1111111111111111001010000111111111111111011111111111111101111111
36 0010000000000000000000000000000000000000011001110000000000100000
36 0100000001000000000000000100000000000000010000001110101101000000
36 0000000100000001000000000000000000000000000000010000000000000000
36 1111111111111111011...

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: 49ms
memory: 4824kb

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

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
37 0000001000000010000000000000000000000010000000000000001000001010
37 1111111111111101111111010001100111111111111111111111110111111111
37 0000001000000010010111100000001000000000000000100000001000000010
37 1111111100000001111011111110111111101111111111111110111111101111
37 1111111111111111111...

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: 58ms
memory: 4940kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
38 1100101011111101111111011111110111111111111111011111111111111101
38 1000001111111110111111101111111111111111111111111111111011111111
38 0000001000000010010111100000001000000000000000100000001000000010
38 0010000000000000000000000000010000000000001000000000000000000000
38 1111111111111111101...

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: 47ms
memory: 4952kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
39 1100101000000000000000000000000001000000000000000100000000000000
39 0000001000000000000011000000001000000010000000100000000000000010
39 0000000110101111000000000000000100000000000000010000000100000001
39 1111111111111110111111101111111000001000111111111111111011111110
39 0000010000000100000...

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: 50ms
memory: 4816kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
39 1100101000000000000000000000000000000001000000000000000100000000
39 0000001000000000000000000000000000000000000000001100111000000010
39 1111111111111111111110111011110111111011111111111111111111111111
39 0000100000000000000000000000000000000000000100010000000000000000
39 0000100000001000000...

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: 48ms
memory: 4932kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
40 1111111111111111111111101111111011111111111111101000010111111110
40 1111111111111101111111011111110111111101111111011100111011111111
40 1111111111111111111111011011110111111101111111111111111111111111
40 0000010000000001000000000000000000000000000001000000000000000000
40 1000000010000000000...

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: 53ms
memory: 4936kb

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

1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
40 1111111111111111101111111011111111111111101111111111111100001010
40 1111111101111111000011001111111111111111111111110111111111111111
40 1111111111111111011111111011110101111111111111111111111111111111
40 1000000011111111111101111111011111110111111111111111011111110111
40 1111111111111111010...

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: 53ms
memory: 4800kb

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

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
41 0000100000001000000000000000000000001000010000100000100000000000
41 1111111111111011111110111111101111111011011001111111101111111111
41 1111111111111111010111101111111101111111111111111111111111111111
41 0001000000000001000000000000000000000000000100000000000000000000
41 0000000100000001000...

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: 54ms
memory: 4952kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
41 0000100000001000000000000000000010100001000000000000100000000000
41 0010000000000000000000000000000000000000000000000010000010011101
41 1101011110000000000000001000000000000000100000001000000010000000
41 1000000000000000000000000000000000000000000100010000000000000000
41 0010000010100111000...

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: 60ms
memory: 4904kb

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

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
...

Manager to Bruno

20000
42 0000001000000010000000000000000000000010010000100000001000000000
42 1111111111111101111111011111110111111101111111011100111011111111
42 1000000010000000000000001000000000000000111101011000000010000000
42 1111111111111110111111101111111011111110111111101111111001000100
42 0100000001000000010...

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: 55ms
memory: 4876kb

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

1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
42 1111111111111111101111111011111111111111101111111111111100001010
42 0001000000000000000011000001000000010000000100000000000000010000
42 1111111111111111111110111111111111111011111111111110101111111111
42 0010000000000000000000100000000000000000001000000000000000000000
42 1111111111111111111...

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: 51ms
memory: 4884kb

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

0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
43 0000000100000001000000000000000000000001000000001000010100000000
43 1111111111101111111011110001100111111111111111111110111111111111
43 1101011100001000000000000000100000000000000010000000100000001000
43 0100000000000001000000000000000000000000010000000000000000000000
43 0000010000000100000...

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: 53ms
memory: 4816kb

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

0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000
1111111111111111111111111111111111111111111111111
...

Manager to Bruno

20000
43 0010000000100000000000000000000000100000000000001000010100000000
43 0010000000000000000000000000000000000000000000001100111000100000
43 0100000001000000010111100100000000000000010000000100000001000000
43 1111111111011111110111110000010011011111111111111101111111011111
43 0000010000000100010...

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