QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#490702#6341. The Last BattleUnforgettablepl71 51ms5740kbC++204.2kb2024-07-25 16:09:002024-07-25 16:09:00

Judging History

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

  • [2024-07-25 16:09:00]
  • 评测
  • 测评结果:71
  • 用时:51ms
  • 内存:5740kb
  • [2024-07-25 16:09:00]
  • 提交

Anna

#include "Anna.h"
#include <bits/stdc++.h>
using namespace std;

const int maxN = 43;
const int COPIES = 3;

namespace {

int possget(int a,int b){
	int curr = 0;
	for(int i=0;i<4;i++){
		for(int j=0;j<4;j++){
			if(i==a and j==b)return curr;
			curr++;
		}
	}
}

vector<vector<pair<int,int>>> alignment = {
	{{0,0},{1,1},{2,2}},
	{{0,7},{1,6},{2,5}},
	{{5,5},{6,6},{7,7}},
	{{7,0},{6,1},{5,2}},
};
vector<pair<int,int>> readr = {
	{2,0},
	{2,6},
	{4,6},
	{4,0},
};

}

void Anna(int X, int Y, int N, string S) {
	int currpos = possget(X%4,Y%4);
	int currbest = -1;
	vector<vector<bool>> skip(8,vector<bool>(8));
	for(int i=0;i<8;i++)skip[i][Y]=skip[X][i]=true;
	if(X>=4 and Y>=4)currbest=0;
	else if(X>=4 and Y<4)currbest=1;
	else if(X<4 and Y<4)currbest=2;
	else if(X<4 and Y>=4)currbest=3;
	for(int i=0;i<4;i++){
		if(i==currbest){
			Paint(alignment[i][0].first,alignment[i][0].second,1);
			skip[alignment[i][0].first][alignment[i][0].second]=true;
			Paint(alignment[i][1].first,alignment[i][1].second,1);
			skip[alignment[i][1].first][alignment[i][1].second]=true;
			Paint(alignment[i][2].first,alignment[i][2].second,1);
			skip[alignment[i][2].first][alignment[i][2].second]=true;
			Paint(readr[i].first,readr[i].second,min(1,currpos&(1<<0)));
			skip[readr[i].first][readr[i].second]=true;
			Paint(readr[i].first,readr[i].second+1,min(1,currpos&(1<<1)));
			skip[readr[i].first][readr[i].second+1]=true;
			Paint(readr[i].first+1,readr[i].second,min(1,currpos&(1<<2)));
			skip[readr[i].first+1][readr[i].second]=true;
			Paint(readr[i].first+1,readr[i].second+1,min(1,currpos&(1<<3)));
			skip[readr[i].first+1][readr[i].second+1]=true;
		} else {
			for(int j=0;j<3;j++){
				if(!skip[alignment[i][j].first][alignment[i][j].second]){
					skip[alignment[i][j].first][alignment[i][j].second]=true;
					Paint(alignment[i][j].first,alignment[i][j].second,0);
					break;
				}
			}
		}
	}
	long long num_to_write = 0;
	for(int i=0;i<S.size();i++)if(S[i]=='B')num_to_write|=(1ll<<i);
	int bit = 0;
	for(int i=0;i<8;i++){
		for(int j=0;j<8;j++){
			if(skip[i][j])continue;
			Paint(i,j,min(1ll,num_to_write&(1ll<<bit)));
			bit++;
		}
	}
}

Bruno

#include "Bruno.h"
#include <bits/stdc++.h>
using namespace std;

const int maxN = 43;
const int COPIES = 3;

namespace {

pair<int,int> possget(int x){
	int curr = 0;
	for(int i=0;i<4;i++){
		for(int j=0;j<4;j++){
			if(curr++==x)return {i,j};
		}
	}
}

vector<vector<pair<int,int>>> alignment = {
	{{0,0},{1,1},{2,2}},
	{{0,7},{1,6},{2,5}},
	{{5,5},{6,6},{7,7}},
	{{7,0},{6,1},{5,2}},
};

vector<pair<int,int>> readr = {
	{2,0},
	{2,6},
	{4,6},
	{4,0},
};

}

string Bruno(int N, vector<vector<int>> T) {
	int currbest = -1;
	for(int i=0;i<4;i++){
		bool works = true;
		for(int j=0;j<3;j++){
			if(T[alignment[i][j].first][alignment[i][j].second]==0)works=false;
		}
		if(works)currbest=i;
	}
	int currpos = 0;
	currpos|=(T[readr[currbest].first][readr[currbest].second]<<0);
	currpos|=(T[readr[currbest].first][readr[currbest].second+1]<<1);
	currpos|=(T[readr[currbest].first+1][readr[currbest].second]<<2);
	currpos|=(T[readr[currbest].first+1][readr[currbest].second+1]<<3);
	auto [X,Y] = possget(currpos);
	if(currbest==0){X+=4;Y+=4;}
	else if(currbest==1)X+=4;
	else if(currbest==3)Y+=4;
	vector<vector<bool>> skip(8,vector<bool>(8));
	for(int i=0;i<8;i++)skip[i][Y]=skip[X][i]=true;
	for(int i=0;i<4;i++){
		if(i==currbest){
			skip[alignment[i][0].first][alignment[i][0].second]=true;
			skip[alignment[i][1].first][alignment[i][1].second]=true;
			skip[alignment[i][2].first][alignment[i][2].second]=true;
			skip[readr[i].first][readr[i].second]=true;
			skip[readr[i].first][readr[i].second+1]=true;
			skip[readr[i].first+1][readr[i].second]=true;
			skip[readr[i].first+1][readr[i].second+1]=true;
		} else {
			for(int j=0;j<3;j++){
				if(!skip[alignment[i][j].first][alignment[i][j].second]){
					skip[alignment[i][j].first][alignment[i][j].second]=true;
					break;
				}
			}
		}
	}
	string ans;
	for(int i=0;i<8;i++){
		for(int j=0;j<8;j++){
			if(skip[i][j])continue;
			if(ans.size()==N)break;
			if(T[i][j])ans.insert(ans.end(),'B');
			else ans.insert(ans.end(),'A');
		}
	}
	return ans;
}

詳細信息

Test #1:

score: 100
Accepted
time: 40ms
memory: 4340kb

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

0000000000000000000001100000101000001000001000000
0000000000000000000000000011000010100000100000001
0000000000000000000000000010000010000000100000001
0000000000000000000000000010000011000000100000001
1000000010000000100001100000000000000000000000000
0000000000000000000000000011000010100000100000001
...

Manager to Bruno

20000
1 0000000110010100000000000000000011000001101000000100000110000000
1 0001000000000000000011000001000000010011000101010000001000010001
1 1101011101000000000000000100000000000010010001000100001001000001
1 0100000000000001000000000000000000000010010001100000001000000001
1 100010000100100000100000...

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: 100
Accepted
time: 40ms
memory: 3968kb

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

0000000000000000000000100000111000001000001000000
1110000010000001100000100000000000000000000000000
1000000010000001100001100000000000000000000000000
0110000000000000000001100000011000001000001000000
0110000000000000000001100000011000001000001000000
1110000010000000100000100000000000000000000000000
...

Manager to Bruno

20000
2 0000001000000010000000000101000001000010111000000100001010000000
2 1110001001000000011000000100000000000000000000001100111000000010
2 1000001001000010011000001100001000000000000000100000001011010111
2 0110000100000000000000100000000011000000011000010100000010000000
2 011000010000000101001110...

Bruno to Manager

AA
BB
AA
BB
BB
BB
BB
BB
BB
BB
BB
BB
BB
BB
AA
AB
BB
AB
AA
BB
BB
AB
BB
BB
AA
BA
BA
AB
BB
BA
AA
BB
BA
BB
AA
BB
AB
AA
BB
BB
AA
AA
BA
AB
AB
AA
BA
BB
AB
BB
AB
BB
BB
BB
BB
BB
AB
BB
BB
AB
BB
BB
BB
BB
BB
AB
BB
AA
BB
BA
BB
BB
BB
AA
BB
BA
AA
BA
BB
BA
BB
BB
BA
BB
BB
AA
BB
BB
AA
BB
AA
BB
BA
AA
BB
BB
BB
AB
BB
BB
...

result:

points 1.0 Accepted: 43

Test #3:

score: 100
Accepted
time: 41ms
memory: 4080kb

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

1000000010000010100000000000000000000000000000000
1000000010000010100000100000000000000000000000000
0100001000001000001010000001000000000000000000000
1010000010000011100000000000000000000000000000000
1001000010000001100001000000000000000000000000000
0110001000001000001000000000000000000000000000000
...

Manager to Bruno

20000
3 1000010001000100101000000000000010100001000000000000010000000000
3 1000010001000000101000000100000000000000000000001100111000000100
3 0110000100100010000001010010000100000000001000001110101100100000
3 1010000101000000111000000000000000001000000000010000000000000000
3 100100100100001001100000...

Bruno to Manager

AAA
AAA
BAA
ABA
AAB
ABB
BAB
BBB
ABA
AAA
AAA
AAB
AAA
AAA
AAA
AAA
ABA
AAA
BBB
ABB
AAA
ABB
AAA
AAA
BBB
BAA
BBB
BBA
BAA
BBB
AAA
BBA
AAA
AAA
ABB
BAB
ABA
AAA
BBB
AAA
ABA
BBB
ABB
AAA
BAB
AAA
AAA
BBA
AAA
ABA
AAA
AAA
AAA
BBB
BBB
ABB
AAA
ABA
AAA
AAA
BBB
BBB
BBB
BBB
AAA
BBB
AAA
AAB
BBB
BBA
BBB
AAA
ABB
AAA
AAA
...

result:

points 1.0 Accepted: 43

Test #4:

score: 100
Accepted
time: 42ms
memory: 4324kb

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

0110101000001000001110000011000000000000000000000
0010100000000000000001000000011000001000001000000
0010000000000000000000100000111000001000001000000
0001000000000000000000000000111000001000001000000
1001000010000010100000000000000000000000000000000
1100000010000011100001000000000000000000000000000
...

Manager to Bruno

20000
4 0111010100010010000001110000001100010000000000000001000000001010
4 0010110000000000000011000000010010000100011001000100000010000100
4 0010001000000010000000001011110101000000111000100100001010000010
4 0001100000000000000000000000010000000000111010000100000010000000
4 100101000100010010100000...

Bruno to Manager

BBAB
ABAB
ABAA
AABA
AABA
BAAA
BAAA
AABA
AAAA
AABA
AABA
AABA
AABA
BAAB
BBBB
AAAA
AAAA
AABA
BBBB
BBBB
AABA
AAAA
AABA
AABA
AABA
AABB
AABA
AABA
BBBB
AABA
BBAB
AABA
AABA
ABAA
AAAA
BBBB
AABA
AABB
AAAB
ABBB
BBBB
AAAA
BBBB
BBBA
BBBB
AABA
AABA
BBBB
AABB
AAAB
BBBB
ABAA
BBBB
AAAB
BABA
AAAB
AAAA
BBBB
BBAB
AABA
...

result:

points 1.0 Accepted: 43

Test #5:

score: 100
Accepted
time: 43ms
memory: 3924kb

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

0111110000000000000000100000111000001000001000000
1110101000001000001000000010000000000000000000000
0100000000000000000001100000011000001000001000000
0111111000001000001010000011000000000000000000000
0100010000000000000000000000011000001000001000000
1111100000000000000000000000000011100000100000001
...

Manager to Bruno

20000
5 0111111000000010000000000101000001000010111000000100001010000000
5 1111010100000010000001000000001000000000011001110000000010000000
5 0100000100000001010111100000000111000000011000010100000110000001
5 0111111100000010000001010000001100000000000000000000000001000100
5 010010100000100001001110...

Bruno to Manager

BBBBB
BBBAB
BAAAA
BBBBB
BAAAB
BBBBB
BBBBB
BBABB
BAABA
AAAAA
AAAAA
AAAAB
BAABA
BBBBB
ABABB
BBBAA
AAAAA
BAABA
AABAB
AAAAB
AAAAA
BAAAB
BBABB
BBABB
BAABA
AABBB
BBBBB
BBBBA
BAABA
BBBBB
AAABA
AAAAA
ABBBA
AAAAA
AABAA
BAABA
BAABA
BAABA
AAABA
BAABB
BAABA
AABAA
BBBAA
BABBB
BAABA
BBBBB
BBBBB
AAAAA
AAAAA
BBBBB
...

result:

points 1.0 Accepted: 43

Test #6:

score: 100
Accepted
time: 34ms
memory: 3956kb

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

1000001010000011100000100000000000000000000000000
0011111000000000000001100000011000001000001000000
0001001000001000001010000010000000000000000000000
0101111000001000001110000010000000000000000000000
0010000000000000000000000000000010100000100000001
0001101000001000001000000001000000000000000000000
...

Manager to Bruno

20000
6 1000001101000001111000000100000000000001000000001000010100000000
6 0011111100000000000011000000000111000001011000010100000010000001
6 0010100100100010000001010010001000000000111101010010000000100000
6 0101111100000010000001110000001000000000000100010000000000000000
6 100100001000000001001110...

Bruno to Manager

AAAAAB
ABBBBB
AABAAA
BABBBA
AABAAA
AAABBA
BAAAAA
BBBBBA
AABAAA
ABBAAA
ABAABA
BBBBBB
AAAABA
BBBBBB
AAAAAB
AABAAA
AAAAAA
ABBBBB
AABAAA
BBBBBA
AABBAB
AABAAA
AAAAAA
AABAAA
AABAAA
ABBABB
ABBABB
BBBBBB
AAAAAA
BABBAB
AABBAB
AAAAAA
BAAAAA
BBAABB
AABBBA
ABAAAA
AABBBA
AAAAAA
AAAAAA
BBBBBB
BBBBBB
BBBABB
AABAAA...

result:

points 1.0 Accepted: 43

Test #7:

score: 100
Accepted
time: 43ms
memory: 4320kb

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

1100100010000000000000000000000010100000100000001
0000000000000000000000000000000011000000100000001
1011010111000001100001100000000000000000000000000
1110010011000000100001000000000000000000000000000
1110000010000010100001100000000000000000000000000
0110010010000000000000100000101000001000001000000
...

Manager to Bruno

20000
7 1110010010100000001010000000000010000000000001011000001000000001
7 1000000000000110000000001000000010000000100001100000001010000001
7 1011011011100010011000001100001000000000000000100000001011010111
7 1110101001100000001000001000000000000000000100010000000000000000
7 111001000100010010100000...

Bruno to Manager

BBAABAB
AAAAAAA
ABBABBB
BBAABAB
BBAAAAA
BBAABAB
BBBABBB
BBBBBBB
BBAABAB
BABAAAB
BBBBABA
BBAABAB
BBAABBB
BBBABBB
AAAAAAB
BABAAAB
BBAABAB
BBAABAB
BBAABAB
ABBBAAB
BBAABAB
BBAABAB
BBAABAB
BBAABAB
BAAAAAB
BAAAABA
BBAABAB
BBBBBBB
BBAABAB
BAABBBA
AABBBBA
AAABBAB
BBBBBAB
ABBAABB
BBAABAB
BBAABBB
AAAAAAA
BAAB...

result:

points 1.0 Accepted: 43

Test #8:

score: 100
Accepted
time: 42ms
memory: 3880kb

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

0001011100001000001100000000000000000000000000000
0010111001001000001100000011000000000000000000000
1010010100000000000000000000000011000000100000001
0001010100000000000000000001000011100000100000001
0000100000000000000000000010000011100000100000001
0000000000000000000000000000111000001000001000000
...

Manager to Bruno

20000
8 0100101111000010000001100000000010100001000000000100000000000000
8 0101011100010010000001100000001100000000000000000100000010011101
8 1101001010101111010000001000000000000000100001101000001010000001
8 0010101010000000000000000000010000000001001001110000001000000001
8 010001000100000000000000...

Bruno to Manager

AABABBAA
ABABBAAB
BABAABBA
AABABBAA
AAABAAAA
AAAAAAAA
BBBBBBBA
AABBAAAA
BBBBABBB
AABABBAA
BBBBBBBB
BBBBBBBB
BAABBABB
BABABAAA
AABABBAA
AABABBAA
AABABBBB
AAAAAAAA
BAAABBAA
AABABBAA
AABABBAA
AABABBAA
AABABBAA
AABAABAA
AABABBAA
BBBBBBBA
ABBAABAB
BBAAABBB
ABBBAABA
AABABBAA
AABABBAA
BBBBBBBB
AABABBAA
AAB...

result:

points 1.0 Accepted: 43

Test #9:

score: 100
Accepted
time: 42ms
memory: 3972kb

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

0011001111101000001100000010000000000000000000000
0011000111100000000000100000101000001000001000000
0000000000000000000000100000011000001000001000000
0111110111100000000001000000111000001000001000000
0001101000101000001000000001000000000000000000000
0111110111000000000000000011000011100000100000001
...

Manager to Bruno

20000
9 0101100111111010000001100000001001000000010000100100000000000000
9 0011001000000110111100000000001001000010101000100100000010000010
9 0000001000000010010111100000001001000000011000100100001010000010
9 0111111011110000000000000000010010000000111001000100000010000000
9 100011011000101000000100...

Bruno to Manager

ABBAABBBB
ABBAABBBB
AAAAAAAAA
BBBBBBBBB
AAABBAAAB
BBBBBBBBA
BBBBBAABB
AAAAAAAAA
BABBBBBAB
BBBBBBBBB
AAABAAAAA
ABBAABBBB
BABBBAABB
AAAAABBAA
AAAAAAAAA
AABABBAAB
AABBAAAAA
AAAAAAAAA
ABBAABBBB
AAAABABBA
ABAAAAABA
ABBAABBBB
BAAAAABAB
ABBAABBBB
ABBAABBBB
ABBBABABA
BBABBBABB
AAAAAAAAA
BAAAAAAAA
ABBAABBBB
...

result:

points 1.0 Accepted: 43

Test #10:

score: 100
Accepted
time: 43ms
memory: 4092kb

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

1111110000110000000000000000000011100000100000001
1011101011110000000000000000001000001000001000000
1110100101000000000000000000000011000000100000001
0111000111100000000000100000101000001000001000000
0000100000010000000000000000001000001000001000000
0111111001011000001000000001000000000000000000000
...

Manager to Bruno

20000
10 1111111010001100000000000101000010000000000001111000001000000001
10 1000001110110101011101000000100000001000001010000100000010001000
10 1111010010101111010100001000000000000000100001101000001010000001
10 0111001000000001111100000000000001000000101000100100000010000000
10 1101001100001100000...

Bruno to Manager

BBBBBBAABB
BBBBBABBBB
BBBABABBAA
BBBAABBBBA
AAABAAAAAB
ABBBBBABAB
BBBBBBBBBB
ABBBBBBBAB
BABBBABABA
BABABABABB
BBBABABBAA
BBABABAAAA
BBBABABBAA
BBBBBBBBBB
BBBBBBBBBB
BBBABABBAA
BBBBBABBBB
BBBABABBAA
BBBABABBAA
BBBBBBBBBB
AABABAAAAA
ABBBABBBAA
ABAAAAABAA
AAAAAAAAAA
BBBABABBAA
BBBBBABBAB
BBBABABBAA
BBB...

result:

points 1.0 Accepted: 43

Test #11:

score: 100
Accepted
time: 43ms
memory: 4080kb

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

1001001000011100001000000011000000000000000000000
0101100100000000000000000010000010100000100000001
0101101100111000001010000011000000000000000000000
0101101100111000001110000010000000000000000000000
1101101010110011100001000000000000000000000000000
0010100000011000000000000000011000001000001000000
...

Manager to Bruno

20000
11 1100100110000111000001000000001110000000000000001000000000001010
11 0110110010000000000011000100000001000010010001010000001001000001
11 0110110110101110000001010010001100000000001000000010000011010111
11 0101110110001110000001110000001000000000000100010000000000000000
11 1101101101011001111...

Bruno to Manager

BAABAAAAABB
BABBABAAAAA
BABBABAABBA
BABBABAABBA
BABBABAABBA
ABABAAAAABB
BBBBBABBBBB
ABABAAABABB
AAAAAAAAAAA
BABBABAABBA
ABABAAABABB
BABBABAABBA
AABBABBBABB
AAAAABAAAAA
BABBABAABBA
ABAAABBAAAA
AAAAAAAAAAA
BAABBBABBAB
AAAAAAAAAAA
ABBBABABBBB
AAAAABAAAAA
AAAAAABABAA
BABBABAABBA
BABBABAABBA
BABBABAABBA
...

result:

points 1.0 Accepted: 43

Test #12:

score: 100
Accepted
time: 43ms
memory: 4080kb

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

0000000101000000000000000011000010000000100000001
0000100010110000000001100000111000001000001000000
0111110110111100000001000000101000001000001000000
1110001111001011110001000000000000000000000000000
0000100010110000000001100000111000001000001000000
1100010010110100000000000000000010100000100000001
...

Manager to Bruno

20000
12 1100101000000000101000000000000000010011000001000001001000000001
12 0000100101011000000000000001100111000001111000010100000010000001
12 0111111010101111110110110000010010000000101001000100010010000100
12 1110001111100100111100001000000000000000000100010000000000000000
12 0000100101011001000...

Bruno to Manager

AAAAABABAAAA
AAABAAABABBA
BBBBBBBABBBB
BBAAABBBAABB
AAABAAABABBA
BBAAABBABBAB
AAAAAAAAAABA
AAABAAABABBA
AAAAABAAAAAB
AAABAAABABBA
BBBBBBBBBAAB
AAABAAABABBA
BABBBABAAABA
AAABAAABABBA
AAABAAABABBA
AAAAAAAAAAAA
AAABAAABABBA
AAABAAABABBA
AAABAAABABBA
AAABAABAABAA
AAABAAABABBA
AABAABAABAAB
BBAABBBAABBB
B...

result:

points 1.0 Accepted: 43

Test #13:

score: 100
Accepted
time: 43ms
memory: 3924kb

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

0111111111111111001100000001000000000000000000000
0001111010111111001000000000000000000000000000000
1000110111011110111000000000000000000000000000000
1000110111011110111000000000000000000000000000000
0000100001000110000000000000101000001000001000000
0000001000011000001100000001000000000000000000000
...

Manager to Bruno

20000
13 0111111111111111101001100000000101000000000000001000010100000000
13 1000111100101111011001000000000000110011100000000000000010000000
13 1000111011101111101110000000010001111010000001000000010000000100
13 1000111011101011101110000000000000001000000001000000000000000000
13 0000110010100111001...

Bruno to Manager

BBBBBBBBBBBBB
AAABBBBABBBBB
AAABBBBABBBBB
AAABBBBABBBBB
AAABAAABAAABB
AAAAAAAAABAAA
BBBBBBBBBBBBB
AABBABABAAABA
BBBBBABBBBABB
BBBBABBAABBAB
AAAABAAAAABAA
AAABBBBABBBBB
AAAAAAAAAAAAA
AAAAAAAAAAAAA
AAABBBBABBBBB
BBBBBABBBBBBB
BAAABBBBABBBB
BABAABBAAAABB
AAAAAAABAAAAA
BBBBABBABBAAB
AAABBBBABBBBB
AAAABB...

result:

points 1.0 Accepted: 43

Test #14:

score: 100
Accepted
time: 43ms
memory: 4080kb

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

0000001000001000001000000010000000000000000000000
1000000010000001100001000000000000000000000000000
1010010110101001110000000000000000000000000000000
0111110000011010000001000000111000001000001000000
0111110000011010000001000000111000001000001000000
1011101111110101000001000000001000001000001000000
...

Manager to Bruno

20000
14 1000000110000010000001000000001010000000010000101000000000000000
14 1000001001000000011000001000000000000000011001110000000000000010
14 1010011011010110011100000000001001111010000000100000001000000010
14 0111111000001010100000000000010010000000111001000100000010000000
14 0111111000001110100...

Bruno to Manager

AAAAAAAAAAAAAA
AAAAAAAAAAAAAA
ABAABBABABABAA
BBBBBAAAABBABA
BBBBBAAAABBABA
BBBBBBBBBBABAB
BBBABBBBBBBABB
BBBBBBBBBBBBBB
BABAABBBBBBBAB
ABBABBBABBBBBA
AAAAAAAABAAAAA
BBBBBBBBBBBBBB
BBBBBAAAABBABA
BABAAAABABAABA
ABBBBABBBBBBBB
BAAAAAAAAABAAA
AAAAAABAAAAAAA
ABBBAABAABBAAA
AAAAAAABABAAAA
BBBBBAAAABBABA
...

result:

points 1.0 Accepted: 43

Test #15:

score: 100
Accepted
time: 44ms
memory: 4324kb

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

0000001000001000101000000011000000000000000000000
1001000010101000111000100000000000000000000000000
0110111010111101101100000000000000000000000000000
1000010110110000110010000000000000000000000000000
0000001000101100001100000010000000000000000000000
1000000010000000100000000000000000000000000000000
...

Manager to Bruno

20000
15 1000000110000010000101000000001110000000000000001000000000001010
15 1001100001010010001101000100000000000000000000001100111000001000
15 0111011101101111001101100100000001111010010000000100000001000000
15 1000101011010100001100010000000000001000000010000000000000000000
15 0100000101001011000...

Bruno to Manager

AAAAAAAAAAAAABA
AABAAAABABABBAA
BBABBABABBBABBA
AAAABBABBAABAAB
AAAAAAAABABAAAA
AAAAAAAAAAAAAAA
BBBBBBBBBBBBBAB
BBBABBBBBBBBBAB
AAAAABAAAAABBAB
BAABAABABBABBBB
BAAABBABABBBABB
ABBAABBABBBAABB
BBBBBBBBBBABBBB
BBBAABBABBBBBBB
BAABAABABBABBBB
BAABAABABBABBBB
AAAAAAAAAAAAAAA
BAABAABABBABBBB
BAABAABABBAB...

result:

points 1.0 Accepted: 43

Test #16:

score: 100
Accepted
time: 41ms
memory: 5020kb

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

1111110111101011101110110000000000000000000000000
0010001000001001001111000000000000000000000000000
0101100111111101100000100000011000001000001000000
0100100010001011100000000000011000001000001000000
0010110000100111110001100000101000001000001000000
0110101101101010111110000011000000000000000000000
...

Manager to Bruno

20000
16 1111110111110101111011100110000000000001000000001000010100000000
16 0011000100000010010001111000000000110011000100000000000000010000
16 0101101011111111010111100110001001000000011000100100001010000010
16 0100110001000010000000101110000000000000011010000100000010000000
16 0010110110100111000...

Bruno to Manager

BBBBBABBBABABBBB
ABAAAAAAAAAABAAB
BABBABBBBBBBABBA
BAABAABAAABABBBA
ABABBAAAABABBBBB
BBABABABBAABABBA
ABBBBBBBBBBBBBBA
AABAAAAABABAAABA
BBABBBBBABBBABBA
BBABABABBAABABBA
BBBBBBBBBABABABB
BBABABABBAABABBA
AAAAAAAAAAAAAAAA
BBABABABBAABABBA
AABBBAAAAAABBBAB
BBABABABBAABABBA
BBABABABBAABABBA
ABBABABBAAA...

result:

points 1.0 Accepted: 43

Test #17:

score: 100
Accepted
time: 44ms
memory: 5136kb

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

1000110011111110101001100000000000000000000000000
0111111111111111111011100010000000000000000000000
0000111011111101001010000001000000000000000000000
1111110011111101110110010000000000000000000000000
0110111111111111101111100000000000000000000000000
1000110111111011101000000000000000000000000000000
...

Manager to Bruno

20000
17 1000111001111111101010001100000000000100000000000000010000001010
17 0111111111011111110111011100001000000000011001110000000000100000
17 0010011101111111010001010010000100000000001000001110101100100000
17 1111111001111101011101010010000000001000000000100000000000000000
17 0111011111111111111...

Bruno to Manager

AAABBABBBBBABAAAA
BBBBBBBBBBBBBBBBB
AAABBABBBBBABAAAA
BBBBBABBBBBBABBBA
BBABBBBBBBBBBBABB
AAABBABBBBBABAAAA
AAAAABBAAAABBAAAB
BBBBBBBBBBBBBBBBB
AAABBABBBBBABAAAA
ABBBAABABBABBBBAB
BBBBBBBBBBBBBBBBB
AAAAAAAABAAAAABBA
AAAAABBABBABAAABA
BABAABABAABABAAAA
BAAABBBABAABABABB
AABABAAAAAABBABAA
BBBBABBBBBBB...

result:

points 1.0 Accepted: 43

Test #18:

score: 100
Accepted
time: 45ms
memory: 5020kb

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

0110110111101111111100100000101000001000001000000
1111101101111111111100000010000010000000100000001
0111111111111111111101110010000000000000000000000
1011001110000011111100001000000000000000000000000
0110111111111111111111110010000000000000000000000
0111110000101110001000000000000010100000100000001
...

Manager to Bruno

20000
18 0110111010010100111101011111110001000010101000000100001010000000
18 1000001110111101100111111111111001000010010001000000001001000001
18 0111111111111111101111101111001000000000111101010100000001000000
18 1011001111000000111111000001000000001000000000010000000000000000
18 0111011111111111111...

Bruno to Manager

BBABBBBBBABBBBBBBB
BBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBB
ABBAABBAAAABBBAABA
BBABBBBBBBBBBBBBBB
ABBBBBAABABBBAAABA
BBBBBABBBBBBBBBBBA
ABBAABBAAAABBBAABA
AAAAAAAAAAAAAAAAAA
ABBBBBBABBBBBBAAAB
AABBAABAAABAAAAABA
AAAAAAAAAABAABAAAA
ABBAABBAAAABBBAABA
BBBBBBBBBBBBBBBBBB
ABBBABBAAABBBBBBBA
BABAAAABAABAAAA...

result:

points 1.0 Accepted: 43

Test #19:

score: 100
Accepted
time: 42ms
memory: 5020kb

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

1001011111110111111100100000001000001000001000000
0110111011001001111010011010000000000000000000000
0011001101001100111011010010000000000000000000000
0110111011001001111010011010000000000000000000000
0000000000010000010000000000001000001000001000000
1100111000001000011000111011000000000000000000000
...

Manager to Bruno

20000
19 1100101010010101111110011111110001000010001000000100001010000000
19 0111011101010010010111010001101000000000011001110000000000100000
19 0011100110110011000111011011001000000000111101010010000000100000
19 0111011101010010010111010001101000000000000100010000000000000000
19 1101001100001000000...

Bruno to Manager

BABABBBBBBBBBBBBBBA
BBABBABBAAAABBBAABB
ABBAABABAABAABBBABA
BBABBABBAAAABBBAABB
AAAAAAAAABAAAAABAAA
BBAABBAAAAAAAABABBB
AAAABAAABAAAAAAAAAA
BABBBABABBBABBABBBB
BBBBAABABBBBBBBABAB
BBAAAABBABABABAABBA
ABAABABBBBBABABABBA
ABAAAAAAAAAAAAAAAAA
BBAABBBAABABBBBBAAB
AAAAAAAAAAAAAAAAAAA
ABAABAABAAAAAAAAABA
...

result:

points 1.0 Accepted: 43

Test #20:

score: 100
Accepted
time: 45ms
memory: 4984kb

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

1011101101011001000000000001000010000000100000001
0011011111010010010101100000011000001000001000000
1110001111111011111111111111000000000000000000000
1011101111111111111111000001000010000000100000001
0111111101011100101010000001000000000000000000000
0000001000001010001000000011000000000000000000000
...

Manager to Bruno

20000
20 1100101010011101100101100100000000100001000001000010001000000001
20 0011011111101000000011001001010111000001011000010100000010000001
20 1110001111111101111111101111111100000000000000010000000111010111
20 1000000010111101110111111101111110000001001001000000001000000001
20 0111111110110111000...

Bruno to Manager

BBBBBBABABBAABAAAAAA
ABBABBBBBABABAABABAA
BBAAABBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBB
BBBBBBABABBAABAAAAAA
AAAAAAAAAAABAAAAAAAA
BBBBBBABABBAABAAAAAA
AAAABBBBBAAAAAAABBBB
BBBBBBABABBAABAAAAAA
BBBBBBBBBBAAABBBBBBA
BBBBBBABABBAABAAAAAA
AAAABAAAAAAAAAABBAAA
BBBBBBABABBAABAAAAAA
BBBBBBABABBAABAAAAAA
AAAAAA...

result:

points 1.0 Accepted: 43

Test #21:

score: 100
Accepted
time: 46ms
memory: 4984kb

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

0100010100101001100000000000101000001000001000000
0011100000100110111000000010000011000000100000001
1011100010010000111011111000000000000000000000000
0011101000101011011011100011000000000000000000000
1110111110110011111110011011100000000000000000000
1000000000000001000000100010000010000000100000001
...

Manager to Bruno

20000
21 0100101010010100100100100110000000001000101000000100100010000000
21 0101110000000110000010011101110001000010010001100000001001000001
21 1011110001001100001101011111100000000000000010000000100011010111
21 0011110100001010110011011100001100000000000000000000000001000100
21 1110111111011001111...

Bruno to Manager

BAAABBAABABAABBAAAAAA
ABBBAAAABAABBABBBAAAA
ABBBAAAABAABBABBBAAAA
ABBBAAAABAABBABBBAAAA
BBABBBBABBABBBBBBABBB
BAAAAAAAAAAAABAAAAAAB
AAAAAAAAAAAAAAAAAAAAA
BBAAABBABBBAAABBBAAAB
BBBBABAABBBBBBBABBABB
AABABABAABABBBBAABBAB
BBABBBBBBBABBBBBBBBAB
BBABBBBABBBABBABBBBBB
BBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBB...

result:

points 1.0 Accepted: 43

Test #22:

score: 100
Accepted
time: 46ms
memory: 5080kb

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

0010001000000010001110000011000010000000100000001
0100001100001000001010010010000000000000000000000
1011100111101101111101001000001000001000001000000
0010100010000000010000011000111000001000001000000
0000000100101001001000000010000010100000100000001
1110010111100100110101111101110000000000000000000
...

Manager to Bruno

20000
22 1100101000100001000000001000011100010011000001000001001000000001
22 0110000110000010000001010001001000000000011001110000000000100000
22 1101011110111100111100110111111010010000001001000100010010000100
22 0010110001000000000100000000010000110000111010000100000010000000
22 0100000011001010010...

Bruno to Manager

ABAABAAAAAAABAAABBBAAA
BAAAABAAAAAAAAAAABAAAA
BBBBABBBBABBABBBBBAABA
ABABAABAAAAAAAABAAABBA
AAAAABAABABAABAABAAAAA
BBAABBBBAABBABABBBABBB
ABAABAAAAAAABAAABBBAAA
ABAABAAAAAAABAAABBBAAA
AAAAAAAAAAAAAAAAAAAAAA
AAAAAAAABABABBBABBAAAB
ABAABAAAAAAABAAABBBAAA
ABAABAAAAAAABAAABBBAAA
AAAAAAAAAABBAAAAAAABAA
B...

result:

points 1.0 Accepted: 43

Test #23:

score: 100
Accepted
time: 46ms
memory: 5004kb

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

1010000010100100100000011000001000001000001000000
1111010010011001111111000011111000000000000000000
1011101111111101111110011110001000001000001000000
0011000000000010100000111010000010000000100000001
0000000000100000010000100000001000001000001000000
1111110111111110110110011111111000000000000000000
...

Manager to Bruno

20000
23 1100101010100000010100010010000000111000001000000100100010000000
23 1111011001001100011111011000010111100000011001110000000000000010
23 1101011110111101111101110111111100110110001010000100100010001000
23 1000000001011000000000001001000000111010010001000000001000000001
23 1101001100000010000...

Bruno to Manager

BBAAAABABAABAABAAAABBAA
BBBABAAABBABBBBAAABBBBB
BBBBBBBBBBBBABBBBBBBBBB
AABBAAAAAAAABABAAAAABBB
AAAAAAAAABAAAAABAAAAAAA
BBBBBBBBBBBBABBBBBBBBBB
BBBABAAABBABBBBAAABBBBB
BBBABAAABBABBBBAAABBBBB
AAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAABBAAAAAAABBAAB
ABBBABBBABABBBAABAABABA
BBBABAAABBABBBBAAABBBBB
BBBABAAABBAB...

result:

points 1.0 Accepted: 43

Test #24:

score: 100
Accepted
time: 47ms
memory: 4956kb

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

0100010101010100100100101110111000001000001000000
1100010110101000110011000100111000000000000000000
1000111001011010011000010011111000000000000000000
1111011110011011111110111111100100000000000000000
0101000010010001010101011101101000001000001000000
0010001000000001011000000011001000001000001000000
...

Manager to Bruno

20000
24 0100011010101011001001000101000001011110111000000100001010000000
24 1100101011010010001100011000010011100000011001110000000000001000
24 1100011110010110010011001001001101110000100000001000000011010111
24 1111011111001100111111100111111010010000000000000010001000000000
24 0101010010100111010...

Bruno to Manager

BAAABBABABABAABAABAABBBA
BAAABBABABABAABAABAABBBA
BAAABBABABABAABAABAABBBA
BBBABBBAABBBBBBBBBBBBAAB
BABAAABAABAAABABABABBBAB
ABAABAAAAAAAABABBAAAAABB
BBAAABABABBABABBBBBBAAAB
BAAAABAABABAABABABABAABA
ABBBBBBBBABBBBABBBBBBBBA
BAAABBABABABAABAABAABBBA
BAAABBABABABAABAABAABBBA
BBBBBABBABBABBBABBBBABBB
...

result:

points 1.0 Accepted: 43

Test #25:

score: 100
Accepted
time: 42ms
memory: 4936kb

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

0101000000011000000011000001100010100000100000001
0101000000110000000011110000111100001000001000000
0101000000011000000011000001100010100000100000001
0000011110111100101011001100101000000000000000000
0011111111111111111101101100111101000000000000000
1000100010001010100001100000001000000000000000000
...

Manager to Bruno

20000
25 0110100000100110001010000000000110100001100001010010001000000001
25 0101000100011000000000100001100111100001111100010100000010000001
25 0110100000100110010111100010000110000001101001010010001000100001
25 0010001111001111000101011000110000001000101100000000000000000000
25 0101111111111111101...

Bruno to Manager

BABAAAAAABBAAAAAAABBAAAAB
BABAAAAAABBAAAAAAABBAAAAB
BABAAAAAABBAAAAAAABBAAAAB
AAAABBBABBBAABABAABBBABAA
ABBBBBBBBBBBBBBBBABBBBBBB
AAABAAAAABAAAAAAAAAAAABAA
AAABABABABAAAABBBAAABBAAA
BBBBBBBBBBBBBBBBBBBBBABBB
AAAAAAABAABAAAAAABAAAABAA
ABBBBBBABBBBBBBBBBBBBBBBB
BABAAAAAABBAAAAAAABBAAAAB
AAAAAABAABABAA...

result:

points 1.0 Accepted: 43

Test #26:

score: 100
Accepted
time: 43ms
memory: 5004kb

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

0010000000001101000001001011111110001000001000000
0111000011010101011100100010011000001000001000000
0011000001010100010110011011001100001000001000000
0011000001010100010111101100100010000000100000001
1011000010101000110000110111101110000000000000000
0101000101000000001000100001000011100000100000001
...

Manager to Bruno

20000
26 0010010000000111010000000101000010010111111110000100010010000000
26 0111001001101001000011000101111001000110011000100100000010000010
26 1101011100111000001001010001101100110011001110000100100010001000
26 1000000010011000000101010000101101101100110001000000001000000001
26 1011100001011010001...

Bruno to Manager

ABAAAAAAAABBABAAAAAABABBBB
BBBAAABBABABABABBBAAAABAAA
ABBAAAABABABAAABABBBBABBBA
ABBAAAABABABAAABABBBBABBBA
ABBAAAABABABAAABABBBBABBBA
BABAABABAAAAAAAABAAABAAAAA
ABBAAAABABABAAABABBBBABBBA
BBAABBAAAAAAAAAABAAAAAAABA
AAAAAAAAABAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAA
AAA...

result:

points 1.0 Accepted: 43

Test #27:

score: 100
Accepted
time: 48ms
memory: 4920kb

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

1111110011010100100000010101000000100000000000000
0111001101000010100010011110001010000000100000001
0101100111111110111110011011101101101000001000000
0000110110111110111111100011001010100000100000001
1111110011101111111111111100111011100000100000001
0001101101111101001101110110011110000000000000000
...

Manager to Bruno

20000
27 1111111001101101001000000010010110100001000000010000100000000000
27 1000001100111001100100001101000101011110010101000000001001000001
27 0101110010101111111101111011111100110011101110110100100010001000
27 0001011011001111000000101010111111000011001101010000001000000001
27 1111111010111011011...

Bruno to Manager

BBBBBABABABAAAABABABAAAAABA
ABBBABBBAAAABABAAABAABBBAAB
BABBABBBBBBBBABBBBBBBABBBBB
AAABBBBABBBBBABBBBBBBAAAAAB
BBBBBBBBBABBBBBBBBBBBBBBBBB
AABBABABBBBABAABBBABABBBBAA
ABBBABBBAAAABABAAABAABBBAAB
BBBABBBBBAABBBABBBBBBABABAB
AAAAAAABAAAAAAAAAAAABBAAAAB
ABBBBBBABBABBBBBBBBBABBAABB
ABBBBABBBBBBBABBABBA...

result:

points 1.0 Accepted: 43

Test #28:

score: 100
Accepted
time: 45ms
memory: 4920kb

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

1000110111111000110110010110000101101000000000000
0000110111110101110110000101110110100000100000001
0000110111110101110110000101110110100000100000001
1001111111110011111110111101111101110000000000000
0000001000001000001011111110100000000000000000000
0011100010100010111011111111101110111000001000000
...

Manager to Bruno

20000
28 1000111011111110001100110010011010100001000100110100100000000000
28 0010011011011101000011000111101100100101111011010000001000100001
28 0010011011111101010111100111101100000101111011010010001000100001
28 1001111111111000111111100111101011110110100000000010001000000000
28 0010000100100010000...

Bruno to Manager

AAABBBBBBBABABBBABBAAAABBBAB
AAABBBBBBBABABBBABBAAAABBBAB
AAABBBBBBBABABBBABBAAAABBBAB
AABBBBBBBBABBBBBBBABBBBBABBB
AAAAAAAAAAAAAAABBBBBBAAAAAAA
ABBBAAABABAABABBBABBBBBBBBBB
AAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAABBBBBBBABABBBABBAAAABBBAB
BBBBBBBBBBBBBBBBBBBABBBBBBBB
ABBBBAABAAABBBBBAAAABAAABBBA
AAABBBBBBB...

result:

points 1.0 Accepted: 43

Test #29:

score: 100
Accepted
time: 48ms
memory: 5076kb

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

0011010001000010111011100011001100111100001000000
1010000010000010100000100000000000000000000000000
0000100010000000000100011011100110110000100000001
0011010001000010111010001110101110110000100000001
0111111101111111111111111111111111111000000000000
0011110101010011100000111010010111110000100000001
...

Manager to Bruno

20000
29 1100101000110100001000001011101011000111001100101110000110000000
29 1010010001000000101000000100000000000000000000001100111000000100
29 0001010001010000010111100001001000101011100111011001001000010001
29 0101101000010000000000101001110100001110110111011000001000000001
29 0111111110111111111...

Bruno to Manager

ABBABAABAAAABABBBABAAABBBABBB
ABAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAABAABAAAAAAAAAABAAABBABAABB
ABBABAABAAAABABBBABAAABBBABBB
BBBBBBABBBBBBBBBBBBBBBBBBBBBB
ABBBBBABABAABBBAAAAABBBAABABB
AABABABBBABBAAAAABBBABBBAAABA
BBAABBABAAAAAAAAABAAAABAAAAAA
AAAABABBBBABBABABAAAAAAAABBBB
BABABBABBAABBBBBBBBBBAABBABBB
...

result:

points 1.0 Accepted: 43

Test #30:

score: 100
Accepted
time: 45ms
memory: 4948kb

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

0110110111000000101111000111011000111000001000000
0111101100111000101010110011001011010100000000000
0001010101111100001011011110000111111000100000001
0000001000001000101000010000010001000000000000000
1111101010110011100101001100001011010100000000000
1111101010110011100101001100001011010100000000000
...

Manager to Bruno

20000
30 0110111011100100001010000010101110001111011000011100010010000000
30 0111110110001110000101010101001100010110100100000010000010011101
30 0100101011011111000001011011110110011110010011111110001001000001
30 1000000100000010000101000001000000001000101000100000000000000000
30 1111101101011001111...

Bruno to Manager

BBABBBBBAAAAAABABBBAABBBAAABBA
BBBBABAABBAAABAABBAAAABABBABAB
AABABBABBBBBAAAABABBABBBAAABBB
AAAAAAAAAAAAABAAABAAABAABAAAAA
BBBBABAABBAAABAABBAAAABABBABAB
BBBBABAABBAAABAABBAAAABABBABAB
BBAABABBABBABAAABAABBBBABBAAAA
ABBBBBABBBBBBBBBBBBBBBBABAABBB
BBBBABAABBAAABAABBAAAABABBABAB
BBBBABAABBAAABAABBAAA...

result:

points 1.0 Accepted: 43

Test #31:

score: 100
Accepted
time: 48ms
memory: 5736kb

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

1000100010000001101001100100100000001100000000000
0110000101111101000010110001101010011000001000000
0110000101111101000011000110010111000000100000001
1110001011111011110101100011000101010000000000000
0110000101111101000010110001101010011000001000000
0001101001111011001001100011000000111000000000000
...

Manager to Bruno

20000
31 1000101001000010011010001100100010000010011000000000001000001010
31 0110001000000110101111010100001101100011101010101100000010000010
31 0111000010101111100111110110000110000110011011100100001001000001
31 1110001101111100111101001100011000010100100000000000000001000100
31 0110001010100111101...

Bruno to Manager

AAABAAAAAAAABAAAABAABAAAAAAABBA
BBAAABABBBBBABAAAABBAAABABABAAA
BBAAABABBBBBABAAAABBAAABABABAAA
BBAAABABBBBBABAAAABBAAABABABAAA
BBAAABABBBBBABAAAABBAAABABABAAA
AAABBAABBBABBAABBAAAAAAAAABBBAA
BBAAABABBBBBABAAAABBAAABABABAAA
BBBABBBBAABBBBBBBBBBBABBBBBBBAB
AABAABBBAAAAABBBAAAAAAAAABAABBA
BABBAAAABBBB...

result:

points 1.0 Accepted: 43

Test #32:

score: 100
Accepted
time: 48ms
memory: 5736kb

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

1000000001000010000000000000000011100000100000001
1111100101111110111111111100111111001111100000001
0000011011100011111111110001011110001100101000000
1001000110011001100000001000100000000000000000000
1000000010000011100001000000000000000000000000000
1011101011001001111111011111001110111000001000000
...

Manager to Bruno

20000
32 1100000010010000010000000101000010000000000001111000001000000001
32 1111110000000110010111111101111111111100111111100011111010000001
32 0000011101110001010111101111111111100010011110010110010110000001
32 1001001011001100011000000001000000001000100000100000000000000000
32 1000000101000001111...

Bruno to Manager

BAAAAAABAAAABAAAAAAAAAAAAAAAAAAA
BBBBBABBBBBBBABBBBBBBBBBBBBBBBBB
AAAABBABBBAABBBBBBBBAAABBBAABAAB
AABAABAABBAAAAAABAAABAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BBBBBABBAABAABBBBBBBBBBBBBABBAAA
AAAABBABBBAABBBBBBBBAAABBBAABAAB
BABBBBBBBABBBBBBBBBBBBBBBBBBBBBB
AAAABBABBBAABBBBBBBBAAABBBAABAAB
AAA...

result:

points 1.0 Accepted: 43

Test #33:

score: 100
Accepted
time: 49ms
memory: 5528kb

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

0111111000001010101000100100011001000100110000000
1111111111111011111110011111101110111101110000000
0001101100111010111110101111011101111110110000000
0011101100000101001001011001100110000110100000001
0100000000000000000011000001101001101010001000000
0110111111110111110111111101101110111101111000000
...

Manager to Bruno

20000
33 1011111110000010010101000010010010100001001100101001001100000000
33 1111111111111100111111100011111000110011101110111110111000000001
33 0001110110011110101011110101111101101011111110110001000011010111
33 1000000000111101100000010100010010011001101011000001101000000001
33 0100010010100111000...

Bruno to Manager

ABBBBBAAAAABABAABAABABBABAABAABBA
BBBBBBBBBBBBBBBBBBBBBABBBBBBBABBB
AABBABAABBABABBABABBABBBABBBBBBBB
ABBBBBAAAAABABAABAABABBABAABAABBA
BAAAAAAAAAAAAAAAAABAAAABAABBAABAA
BBABBBBBBBBBBBBBABBBBBABBBBBBABBB
AAAAAAAAAAABAAAAAAAABAAAAAAAAABAA
BBABBBAABBABABABBBBAAAABAABABBABA
ABBBBBAAAAABABAABAABABBABAAB...

result:

points 1.0 Accepted: 43

Test #34:

score: 100
Accepted
time: 45ms
memory: 5532kb

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

0011110100000011101100111111000010110110100000001
0000001000001000001010000001000000000000000000000
1011110110001101111110001001111110011001000000000
1111110010111101111111101100111111101111101000001
1000101010100011111000000010100000100000000000000
0111101111011110101011111101111111011110110100000
...

Manager to Bruno

20000
34 0011111010010000001010001110011001111111000001011011101000000001
34 0010000100000010000001010000000100000000000000001100111000100000
34 1011111011000111011111010001001101111010111110101100101000000010
34 1111111000101111001111110000010001101100111111110011111001000001
34 1000101101010001111...

Bruno to Manager

ABBBBBAAAAAABBBABBAABBBBAAAABABBAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
ABBBBBAAABBBBBBABAABBBBBBABBAABAAA
BBBBBBBABBBBABBBBBBBBABBBBBBBBBBAB
AAABABAABAABBAAAAABABAAAABAAAAAAAA
BBBBABBBABBBABABBBBBBBBBBBABBBBBBB
BBAAAAABBBABABAABABAAABAAAAABBAABA
AABBBBBABBAAABBABBAAAAABABABBBBBBB
BABABBBABBBBABBBBAAB...

result:

points 1.0 Accepted: 43

Test #35:

score: 100
Accepted
time: 49ms
memory: 5512kb

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

0111101011011101011011110000011000111111000110000
0111101111111111101011101110111001011110010010000
0000101100001001001100001110100010000010000000000
1111110011111111111111111100111110101111111100001
1011100011010011100000011000000100001100000000000
1100000011001111111100110000111010100000111000001
...

Manager to Bruno

20000
35 0111110101110111010011011101000010100001010100011111110001010000
35 0111110111011111110101011100111011010010011001111101100100110000
35 0100010111000010001001100100111010000100111101010100100001000000
35 1111111000111111000000100111111101111100111111010011111101100001
35 1011100101101001111...

Bruno to Manager

BBBBAABBABBABABBBBAAABBAABBBBBBAABB
BBBBABBBBBBBBBABBABBBBBAABABBBBABAB
AAABABAAAAAABAAAAABBBAAABAAAAABAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
ABBBAAABABAAAAABBAAAAAABAAABBAAAAAA
BBAAAABBAABBBBBBBBAABBAABBBAAAAABBA
BBBBABBBBBBBBBBBBBAABBABBBBBBBBBBAB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
AAAAAAAAAAAA...

result:

points 1.0 Accepted: 43

Test #36:

score: 100
Accepted
time: 51ms
memory: 5552kb

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

0000000000000010010000000000010010100000100010001
0100111000001100101011111010001011001110000000000
0101101110101001101101011101111111001010110010000
0110111110110111011011101100101110011111111011000
0110011010101111001000011110111110100000011101000
0111010111011110111000101111101111111001100000001
...

Manager to Bruno

20000
36 1000000010000000001010000100100010000000001001011000001000010001
36 0110011100000011000101011101101000010110011001110101100000100000
36 0110110111101010001101101101110110111110011010111110101101010000
36 0110111100000001110110101101101011011000101110011111111010110000
36 1011001110101011011...

Bruno to Manager

AAAAAAAAAAAABAABAAAAAAAAABAAAAAAAAAB
BAABBAAAAABAABABBBBAAABABBAABBBAAAAA
BABBABBABAAABBABABBBBBBBBBAABABBBABA
BBABBBBBABBBBBABBABABBAABBABBBBBBABB
ABBAABBABABBBAAAABBBBBBBBABAAAABBBAB
BBBABBBBABBBBABBBAAABABBBABBBBAABAAA
BAABBAAAAABAABABBBBAAABABBAABBBAAAAA
AAAABABBABBAAAAABBABBABBBAAABBAAABAA
BAAB...

result:

points 1.0 Accepted: 43

Test #37:

score: 100
Accepted
time: 51ms
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

1111110110111001111011111111111111111111011001100
0010110110101100101110100010111110011000101000100
0101100111110011011110100111011100111011111010000
0000000000101000010100000011100011011000100010001
1000000010000001100000000000000000100000000000000
0111110100010101110101010010011101011101001011100
...

Manager to Bruno

20000
37 1111111011011110011110011111110111111111111110011001101000001010
37 0010111011010101001011010001100101000110111110101100010010001010
37 0101101011111010010111101101111101001101011100111101111110100010
37 0001000000000001000010100000101000000011100101101100001000100001
37 1000001001000010011...

Bruno to Manager

BBBBBBABBBABBABBBBBBBBBBBBBBBBBBBBABB
ABABBBBABABBAABABBBAAABABBABAAABAAAAB
BABBABBBBBAABBABBBBAABBBBABBABBBBABAA
AAAAAAAABABAAAABABAAAAAABAAABBAAAAABA
AAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAA
BBBBBBAAABABABBBABABAABABABABBABAABBB
BAAABBBABAABAAABAAAABABBAAAABBBAABBBA
BABBBBABABBBBBBBBABBBBABABBBBBABBB...

result:

points 1.0 Accepted: 43

Test #38:

score: 100
Accepted
time: 46ms
memory: 5700kb

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

0011001010100010000110101000001000101011111010110
0000100000010000101001100010001000001100001100000
0111110111111111111110111111011110111111111111100
0110000110111111101101011101011111101111110111101
0000001000101000001100000001000000000100000001000
1010010010000110111001000011010000101000000110110
...

Manager to Bruno

20000
38 1100101000110001010100001000010101010010001000010101111110101100
38 1000001100001000000010000010100111000101001000010110000011000001
38 0111111011111111010111101111111101111101011110111111111111111010
38 0111000011001111110101100000010010011101011111110101111101011101
38 0100000101001010000...

Bruno to Manager

ABBAABABABAABAAAABBABAAAAABAABBBBABABB
AAABAAAAABAAAABABAAAAABAAAAABAAAABAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBA
BBAAABBABBBBBBBABBABABBBABBBABBBBBBBBB
AAAAAAAABAAAAAAAAAAAAAAAAAAAABAAAAABAA
ABAABAAAAABBBAAAAABBABAAAABABAAAABBABB
BBBBBBBABBBBBBBBBBBBBBBBBBBBABBBBBBBBB
ABBAABABABAABAAAABBABAAAAAB...

result:

points 1.0 Accepted: 43

Test #39:

score: 100
Accepted
time: 50ms
memory: 5512kb

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

1100000100011000010010000110001110001111100111101
0100010000100100000000101101011000001010001000100
0111111011110001111111110111101110011111111011111
1001111011011011101010011000110110110011110111101
1110000011001110100000110010000100110111100111100
1110000011001110100000110010000100110111100111100
...

Manager to Bruno

20000
39 1100101010100000100001100000100101000110000111000111111000111101
39 0100011000010001000011000000001001011011011000100101000010001010
39 0111111110101111011110000111111111101110101110011111111110111111
39 1001111101101100111010100011000000001000110110111001111001111010
39 1110010001100111101...

Bruno to Manager

BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
BAAABAAABAABAAAAAAAABBABAAAAABAAAAAABAA
BBBBBBABBBBAABBBBBBBABBBBBABBBBBBABBBBB
AABBBBABABBABABBBAAABBABBBBAABBBBBBBBAB
BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
BBBBBBAABBBBBBBBBABBBBBBBBBBBBBBBBBBBBB
BBAAAABAABBAAAABAABA...

result:

points 1.0 Accepted: 43

Test #40:

score: 100
Accepted
time: 50ms
memory: 5532kb

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

1011010111001001110101101010001000011111101111111
1101100110000001100000101100000000000000000000010
0000000000010000000001000000111000001001001000000
1101110111011000110111001100110100110010010100110
0111110111111111111110011111111101111110111111111
1101110111011000110111001100110100110010010100110
...

Manager to Bruno

20000
39 1100101010110100111001000111010011010101001000001111110111111110
39 1101101011000000011000000101100000000000000000001100111000000110
39 0000010000001100000000001011110110000000111001000100110010000100
39 1101111011100110001100111001010011010001000100011001000101000110
39 0111111011111111111...

Bruno to Manager

BBBABBBBAABAABBBABAABABAAAABBBBBABBBBBB
BABBABAAAAAAAAAABBAAAAAAAAAAAAAAAAAAABA
AAAAAAAAABAAAAAAAAAAAAAAAAAAAAABAAAAAAA
BABBBBBABBABABBABBAABBABAABBAABABBAABBA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBB
BABBBBBABBABABBABBAABBABAABBAABABBAABBA
AAAAABBAAAAABABBBBBAABABAABAABABAABAAAA
BABBBBBABBABABBABBAA...

result:

points 1.0 Accepted: 43

Test #41:

score: 71
Acceptable Answer
time: 50ms
memory: 5460kb

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

1011100010000011101100100011101001001001000000011
1011110111111101111100101011010110111010010110111
0010110101110000010010111110111100001111011001100
0111010110001101100011001100101110011011001000111
1111111011111111101001111011111110111110110111101
1010101011001011110110011000001001001011001111000
...

Manager to Bruno

20000
40 1011100101000001111011000100011010100101010010001000010100000110
40 1011111011111101011111000101010101011001110100011100111001101111
40 0010111010111010000100011011110101111100111100100111101110011010
40 0111011000000001110000110110000110011000101111001101100010001011
40 1111111110111111011...

Bruno to Manager

ABBBAAAAAAAABBAAAABBBABAABAABAABAAAAABB
ABBBBBBBBBBBBBAABABBABABBABBBABABBBABBB
ABABBBABBBAAAAABAABBBBBABAAABBBABAABBAA
BBBABBBAAABBABBAAABABBAABBAABABBAAAABBB
BBBBBBBBBBBBBBABBBBABBBBBABBBBBBBBBBBAB
BBABBABBAABABBBBABBBBAAAABAAABBAABBBAAA
ABABBBABBBAAAAABAABBBBBABAAABBBABAABBAA
AAABBAAAABAAAAAAABAB...

result:

points 0.710 Accepted: 39

Test #42:

score: 71
Acceptable Answer
time: 50ms
memory: 5464kb

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

0011111101011110111101010011110100100000110111100
0000000000001000000000000100000010100000100000001
0010000000000000000000000100100011100000100001001
0001100000110011111110011011001101011011001110110
0000000000000000000000000000011000001000001000000
0100100010000110001101010111101011111101100011011
...

Manager to Bruno

20000
40 0101111111010111100111101001001111101001000000110111110000001010
40 1000000000000010000011001000000010000100100001010000001010000001
40 1001000010000000000000001011110100000100110001111000001010001001
40 1000000000011100000101001111011100110011001110101101010011100110
40 0000100000001000010...

Bruno to Manager

ABBBBBABABBBABBBABAABBABAABAAABBABBBBAA
AAAAAAAAAABAAAAAAAAAAAABAAAAAAAAAAAAAAA
AABAAAAAAAAAAAAAAAAAAAABBAAAAAAAAAAABAA
AABBAAAABBAABBBBBBBBBABBBBABABBAABBABBA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BAABAABAAAABBAAABBABABABBABABBBABAABBAB
ABBBBBABABBBABBBABAABBABAABAAABBABBBBAA
ABAABAAAAABBBBABBABB...

result:

points 0.710 Accepted: 39

Test #43:

score: 74
Acceptable Answer
time: 51ms
memory: 5460kb

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

1100110011110100101101011111110011001011010001010
1000000011000010100011000000000000000000000000100
0010010001101000110000111100100010101001100000011
0111110111111111110111111111111111011111100111111
1111101111111011111110111111101110111111000111111
0111110110111111111110110011011110111111111111111
...

Manager to Bruno

20000
41 1100111001111101001001101011011111001110010000100101110100010010
41 1000010001100000101000011000000000000000011001110000000000001100
41 1001001010011010010111101001100000111100110001011010011010000011
41 0111111000000001111011111110101111101111111111101110111001101111
41 1111101111111101111...

Bruno to Manager

BAABBABBBABABBABBBBBBBAABBAABABBBAABABA
AAAAAABAAAAAAABAAAAAAAAAAAAAAAAAAAAABAA
AABAABABBABAAABBAAAABBBBBAAABAABAAAAAAB
BBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBABBBBB
BBBBABBBBBBBBBBBBBBBBABBBABBBBBBABBBBBB
BBBBBBBABBBBBBBBBBBBAABBBBBBBBBBBBBBBBB
ABABBAABAAAABABABBBAAAAABABBBBABAAAABBB
ABABABAAAAAAAABABBAA...

result:

points 0.740 Accepted: 40

Test #44:

score: 74
Acceptable Answer
time: 50ms
memory: 5564kb

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

1101000110001100100100000000000000001010000000100
0100111100011110001011110011100000000110001000011
0101000011101001001010101100100110001101100110111
1010001011101100101000101010101110001110010011011
0101000011101001001010101101100111011010100110111
0011001000011001011010001000011000000100100000000
...

Manager to Bruno

20000
41 1101100011001011001000100000000010100001000000000101100000000100
41 0110011110000111100001011101001110000000000110001010001110011101
41 1101011110101000001110101010010100101100110011001011011010110111
41 1101000100111011000101000010101001011100000100010011100100011011
41 0110100010100111010...

Bruno to Manager

BABAABAAABBAABAAAAAAAAAAAAABABAAAAAABAA
BAABBBAAABBBAAABBBAABAAAAAAAABBAABAAABB
BABAAABBBABAABAABABABABBBAABBBABAABBABB
BABAAABBBABAABAABABABABBBAABBBABAABBABB
BABAAABBBABAABAABABABABBBAABBBABAABBABB
ABBAAAAAABAABABAAABAABBAAAAABAABAAAAAAA
ABABBBBBBABBAAAAABBABBBAABBAAABBABBBBAB
BABBBBBBBBAABABBBABA...

result:

points 0.740 Accepted: 40

Test #45:

score: 77
Acceptable Answer
time: 46ms
memory: 5512kb

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

1100110011110101100011011101110001001001110110000
1000100111000001100000100000010100000100000000101
1000101000001000001000000010100110001000001001000
1010110111100011111111101101011111101111001011111
0110010111110100001110110010111010110110100010101
0101101101011010001010111110110000110001010111011
...

Manager to Bruno

20000
42 1100111001111011011000011011100111000110010000100100111101100000
42 1000101011100000011000000100000001010000001000001100111000001011
42 1100010110000010000001001000001001001100111101011010000011001000
42 1010110111110000111111101101101001111110011110001011111001000100
42 0111001011111101010...

Bruno to Manager

BAABBABBBABAAABBBBABBBAAABAABAABBBBBAAA
AAABABBAAAAAAAAAAAAAABABAAAAABAAAAAABAB
BAAABAAAAAAAAAAAAAAABAABBAABAAAABAABAAA
ABABBABBBAABBBBABBABABBBBBBABBBBABBBBBB
BBAABBBBBBABAAAABBBABBAABBBABABBAAABABA
BABBABABABABAAAABBBBBBAAAABBAAABBBBBABB
BBAABBBBBBABAAAABBBABBAABBBABABBAAABABA
AAAAABABAABAAABBBBBB...

result:

points 0.770 Accepted: 41

Test #46:

score: 77
Acceptable Answer
time: 50ms
memory: 5536kb

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

0010001101001000001101010011110011110000000000100
0111100011101001011101011011011110111111100110011
1011100110111010101100110110100101100000000001100
0111110111001111111010111101111110111001100111111
1000110110010110111101000011000001111001010100101
0011100101110011010110100111011010000000100001101
...

Manager to Bruno

20000
42 0101000111010010000001101001001111100111100000000100010000001010
42 0111110001101010000011000101111010111011011111011110111001110011
42 1011110011011110101010100110111010010011000001001110101100011100
42 0111111011010011000000101101110101011101111111011100011001011111
42 1000111011001101101...

Bruno to Manager

ABAAABABAAAAAAABABAABBAABBBBAAAAAAAABAA
BBBBAABBBABAABABBBABABBAABBBBBBBBABBAAB
ABBBABABBBAABBABABBABAABABBAAAAAAAAABBA
BBBBBBBBAABBBBBBBABABBBBBBBBBBAABABBBBB
AAABBBAABABBBBAAAABBAAAAABBBBAABBBAABAB
ABBBABABBBAABBABABBABAABABBAAAAAAAAABBA
BBBBBBBABBBBBBBBBBBBBBBABBBBBABBBBBBBBB
BBBBBBBBBBBBBBBBBBBB...

result:

points 0.770 Accepted: 41

Test #47:

score: 84
Acceptable Answer
time: 50ms
memory: 5516kb

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

1100000010100011100000100001001010100000010000000
0000010110101100011011101111010011110010110110001
1010101111111101101110011111001101111011111111111
0111110111111111111111111110111111011111110011111
1101000110101010101101001110000100001001010101010
0000011110101110001011101110101101001001000111000
...

Manager to Bruno

20000
43 1100000101010001111000000100001000101011000000101000010100000000
43 0001001011001011000011010001100111011111010101111000101101110001
43 1101011110101101111101110110111100110111001110111101111111111111
43 0111111000000001101111111011111110111110111111101011111100011111
43 1101010011010110101...

Bruno to Manager

BAAAAAAABAAAAAAAAAABAABABABAAAAABAAAAAA
AAAABBBABABBAAABBABBBABBABAABAABABBBAAA
BBABBBBBBBBBABBABBBBBBBBBBBBABBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBB
BABAABABABAABBAABBBAAAABAAAABAABBBABABA
AAAABBBABABBAAABBABBBABBABAABAABABBBAAA
AAAABBBABABBAAABBABBBABBABAABAABABBBAAA
BBBBBBBBBBBBABBBBABB...

result:

points 0.840 Accepted: 42

Test #48:

score: 84
Acceptable Answer
time: 51ms
memory: 5740kb

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

0101001101101011011010001001001001010110010001000
0101001101101011011010001001001001010110010001000
0101000101100110100010001010010110101101100010001
0010010011111111111110110101111011101101110111101
0101000101100110100011000010011010101110011001000
0000011000001001001100000011011010000000000000001
...

Manager to Bruno

20000
43 0110100110111010110011010000100100110010100110011000010100001000
43 0110100110011010110011010000100100010010100110011100111000101000
43 0110100011011001010111101101000100001010011011010111011001010001
43 0011001001011111110111110000010001010101111101110101011101011101
43 0101010010110101010...

Bruno to Manager

BABAABABBAABBABAAABAAABAABABABBABAABAAA
BABAABABBAABBABAAABAAABAABABABBABAABAAA
BABAABABBAABBABAAABAAABAABABABBABAABAAA
ABAABABBBBBBBBBBBBBABBABBBBAABBABBBBBBA
BABAABABBAABBABAAABAAABAABABABBABAABAAA
AAAABAAAAAAABAAAAAAAABBABAAAAAAAAAAAAAB
AABABAAAABBBBABAABBAAAAAAAAAAABBBAABBAA
AAAAAAAAAAAAAAAAAAAA...

result:

points 0.840 Accepted: 42