QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#487199#6341. The Last BattleUnforgettablepl54 237ms5776kbC++201.8kb2024-07-22 18:04:232024-07-22 18:04:23

Judging History

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

  • [2024-07-22 18:04:23]
  • 评测
  • 测评结果:54
  • 用时:237ms
  • 内存:5776kb
  • [2024-07-22 18:04:23]
  • 提交

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<8;i++){
		for(int j=0;j<8;j++){
			if(i==a and j==b)return curr;
			curr++;
		}
	}
}

}

void Anna(int X, int Y, int N, string S) {
	int currpos = possget(X,Y);
	vector<vector<bool>> skip(8,vector<bool>(8));
	for(int i=0;i<8;i++)skip[i][Y]=skip[X][i]=true;
	while(S.size()<maxN)S.insert(S.end(),'A');
	long long num_to_write = 0;
	for(int i=0;i<maxN;i++)if(S[i]=='B')num_to_write|=(1ll<<i);
	for(int i=0;i<COPIES;i++){
		num_to_write<<=6;
		num_to_write+=currpos;
	}
	int bit = 0;
	for(int i=0;i<8;i++){
		if(i==X)continue;
		for(int j=0;j<8;j++){
			if(j==Y)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<8;i++){
		for(int j=0;j<8;j++){
			if(curr++==x)return {i,j};
		}
	}
}

string getans(vector<vector<int>> &T,int X,int Y,int N){
	long long num_to_read = 0;
	int bit = 0;
	for(int i=0;i<8;i++){
		if(i==X)continue;
		for(int j=0;j<8;j++){
			if(j==Y)continue;
			if(T[i][j])num_to_read|=(1ll<<bit);
			bit++;
		}
	}
	for(int i=0;i<COPIES;i++){
		if(possget(num_to_read%(1<<6))!=make_pair(X,Y))return "";
		num_to_read>>=6;
	}
	string ans;
	for(int i=0;i<N;i++)
		if(num_to_read&(1ll<<i))ans.insert(ans.end(),'B');
		else ans.insert(ans.end(),'A');
	return ans;
}

}

string Bruno(int N, vector<vector<int>> T) {
	for(int i=0;i<8;i++){
		for(int j=0;j<8;j++){
			auto ans = getans(T,i,j,N);
			if(ans!="")return ans;
		}
	}
	assert(false);
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 162ms
memory: 4120kb

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

1111001111001111000000000000000000000000000000000
1100101100101100100000000000000000000000000000000
1000001000001000000000000000000000000000000000000
1001001001001001000000000000000000000000000000000
0011110011110011110000000000000000000000000000000
1100101100101100100000000000000000000000000000000
...

Manager to Bruno

20000
1 1111001110010100111001101100000000000001000000000000000100000000
1 1101010110001011000011000011000000010000000100000000000000010000
1 1101011111000001000000100100000000000000010000000100000001000000
1 1100100100000001000100100010000000000000010000000000000000000000
1 001111100111110011110000...

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: 167ms
memory: 3988kb

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

0111100111100111100000000000000000000000000000000
0110110110110110111100000000000000000000000000000
0111110111110111110000000000000000000000000000000
1110101110101110101100000000000000000000000000000
1110101110101110101100000000000000000000000000000
0010110010110010111100000000000000000000000000000
...

Manager to Bruno

20000
2 0111101011110011111000000101000000000010000000000000001000000000
2 0110111011011001101111000000000000000000000000001100111000000010
2 0111111011111011111100000000001000000000000000100000001011010111
2 1110101111010110000000101010110000000000000000010000000000000000
2 111010111101011101001110...

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: 175ms
memory: 4356kb

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

1010011010011010010000000000000000000000000000000
1010111010111010110000000000000000000000000000000
0100110100110100111000000000000000000000000000000
1110011110011110010100000000000000000000000000000
0111010111010111010010000000000000000000000000000
0000010000010000010110000000000000000000000000000
...

Manager to Bruno

20000
3 1010011101001110100100000000000010100001000000000000010000000000
3 1010111101011010101100000000000000000000000000001100111000000100
3 0110011010101101000111000010000000000000001000001110101100100000
3 1110011111001110100101000000000000001000000000010000000000000000
3 011101101110101111010001...

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: 173ms
memory: 3988kb

Manager to Anna

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

Anna to Manager

1101111101111101111101000000000000000000000000000
1010101010101010100101000000000000000000000000000
0111100111100111100100000000000000000000000000000
0011100011100011100010000000000000000000000000000
1010011010011010010010000000000000000000000000000
1111011111011111011000000000000000000000000000000
...

Manager to Bruno

20000
4 1101111110111111011011101000000000010000000000000001000000001010
4 1010110101010010000011001010011010000100000001000000000000000100
4 0111101011110011111001001011110100000000000000100000001000000010
4 0011110001110000111000010000010000000000000010000000000000000000
4 101001110100111010010001...

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: 175ms
memory: 3888kb

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

0111100111100111101111100000000000000000000000000
0001010001010001011110100000000000000000000000000
1110101110101110101000000000000000000000000000000
0101110101110101111111100000000000000000000000000
0010100010100010101000100000000000000000000000000
0001100001100001101111100000000000000000000000000
...

Manager to Bruno

20000
5 0111101011110011111011010101000011000010000000000000001000000000
5 1000101000010100001011110010000000000000011001110000000010000000
5 1110101111010111010111101010100100000000000000010000000100000001
5 0110111010011101010111111100000000000000000000000000000001000100
5 001011000101100001001110...

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: 181ms
memory: 4132kb

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

1110111110111110110000010000000000000000000000000
1110101110101110100111110000000000000000000000000
0101010101010101010010000000000000000000000000000
1101011101011101011011100000000000000000000000000
0000100000100000100010000000000000000000000000000
0000110000110000110001100000000000000000000000000
...

Manager to Bruno

20000
6 1110111111011111101100000010000000000001000000001000010100000000
6 1110101111010110000011001010011111100001000000010000000000000001
6 0110101010110101010010010010000000000000111101010010000000100000
6 1101101110100111010011011100000000000000000100010000000000000000
6 100001001000100001001110...

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: 174ms
memory: 3920kb

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

0000100000100000101100101000000000000000000000000
0001000001000001000000000000000000000000000000000
0111110111110111110110111000000000000000000000000
0011010011010011011100101000000000000000000000000
1011111011111011111100000000000000000000000000000
0111000111000111001100101000000000000000000000000
...

Manager to Bruno

20000
7 1000010010001000001010000001011010101000000000001000000000000000
7 1000100000000110000100001010000010000000100000000000000010000000
7 0111111011111011111101010111001000000000000000100000001011010111
7 0011101001100100110101100101000000000000000100010000000000000000
7 101111110111111011111010...

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: 179ms
memory: 4120kb

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

1000011000011000010010110000000000000000000000000
1001111001111001110101100100000000000000000000000
0001000001000001001010011000000000000000000000000
0101100101100101100010110000000000000000000000000
1001101001101001100001000000000000000000000000000
0011100011100011100000000000000000000000000000000
...

Manager to Bruno

20000
8 1100001101000110000010010011000010100001000000000100000000000000
8 1100111100011110001110101010010000000000000000000100000010011101
8 1000100010101111000100001010010100011000100000001000000010000000
8 0110110010011001010100010000010001010000001000000000000000000000
8 110011010101101000110000...

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: 186ms
memory: 4184kb

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

1001011001011001010110011110000000000000000000000
0111000111000111000110011110000000000000000000000
0110100110100110100000000000000000000000000000000
1011101011101011101111111110000000000000000000000
0000110000110000110001100010000000000000000000000
1101101101101101101111111100000000000000000000000
...

Manager to Bruno

20000
9 1100101101010110001010110001111001000000010000100100000000000000
9 0111001000000110111000011100011100111110000000100000000000000010
9 0110101011010011010111101010001000000000000000100000001000000010
9 1011110101110010111010110000010011111010000001000000000000000000
9 100001101000110000011000...

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: 201ms
memory: 4440kb

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

0001100001100001101111110011000000000000000000000
0010000010000010001111101111000000000000000000000
0001000001000001001110101100000000000000000000000
0111000111000111001110011110000000000000000000000
0010000010000010000001000001000000000000000000000
0000110000110000110111110101000000000000000000000
...

Manager to Bruno

20000
10 1000110010011000001101110101000011110011000000001000000000000000
10 1000001100100000010000001000111111011111000010000000000000001000
10 1000100010101111000100001010011100101100100000001000000010000000
10 0111001000000001111000011100110100111100000000100000000000000000
10 1101001100101000010...

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: 197ms
memory: 3884kb

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

0001110001110001111001000001100000000000000000000
1000101000101000101011010000000000000000000000000
0101110101110101111011010011000000000000000000000
1101011101011101011011010011000000000000000000000
1111011111011111011011010011000000000000000000000
0010100010100010100101000001100000000000000000000
...

Manager to Bruno

20000
11 1000111010011100001111000100000111000000000000001000000000001010
11 1100010100001010000011000101010111010000010000000000000001000000
11 0110111010111101010111011011001100000000001000000010000011010111
11 1101101110100111010011011010001100000000000100010000000000000000
11 1111011111101111110...

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: 192ms
memory: 4380kb

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

1100001100001100000000010100000000000000000000000
1111101111101111100001000101100000000000000000000
1011001011001011001111111011110000000000000000000
1111011111011111011100011100110000000000000000000
1111101111101111100001000101100000000000000000000
0000100000100000101100011011010000000000000000000
...

Manager to Bruno

20000
12 1100101011000001100000110000000000110100000000000001000000000000
12 1111101111110110111000000001100110001011100000010000000000000001
12 1011010110101111011000101100111111110011110001000000010000000100
12 1111011111101110110111000011100011000000000100010000000000000000
12 1111101111110111111...

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: 201ms
memory: 3880kb

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

1000111000111000111111111111111000000000000000000
0000010000010000010001111011111000000000000000000
1010011010011010010001111011111000000000000000000
1010011010011010010001111011111000000000000000000
0011000011000011000001000100011000000000000000000
1000111000111000110000000001000000000000000000000
...

Manager to Bruno

20000
13 1100011101001110000111111011111111110000000000001000010100000000
13 1000001000000100000010000111101100110011111100000000000010000000
13 1010011101001110100100001111011101111010111001000000010000000100
13 1010011101001010100100001111001100001000111001000000000000000000
13 0011100010100111011...

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: 193ms
memory: 3952kb

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

0001010001010001010000000000000000000000000000000
0111010111010111010000000000000000000000000000000
0110010110010110010100110101010000000000000000000
1011101011101011101111100001101000000000000000000
1011101011101011101111100001101000000000000000000
1010001010001010001111111111010100000000000000000
...

Manager to Bruno

20000
14 1000101010010100001010000000000010000000010000101000000000000000
14 0111011011101001110100000000000000000000011001110000000000000010
14 0110011011001011100101000110101101111010010000100000001000000010
14 1011110101110010111010110000010011000001101001000000000000000000
14 1011110101110110111...

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: 180ms
memory: 3988kb

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

0001110001110001110000000000000100000000000000000
0010110010110010110010000101011000000000000000000
1000011000011000011101101011101100000000000000000
0010010010010010010000110110010010000000000000000
1001011001011001010000000010100000000000000000000
0010010010010010010000000000000000000000000000000
...

Manager to Bruno

20000
15 1000111010011100001110000000000010001000000000001000000000001010
15 0010111001010100101100010000010101100000000000001100111000001000
15 1100001101000110000011101110101101111010110110000100000001000000
15 0010101001000100100100000110011000001000010011000000000000000000
15 1100101101010110001...

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: 186ms
memory: 5152kb

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

1110111110111110111111101110101111000000000000000
1100011100011100010100000000001001000000000000000
0110100110100110101011011111110110000000000000000
0010100010100010101001001000101110000000000000000
1111001111001111000101100001011111000000000000000
1101111101111101111101010110010110000000000000000
...

Manager to Bruno

20000
16 1110111111011111101111101101110010111101000000001000010100000000
16 1101001110000111000010100000000000110011001100100000000000010000
16 0110101011010011010111101010101110111101110110100000001000000010
16 0010110001010000000000101010010010010000101111000000000000000000
16 1111001110100111111...

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: 217ms
memory: 4956kb

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

1011111011111011110001101111101000000000000000000
0101010101010101011111111111111111100000000000000
0100110100110100110001101111101000000000000000000
0110010110010110011111101111110111000000000000000
1100011100011100011101111111111101100000000000000
1110011110011110010001101111101000000000000000000
...

Manager to Bruno

20000
17 1011111101111110111100001101101110100100000000000000010000001010
17 0110101010010101010011111101111111011111011001110000000000100000
17 0110011010101101000110001110111110010000001000001110101100100000
17 0110011011001001100111011101110100001000110111100000000000000000
17 1101001110010111000...

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: 203ms
memory: 5120kb

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

0111000111000111001101111110111111110000000000000
1000001000001000001111111111111111110000000000000
1001011001011001011111111111111111110000000000000
1110011110011110010110011000011100100000000000000
1101011101011101011101111111111111110000000000000
0000100000100000100111110010111000100000000000000
...

Manager to Bruno

20000
18 0111001010010100111000011100110011111110111111011000001000000000
18 1000001110000001000000100100011111111111111111111000000001000000
18 1100101101010110001011111111111110111111111101011100000001000000
18 1110011111001110100101100011000000001000011100110000000000000000
18 1101101110110111010...

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: 212ms
memory: 4984kb

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

0110000110000110001010111111111111110000000000000
0101010101010101011101101100001110011000000000000
0101010101010101010110010100100111010000000000000
0101010101010101011101101100001110011000000000000
0010000010000010000000000001000001000000000000000
0001110001110001111100110000000010111000000000000
...

Manager to Bruno

20000
19 1100101001100000110000011000100101111111111111011000001000000000
19 0110101010010101010011101100110000011100011001111100000000100000
19 0110101010110101010010110011010010001110111101011010000000100000
19 0110101010010101010011101100110000011100000100011100000000000000
19 1101001100101000010...

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: 221ms
memory: 5032kb

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

0100000100000100001111110101100100000000000000000
1110101110101110100110111110101001010000000000000
1111111111111111111100011111111111111100000000000
0100000100000100001111111111111111111100000000000
0100110100110100111111110101100100000000000000000
0001110001110001110000000000010000000000000000000
...

Manager to Bruno

20000
20 1100101001000000100000010000011111110101100010000010000000000000
20 1110101111010110000011001010011101111101101001011000000000000001
20 1111111111111111111111000011111111111110111000010000000111010111
20 1000000001100000100000010000011111011111111111111101000000000000
20 0110011010101101000...

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: 214ms
memory: 5168kb

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

0011000011000011001000110010100110000000000000000
1001001001001001000111000010011011100000000000000
0011110011110011110111000010011011100000000000000
0101110101110101110111000010011011100000000000000
1110011110011110011101111011011111101110000000000
1000001000001000001000000000000100000010000000000
...

Manager to Bruno

20000
21 0011100010010100011000001100010001101010100101000000100000000000
21 1100100100000110000100100110001111000010011101110000000001000000
21 0011111001111100111100111000101001100111000010000000100011010111
21 0110111010011101010110111000001001010111000000000000000001000100
21 1110011111001111100...

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: 221ms
memory: 5040kb

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

1100001100001100000100100000001000111000000000000
0101010101010101011000010000000000010000000000000
1010001010001010001111011110110111110010000000000
0011100011100011100101001000000001000110000000000
1000101000101000100000010010100100100000000000000
0011110011110011111100111100110101110111000000000
...

Manager to Bruno

20000
22 1100101011000001100000110000001001010000001000011101000000000000
22 0110101010010101010011000001000000000000011001111000000000100000
22 1101011110100101010000101000111110111010110111111001010000000100
22 0011110001110000111000100000010010010000000010100011000000000000
22 1100010101001010010...

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: 221ms
memory: 5048kb

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

0010000010000010001100001010010010000110000000000
0111010111010111011110100011011110001111100000000
0010000010000010001111111111110111111111100000000
1000001000001000000011000000001010000011100000000
0110000110000110000000000001000001000000000000000
1010011010011010011111111111110111111111100000000
...

Manager to Bruno

20000
23 1100101000100000010000001000011000011010010001000011100000000000
23 0111011011101001110111010100010101111000011001110111110000000010
23 1101011100101000010000001000111111110111110111111111111000001000
23 1000000011000001000000100000000110000000010101000000111000000000
23 1101001101100010110...

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: 224ms
memory: 4984kb

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

0111100111100111101000110101010010010011100000000
0011010011010011011000110101010010010011100000000
0001110001110001111000110101010010010011100000000
1110111110111110111110111001111111111110010000000
1011001011001011001010001001000101010111010000000
0010000010000010000100100000000101100000110000000
...

Manager to Bruno

20000
24 0111101011110011111010000101000001101011010010001001111000000000
24 0011101001100100110101000110010101000100011001111001011000001000
24 1000111010011100001111001011010100100100110011101000000011010111
24 1110111111011110101111100111001011111110111100100010001000000000
24 1011010110100111011...

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: 202ms
memory: 5172kb

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

0100100100100100101010000001100000001100001000000
1111101111101111101010000001100000001100001000000
0100100100100100101010000001100000001100001000000
0100010100010100010000111011100101001110100000000
1000011000011000010111111111111111101111111000000
1011111011111011110001000001000000000000100000000
...

Manager to Bruno

20000
25 0110010010101001001010000001010100100001100000000111000010000000
25 1111101111110110111010100001100100000011100000010110000010000001
25 0110010010101001010111100011010100000001101000000111000010100000
25 0110001010000101000010000101101100001000101010100101101000000000
25 1100001101000110000...

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: 231ms
memory: 5152kb

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

1011101011101011100100000000110100000010111100000
0110100110100110101110001101010101110000100000000
0010000010000010000110000101010001011110111000000
0000000000000000000110000101010001011110111000000
0010110010110010110110000101010001011110111000000
0101100101100101101010010100000000100010000000000
...

Manager to Bruno

20000
26 1011110101110110111000100101000000000100110100000001011111000000
26 0110101011010001000011001010111100011011010101111000010000000010
26 1101011100101000010000001000101100000101010010101111101110001000
26 1000000010000000000000000000001100000101101000100111101101000000
26 0010111001011100101...

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

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

0010010010010010011111101010100001010100000100000
1000001000001000000111011100001010001001110010000
0011000011000011001011011111111011111110111110000
1100101100101100100001111011111011111110000010000
0001100001100001101111111110111111111111111110000
1001011001011001010011010111101001110101111000000
...

Manager to Bruno

20000
27 0010101001001100100101111101001010100001100000101010100001000000
27 1000001110000001000000100100001111011100010101000010011101010000
27 0011100010101111011000001100110110110111111011111111101111101000
27 1101010110001011000000100010000011101011111101111110100000100000
27 1000110010011000001...

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: 208ms
memory: 4956kb

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

0010010010010010010001111111010111011000011101000
0100100100100100100001111111010111011000011101000
0100100100100100100001111111010111011000011101000
1110111110111110110011111111011111110111110111000
0101010101010101010000000000000001111110000000000
1111001111001111000111000101001011101111111111000
...

Manager to Bruno

20000
28 0010101001001100100100001111011110100001010101101100100111010000
28 0110010010001001000011000011000011111111011011101100000111101000
28 0110010010101001010111100011000011011111011011101110000111101000
28 1110111111011110101100101111111001111110101111100010001001110000
28 0110101010110101010...

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: 213ms
memory: 5032kb

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

1110001110001110000110100100001011101000111011100
1010111010111010110100000000000000000000000000000
1100101100101100100001001000000000010001101001100
1000101000101000100110100100001011101000111011100
1101111101111101111111110111111111111111111111100
1001101001101001100111110101001110000011100101100
...

Manager to Bruno

20000
29 1100101011100010110001101000011001001001001011100100011110111000
29 1010111101011010101100100000000000000000000000001100111000000100
29 1101010110011011010111100011000010001000000100001001011010011100
29 1100010100001010000000100001001100100100010101110010001110011100
29 1101111110111111011...

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: 227ms
memory: 4996kb

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

1010101010101010101101111100000010111001110001100
0101110101110101111111010011000100110000101101010
1001101001101001100010110111110000101101110001110
0000010000010000010000000000000100010001001000000
1111011111011111011111010011000100110000101101010
1111011111011111011111010011000100110000101101010
...

Manager to Bruno

20000
30 1010110101010110001010001010101011111100000010011100111100011000
30 0110111010011101010111111001001100001001100000101110101010011101
30 1100110101011010001100011011110100110111111000010111011101001110
30 1000001000000100000010000000000000001000100010000100010001000000
30 1111011111101111110...

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: 208ms
memory: 5776kb

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

0111110111110111110001000000001000010010000000110
0111000111000111001100010111110100001100010101000
1001001001001001001100010111110100001100010101000
1111111111111111111100010111110100001100010101000
0111000111000111001100010111110100001100010101000
0001110001110001110001100111011001100000000011100
...

Manager to Bruno

20000
31 0111111011111011111100001000000000100010100100000000111000001010
31 0111001000000110111000011100111000101111110100100110000101010010
31 1100100110101111000100100110011000010111111010000111000101101000
31 1111111111111110111111000010111011010000011000100101000001000100
31 0111001010100111111...

Bruno to Manager

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

result:

points 1.0 Accepted: 43

Test #32:

score: 54
Acceptable Answer
time: 226ms
memory: 5560kb

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

0001100001100001101000000100001000000000000000000
0001000001000001001111101111111011111111111111111
1110101110101110100000110111001111111100011100100
0110010110010110010010010011000000100010000000000
1111011111011111010000000000000000000000000000000
1010001010001010001111101100100111111111111101100
...

Manager to Bruno

20000
32 1000110010011000001101000101000010000100000100001000000000000000
32 1000100000000110000100001010011111101111111101110111111111111111
32 1110101111010111010111101010000101101110001111111110001111001001
32 0110011011001001100100010010010100001000000000110001000000000000
32 1111011111101111110...

Bruno to Manager

BAAAAAABAAAABAAAAAAAAAAAAAAAAAAA
BBBBBABBBBBBBABBBBBBBBBBBBBBBBBA
AAAABBABBBAABBBBBBBBAAABBBAABAAA
AABAABAABBAAAAAABAAABAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BBBBBABBAABAABBBBBBBBBBBBBABBAAA
AAAABBABBBAABBBBBBBBAAABBBAABAAA
BABBBBBBBABBBBBBBBBBBBBBBBBBBBBA
AAAABBABBBAABBBBBBBBAAABBBAABAAA
AAA...

result:

points 0.540 Accepted: 31

Test #33:

score: 56
Acceptable Answer
time: 219ms
memory: 5772kb

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

0000010000010000010111110000010100100101101001001
1110011110011110011111111111111111111110111111101
1101111101111101110011010011010110101101110111111
0100000100000100000111110000010100100101101001001
1011001011001011001000000000000000001000010011001
1111001111001111001101111111111111011111011111101
...

Manager to Bruno

20000
33 1000001010000100000010110111000010100001001010011001011001001001
33 1110011111001110100111101111111000110011111111111111011011111011
33 1101111110111111011010011011001101001101011101110111111111010111
33 1000000001100000100000010000001111010000011010010001011010001001
33 1011010110100111011...

Bruno to Manager

ABBBBBAAAAABABAABAABABBABAABAABAA
BBBBBBBBBBBBBBBBBBBBBABBBBBBBABAA
AABBABAABBABABBABABBABBBABBBBBBAA
ABBBBBAAAAABABAABAABABBABAABAABAA
BAAAAAAAAAAAAAAAAABAAAABAABBAABAA
BBABBBBBBBBBBBBBABBBBBABBBBBBABAA
AAAAAAAAAAABAAAAAAAABAAAAAAAAABAA
BBABBBAABBABABABBBBAAAABAABABBAAA
ABBBBBAAAAABABAABAABABBABAAB...

result:

points 0.560 Accepted: 32

Test #34:

score: 57
Acceptable Answer
time: 196ms
memory: 5528kb

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

1100101100101100100111110000001110110011110000101
0100110100110100110000000000000000000000000000000
0110010110010110010111110001111110100111111011001
0001100001100001101111111011110111111110111111111
1110011110011110010001010010011000001010000100000
0100110100110100111111011101110101111111111101111
...

Manager to Bruno

20000
34 1101010110011011001010000010001111110000001011011001111100000101
34 0110011010001101000110000000000000000000000000001100111000100000
34 0110011011001011100101011110001101111010111110110011111110110011
34 1000110000011000001101110000010001111011111011110111101101111111
34 1110011111001111100...

Bruno to Manager

ABBBBBAAAAAABBBABBAABBBBAAAABABAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
ABBBBBAAABBBBBBABAABBBBBBABBAABAAA
BBBBBBBABBBBABBBBBBBBABBBBBBBBBAAA
AAABABAABAABBAAAAABABAAAABAAAAAAAA
BBBBABBBABBBABABBBBBBBBBBBABBBBAAA
BBAAAAABBBABABAABABAAABAAAAABBAAAA
AABBBBBABBAAABBABBAAAAABABABBBBAAA
BABABBBABBBBABBBBAAB...

result:

points 0.570 Accepted: 33

Test #35:

score: 59
Acceptable Answer
time: 208ms
memory: 5560kb

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

0100010100010100011111001101101011110001100111111
0101010101010101011111011111111101101111100101111
1001011001011001010001010000001000001110001000001
0000100000100000101111111111111111111111111111111
1110011110011110010111000101000001100000010001100
0000100000100000101100001100111111110011001110000
...

Manager to Bruno

20000
35 0110001010100101000011111000110110100001100101111010011001011111
35 0110101010010101010011111001111111011011011001110101111001101111
35 1100101101010110001010001101000000010000111101010111100011000001
35 1000010000001000000000100001011101111111111111110111111101111111
35 1110011111001111100...

Bruno to Manager

BBBBAABBABBABABBBBAAABBAABBBBBBAAAA
BBBBABBBBBBBBBABBABBBBBAABABBBBAAAA
AAABABAAAAAABAAAAABBBAAABAAAAABAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAA
ABBBAAABABAAAAABBAAAAAABAAABBAAAAAA
BBAAAABBAABBBBBBBBAABBAABBBAAAAAAAA
BBBBABBBBBBBBBBBBBAABBABBBBBBBBAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAA
AAAAAAAAAAAA...

result:

points 0.590 Accepted: 34

Test #36:

score: 60
Acceptable Answer
time: 234ms
memory: 5544kb

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

0000100000100000100000000000001001000000000100000
0101010101010101011001100000100101111000101100111
1000111000111000111011011010001101011111111100101
1111001111001111001101111101111101101011001101111
0001010001010001010110011010111000011111111010000
1101101101101101101110111101111011100010111011110
...

Manager to Bruno

20000
36 1000010010001000001010000001000010000000000100101000000000100000
36 0110101010010101010011001100000010001011011001111100001011100111
36 1100011101001110000111011101101000011010111111111110101111100101
36 1111001100000001111001101100110011111010111101110101100011011110
36 1000101010010100001...

Bruno to Manager

AAAAAAAAAAAABAABAAAAAAAAABAAAAAAAAAA
BAABBAAAAABAABABBBBAAABABBAABBBAAAAA
BABBABBABAAABBABABBBBBBBBBAABABAAAAA
BBABBBBBABBBBBABBABABBAABBABBBBAAAAA
ABBAABBABABBBAAAABBBBBBBBABAAAAAAAAA
BBBABBBBABBBBABBBAAABABBBABBBBAAAAAA
BAABBAAAAABAABABBBBAAABABBAABBBAAAAA
AAAABABBABBAAAAABBABBABBBAAABBAAAAAA
BAAB...

result:

points 0.60 Accepted: 35

Test #37:

score: 62
Acceptable Answer
time: 218ms
memory: 5484kb

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

0111110111110111111111110111011011111111111111111
0111100111100111100101111010110010111000101101000
0110100110100110101011011111001101111001111011011
1101001101001101000000000010100001010000001000110
0110010110010110010000000000000000000000000100000
1010101010101010101111110001010111010100101010110
...

Manager to Bruno

20000
37 0111111011111011111111011110110101101111111111011111111100001010
37 0111101011110001111001000001100111110110110010111100010011010010
37 0110101011010011010111101010101110111101001101111100111110110111
37 1101100100000001101000110100000000000010100100101000000010000110
37 0110011011001011100...

Bruno to Manager

BBBBBBABBBABBABBBBBBBBBBBBBBBBBAAAAAA
ABABBBBABABBAABABBBAAABABBABAAAAAAAAA
BABBABBBBBAABBABBBBAABBBBABBABBAAAAAA
AAAAAAAABABAAAABABAAAAAABAAABBAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAA
BBBBBBAAABABABBBABABAABABABABBAAAAAAA
BAAABBBABAABAAABAAAABABBAAAABBBAAAAAA
BABBBBABABBBBBBBBABBBBABABBBBBAAAA...

result:

points 0.620 Accepted: 36

Test #38:

score: 65
Acceptable Answer
time: 202ms
memory: 5540kb

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

0110000110000110000110010101001000011010000010011
1110001110001110000001000001000010100000100000100
0110100110100110101111111111111111111111111111111
0101100101100101101100011011111110110101110111011
1000111000111000110000000010000000000000000000010
1011011011011011010100100000111000001101000010100
...

Manager to Bruno

20000
38 1100101001100000110000011000010100101011001000001101001000100101
38 1000001111100010110001101000000110000011000010110000010000001001
38 0110101011010011010111101010111111111101111111111111111111111111
38 0110110010011001010101100000010000011011111111011001011101011011
38 1100011101001110000...

Bruno to Manager

ABBAABABABAABAAAABBABAAAAABAABBAAAAAAA
AAABAAAAABAAAABABAAAAABAAAAABAAAAAAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAA
BBAAABBABBBBBBBABBABABBBABBBABBAAAAAAA
AAAAAAAABAAAAAAAAAAAAAAAAAAAABAAAAAAAA
ABAABAAAAABBBAAAAABBABAAAABABAAAAAAAAA
BBBBBBBABBBBBBBBBBBBBBBBBBBBABBAAAAAAA
ABBAABABABAABAAAABBABAAAAAB...

result:

points 0.650 Accepted: 37

Test #39:

score: 68
Acceptable Answer
time: 233ms
memory: 5480kb

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

1000001000001000001100001001100001001000010011011
0110100110100110101000100010010000000011010000010
1111001111001111001111110111100111111101111101111
1110011110011110010011110101101011100011011110011
1010111010111010111100001001100001001000010011011
1010111010111010111100001001100001001000010011011
...

Manager to Bruno

20000
39 1100101010000001000000100000011001001001100000100110000100011011
39 0110101011010001000011001010101001000110010000100001100100000110
39 1111001110101111111001101100111111101110100111111110111111011111
39 1110011111001110100100101110101000001000101011110001101011100110
39 1010111101011110101...

Bruno to Manager

BBAAAABAABBAAAABAABAAAABAABBABBAAAAAAAA
BAAABAAABAABAAAAAAAABBABAAAAABAAAAAAAAA
BBBBBBABBBBAABBBBBBBABBBBBABBBBAAAAAAAA
AABBBBABABBABABBBAAABBABBBBAABBAAAAAAAA
BBAAAABAABBAAAABAABAAAABAABBABBAAAAAAAA
BBAAAABAABBAAAABAABAAAABAABBABBAAAAAAAA
BBBBBBAABBBBBBBBBABBBBBBBBBBBBBAAAAAAAA
BBAAAABAABBAAAABAABA...

result:

points 0.680 Accepted: 38

Test #40:

score: 68
Acceptable Answer
time: 230ms
memory: 5568kb

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

1110001110001110001110111100100111010010100001111
0110110110110110111011010000000000110000000000000
1011101011101011100000000001000000000000000000000
0011010011010011011011111011010110110011010011001
0011100011100011101111111111111111111111111111110
0011010011010011011011111011010110110011010011001
...

Manager to Bruno

20000
39 1100101011100010110001101000111001111001100111001001010100011110
39 0110111011011001101110011010000000000001100000001100111000000010
39 1011110101110110111000001011110100000001000001000000010000000100
39 0011101001100100110101011111001101010101000100011001010100110001
39 0011110001111000111...

Bruno to Manager

BBBABBBBAABAABBBABAABABAAAABBBBAAAAAAAA
BABBABAAAAAAAAAABBAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BABBBBBABBABABBABBAABBABAABBAABAAAAAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAA
BABBBBBABBABABBABBAABBABAABBAABAAAAAAAA
AAAAABBAAAAABABBBBBAABABAABAABAAAAAAAAA
BABBBBBABBABABBABBAA...

result:

points 0.680 Accepted: 38

Test #41:

score: 71
Acceptable Answer
time: 205ms
memory: 5516kb

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

1110111110111110110111000000001100001110100100100
0110110110110110110111111111111100101101011011101
0111100111100111100101110111000001001111101000111
1011001011001011001110111000110110001011001100101
0001110001110001111111111111111101111011111011111
0010000010000010001101101100101111011110000100011
...

Manager to Bruno

20000
40 1110111111011111101101101000000000110001011101001000010101001000
40 0110111011011001101101011111110111110001011010011100111010111011
40 0111101011110011111001001011110111101101000001100111111010001111
40 1011010100000001011000101100101101110000110111000101100011001001
40 1000111010011100001...

Bruno to Manager

ABBBAAAAAAAABBAAAABBBABAABAABAAAAAAAAAAA
ABBBBBBBBBBBBBAABABBABABBABBBABAAAAAAAAA
ABABBBABBBAAAAABAABBBBBABAAABBBAAAAAAAAA
BBBABBBAAABBABBAAABABBAABBAABABAAAAAAAAA
BBBBBBBBBBBBBBABBBBABBBBBABBBBBAAAAAAAAA
BBABBABBAABABBBBABBBBAAAABAAABBAAAAAAAAA
ABABBBABBBAAAAABAABBBBBABAAABBBAAAAAAAAA
AAABBAAAABAAA...

result:

points 0.710 Accepted: 39

Test #42:

score: 71
Acceptable Answer
time: 205ms
memory: 5772kb

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

1001111001111001110111110101110111010011010010001
0000100000100000100000000000100000000000010000000
0001100001100001100010000000000000000000011000000
0010000010000010000011000011001111111110111101011
0010100010100010100000000000000000000000000000000
1101101101101101101001001000011000110101011010111
...

Manager to Bruno

20000
40 1100111101011110001110111011010111101110100011010101000100001010
40 1000010000001000000011001001000010000000110000000000000110000000
40 1000110010011000001100011011110100000000100000001000000111000000
40 1000000000101000010000001000000110000011001111111111001111010011
40 0010110001011000010...

Bruno to Manager

ABBBBBABABBBABBBABAABBABAABAAABAAAAAAAAA
AAAAAAAAAABAAAAAAAAAAAABAAAAAAAAAAAAAAAA
AABAAAAAAAAAAAAAAAAAAAABBAAAAAAAAAAAAAAA
AABBAAAABBAABBBBBBBBBABBBBABABBAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BAABAABAAAABBAAABBABABABBABABBBAAAAAAAAA
ABBBBBABABBBABBBABAABBABAABAAABAAAAAAAAA
ABAABAAAAABBB...

result:

points 0.710 Accepted: 39

Test #43:

score: 74
Acceptable Answer
time: 200ms
memory: 5464kb

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

0011010011010011011001101110101101111111001100101
1011011011011011010000001000000010000000000000000
0000100000100000100010010110100011000011111000100
1101001101001101001111111111111111011111111111111
1110111110111110111111011111111111111110111011111
0110100110100110101111111011111111111100111111111
...

Manager to Bruno

20000
41 0011101001101100110101001101011010111011010000101111110011000101
41 1011011101101010110100000001000000001000011001110000000000000100
41 1000010010001000010111101001000100010110110001101000111111000100
41 1101100100000001101000110100011111101111111111101110111111101111
41 1110111111011111101...

Bruno to Manager

BAABBABBBABABBABBBBBBBAABBAABABAAAAAAAAAA
AAAAAABAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAA
AABAABABBABAAABBAAAABBBBBAAABAAAAAAAAAAAA
BBBBBBBBBBBBBBBBABBBBBBBBBBBBBBAAAAAAAAAA
BBBBABBBBBBBBBBBBBBBBABBBABBBBBAAAAAAAAAA
BBBBBBBABBBBBBBBBBBBAABBBBBBBBBAAAAAAAAAA
ABABBAABAAAABABABBBAAAAABABBBBAAAAAAAAAAA
ABABAB...

result:

points 0.740 Accepted: 40

Test #44:

score: 74
Acceptable Answer
time: 232ms
memory: 5572kb

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

0010010010010010011010010001100100000000000001010
0101110101110101111001110001110001110010000000011
0000000000000000001010001110100100101010111001110
0001010001010001011010001110100100101010111001110
0101000101000101001010001110100100101010111001110
0100010100010100010110000001001010001001100000100
...

Manager to Bruno

20000
41 0010101001001100100101010010000110100001100100000000100000010010
41 0110111010011101010111001101000111000011100010000010001110011101
41 1101011110000000000000001000010100001110110010011010101111001110
41 1000101000010100001011010000111001001001000100010010101101001110
41 0110100010100111100...

Bruno to Manager

BABAABAAABBAABAAAAAAAAAAAAABABAAAAAAAAAAA
BAABBBAAABBBAAABBBAABAAAAAAAABBAAAAAAAAAA
BABAAABBBABAABAABABABABBBAABBBAAAAAAAAAAA
BABAAABBBABAABAABABABABBBAABBBAAAAAAAAAAA
BABAAABBBABAABAABABABABBBAABBBAAAAAAAAAAA
ABBAAAAAABAABABAAABAABBAAAAABAAAAAAAAAAAA
ABABBBBBBABBAAAAABBABBBAABBAAABAAAAAAAAAA
BABBBB...

result:

points 0.740 Accepted: 40

Test #45:

score: 77
Acceptable Answer
time: 204ms
memory: 5560kb

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

0111010111010111011001101110100011110111000100100
0110110110110110110001011000000000000001010000010
0001010001010001011000100000000000000010011001000
1111111111111111110101101110011110110101111110111
1000101000101000101100111111010000111011001110101
0101010101010101011011010101010000111111000011000
...

Manager to Bruno

20000
42 0111011011101011110110001101110010001111010000101011101001001000
42 0110111011011001101100001011000000000000000010011100111000000110
42 1000101010010100001011001010000000000000111101011000100111001000
42 1111111111111110111101001101110001111010101011101110111001000100
42 1100010101001010010...

Bruno to Manager

BAABBABBBABAAABBBBABBBAAABAABAAAAAAAAAAAAA
AAABABBAAAAAAAAAAAAAABABAAAAABAAAAAAAAAAAA
BAAABAAAAAAAAAAAAAAABAABBAABAAAAAAAAAAAAAA
ABABBABBBAABBBBABBABABBBBBBABBBAAAAAAAAAAA
BBAABBBBBBABAAAABBBABBAABBBABABAAAAAAAAAAA
BABBABABABABAAAABBBBBBAAAABBAAAAAAAAAAAAAA
BBAABBBBBBABAAAABBBABBAABBBABABAAAAAAAAAAA...

result:

points 0.770 Accepted: 41

Test #46:

score: 77
Acceptable Answer
time: 237ms
memory: 5740kb

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

1001111001111001110100010100000001010011001111000
1100101100101100101111001110100101110101100111111
1010111010111010110111010111001101011010010110000
0100100100100100101111111100111111101011111111110
1011011011011011010001110010111100001100000111100
1100001100001100000111010111001101011010010110000
...

Manager to Bruno

20000
42 1100111101011110001110100001010001000010100011001111100000001010
42 1101010110001011000011000011011110011110100110111010011001111111
42 1010111101011110101100111010111100110010110101011110101101100100
42 0110010010001001000000100001011111011100111111110100111111011110
42 1011011101101110110...

Bruno to Manager

ABAAABABAAAAAAABABAABBAABBBBAAAAAAAAAAAAAA
BBBBAABBBABAABABBBABABBAABBBBBBAAAAAAAAAAA
ABBBABABBBAABBABABBABAABABBAAAAAAAAAAAAAAA
BBBBBBBBAABBBBBBBABABBBBBBBBBBAAAAAAAAAAAA
AAABBBAABABBBBAAAABBAAAAABBBBAAAAAAAAAAAAA
ABBBABABBBAABBABABBABAABABBAAAAAAAAAAAAAAA
BBBBBBBABBBBBBBBBBBBBBBABBBBBABAAAAAAAAAAA...

result:

points 0.770 Accepted: 41

Test #47:

score: 84
Acceptable Answer
time: 210ms
memory: 5468kb

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

1110111110111110111000000010000000000100101010000
1101101101101101100000111010110001101110110100100
0010000010000010001101111111110110111111111111011
1001001001001001001111111111111111111111111111111
1011011011011011011010010101001100111000010000100
0101010101010101010000111010110001101110110100100
...

Manager to Bruno

20000
43 1110111111011111101110000000010000000001001001001000010110100000
43 1101110110101011011000000001100101111010110100110110101101010100
43 1101011100101000010000001000111011110111110111011111111111111011
43 1100100100000001000100100010011110111111111111111011111110111111
43 1011011101101110110...

Bruno to Manager

BAAAAAAABAAAAAAAAAABAABABABAAAAAAAAAAAAAAAA
AAAABBBABABBAAABBABBBABBABAABAAAAAAAAAAAAAA
BBABBBBBBBBBABBABBBBBBBBBBBBABBAAAAAAAAAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBAAAAAAAAAAAA
BABAABABABAABBAABBBAAAABAAAABAAAAAAAAAAAAAA
AAAABBBABABBAAABBABBBABBABAABAAAAAAAAAAAAAA
AAAABBBABABBAAABBABBBABBABAABAAAAAAA...

result:

points 0.840 Accepted: 42

Test #48:

score: 84
Acceptable Answer
time: 209ms
memory: 5536kb

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

0100110100110100111010010110011010001000100101011
0100110100110100111010010110011010001000100101011
1000101000101000101010010110011010001000100101011
0101100101100101100100101111111111111011011110011
1010101010101010101010010110011010001000100101011
1001111001111001110000100000001000000001101000000
...

Manager to Bruno

20000
43 0110011010101101000111010001011001110100010000101000010101001011
43 0110011010001101000111010001011001010100010000101100111001101011
43 1100010101001010010111100101010100010110011101000110001001101011
43 0110110010011001010100100000010001001111111111111100110111010011
43 1010110101010110010...

Bruno to Manager

BABAABABBAABBABAAABAAABAABABABBAAAAAAAAAAAA
BABAABABBAABBABAAABAAABAABABABBAAAAAAAAAAAA
BABAABABBAABBABAAABAAABAABABABBAAAAAAAAAAAA
ABAABABBBBBBBBBBBBBABBABBBBAABBAAAAAAAAAAAA
BABAABABBAABBABAAABAAABAABABABBAAAAAAAAAAAA
AAAABAAAAAAABAAAAAAAABBABAAAAAAAAAAAAAAAAAA
AABABAAAABBBBABAABBAAAAAAAAAAABAAAAA...

result:

points 0.840 Accepted: 42