QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#526927 | #6341. The Last Battle | Qwerty1232 | 0 | 1946ms | 5132kb | C++23 | 4.8kb | 2024-08-22 02:02:31 | 2024-08-22 02:02:33 |
Judging History
Anna
#include "Anna.h"
#include <bits/stdc++.h>
namespace {
using u64 = uint64_t;
constexpr int n = 8;
std::vector<u64> gen() {
constexpr int K = 64;
std::mt19937_64 rnd(2086);
std::vector<u64> vec(K);
std::vector<u64> res;
while (res.size() < K) {
u64 val0 = rnd();
u64 val = val0;
for (int j = 0; j < K; j++) {
if (val & 1ULL << j) {
if (vec[j]) {
val ^= vec[j];
} else {
vec[j] = val;
res.push_back(val0);
break;
}
}
}
}
return res;
}
const std::vector<u64> data = gen();
} // namespace
void Anna(int X, int Y, int N, std::string s) {
u64 mask = 0;
for (int i = 0; i < N; i++) {
if (s[i] == 'B') {
mask ^= data[i];
}
}
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
if (i != X && j != Y) {
Paint(i, j, mask >> i * n + j & 1);
}
}
}
}
Bruno
#pragma GCC optimize("O3")
#pragma GCC target("avx2,bmi,bmi2")
#include "Bruno.h"
#include <bits/stdc++.h>
namespace {
using u64 = uint64_t;
constexpr int n = 8;
std::vector<u64> gen() {
constexpr int K = 64;
std::mt19937_64 rnd(2086);
std::vector<u64> vec(K);
std::vector<u64> res;
while (res.size() < K) {
u64 val0 = rnd();
u64 val = val0;
for (int j = 0; j < K; j++) {
if (val & 1ULL << j) {
if (vec[j]) {
val ^= vec[j];
} else {
vec[j] = val;
res.push_back(val0);
break;
}
}
}
}
return res;
}
const std::vector<u64> data = gen();
} // namespace
std::string Bruno(int N, std::vector<std::vector<int>> T) {
u64 mask = 0;
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
mask |= u64(T[i][j]) << i * n + j;
}
}
std::vector<std::pair<int, u64>> ans;
std::vector<u64> data2(64);
for (int x = 0; x < n; x++) {
for (int y = 0; y < n; y++) {
u64 mk = 0;
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
mk |= u64(i == x || j == y) << i * n + j;
}
}
for (int i = 0; i < n * n; i++) {
data2[i] = data[i] & ~mk;
}
std::vector<u64> vec(n * n);
for (int i = 0; i < n * n; i++) {
if (i / n == x || i % n == y) {
continue;
}
for (int j = 0; j < N; j++) {
vec[i] |= (data2[j] >> i & 1) << j;
}
vec[i] |= u64(T[i / n][i % n]) << N;
}
bool fucked = false;
std::vector<u64> fuck(N);
for (int i = 0; i < vec.size(); i++) {
u64 val = vec[i];
for (int j = 0; j < N; j++) {
if (val >> j & 1) {
if (fuck[j]) {
val ^= fuck[j];
} else {
fuck[j] = val;
val = 0;
break;
}
}
}
if (val) {
fucked = true;
break;
}
}
if (std::count(fuck.begin(), fuck.end(), 0)) {
fucked = true;
}
if (fucked) {
continue;
}
for (int i = N - 1; i >= 0; i--) {
for (int j = i + 1; j < N; j++) {
if (fuck[i] >> j & 1) {
fuck[i] ^= fuck[j];
}
}
}
u64 res = 0;
for (int i = 0; i < N; i++) {
res |= (fuck[i] >> N & 1) << i;
}
ans.push_back({x * n + y, res});
}
}
assert(ans.size() >= 1);
if (ans.size() != 1) {
std::cerr << ans.size() << std::endl;
// return std::string(N, 'A');
}
// assert(ans.size() == 1);
u64 ans_mask = ans.front().second;
std::string ans_str(N, '-');
for (int i = 0; i < N; i++) {
ans_str[i] = "AB"[ans_mask >> i & 1];
}
return ans_str;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 296ms
memory: 4052kb
Manager to Anna
20000 1 7 1 A 2 3 1 A 0 1 1 A 1 1 1 A 7 4 1 A 2 3 1 A 0 3 1 B 0 7 1 A 4 2 1 B 5 4 1 A 6 0 1 B 7 3 1 A 0 7 1 A 2 3 1 A 1 6 1 A 5 2 1 B 2 7 1 B 6 3 1 A 3 3 1 A 1 7 1 A 2 3 1 A 1 2 1 A 5 3 1 A 3 5 1 A 4 3 1 A 2 3 1 A 4 6 1 B 7 3 1 B 2 3 1 A 4 4 1 A 7 3 1 A 4 5 1 B 0 7 1 A 0 3 1 B 2 0 1 B 4 1 1 A 6 0 1 ...
Anna to Manager
0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 ...
Manager to Bruno
20000 1 0000000110010100000000000000000000000001000000000000000100000000 1 0001000000000000000011000001000000010000000100000000000000010000 1 1101011101000000000000000100000000000000010000000100000001000000 1 0100000000000001000000000000000000000000010000000000000000000000 1 000010000000100000000000...
Bruno to Manager
A A A A A A B A B A B A A A A B B A A A A A A A A A B B A A A B A B B A B A B B A A B A A A A B A B A A B B A A A A A A A B A B A B B A A A B B B B B A B A B A A B A A A B B B A A B A B A A B B A A B A A B A A A A A A A B B B A B A A A A A A A A B A A B A A B A A B A A A A B A A B A A A A B A A A A ...
result:
points 1.0 Accepted: 43
Test #2:
score: 100
Accepted
time: 351ms
memory: 4172kb
Manager to Anna
20000 3 6 2 AA 6 6 2 BB 7 6 2 AA 2 7 2 BB 2 7 2 BB 6 4 2 BB 7 0 2 BB 1 4 2 BB 1 6 2 BB 5 2 2 BB 0 5 2 BB 2 7 2 BB 1 3 2 BB 7 2 2 BB 5 2 2 AA 5 1 2 AB 0 0 2 BB 6 5 2 AB 3 2 2 AA 6 1 2 BB 2 7 2 BB 4 6 2 AB 2 0 2 BB 2 1 2 BB 1 6 2 AA 7 1 2 BA 5 6 2 BA 2 6 2 AB 2 7 2 BB 5 2 2 BA 7 6 2 AA 0 0 2 BB 1 0 2 ...
Anna to Manager
0000000000000000000000000000000000000000000000000 0011101001001101000010110101110101101101011110000 0000000000000000000000000000000000000000000000000 0011100001001001101011101010011010011010001110001 0011100001001001101011101010011010011010001110001 0011001001010101000110110011110110101100011110010 ...
Manager to Bruno
20000 2 0000001000000010000000000101000000000010000000000000001000000000 2 0011101100100101010000010110100111010101011010011100111011100010 2 0000001000000010000000000000001000000000000000100000001011010111 2 0011100100100100000000100110101011010100011010011101000011100010 2 001110010010010101001110...
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: 401ms
memory: 3892kb
Manager to Anna
20000 4 5 3 AAA 6 5 3 AAA 6 2 3 BAA 4 7 3 ABA 5 6 3 AAB 4 0 3 ABB 5 7 3 BAB 7 0 3 BBB 5 7 3 ABA 4 5 3 AAA 4 5 3 AAA 0 1 3 AAB 4 5 3 AAA 7 2 3 AAA 4 5 3 AAA 1 2 3 AAA 4 4 3 ABA 2 4 3 AAA 2 2 3 BBB 1 5 3 ABB 0 7 3 AAA 1 6 3 ABB 4 4 3 AAA 3 0 3 AAA 6 7 3 BBB 1 2 3 BAA 7 4 3 BBB 5 5 3 BBA 1 7 3 BAA 0 6 ...
Anna to Manager
0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 0010100000011000001111000000000111011100101011001 0000110001000101100101110101101110111111110101101 1001000110010011101011110100010111101110000000010 0011101110100100011010000011110000100011101011101 ...
Manager to Bruno
20000 3 0000010000000100000000000000000010100001000000000000010000000000 3 0000010000000000000000000000000000000000000000001100111000000100 3 0011010000100110000001111010000000001110111100101110101110111001 3 0000110100100010011001001110101000001000101110111111111001011010 3 100100101100101011101001...
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: 481ms
memory: 4332kb
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
0010010011001101011111110000101010101001010011001 0001010011000101110001000111100001100000101100001 0000111001000101100101111101101110111111100101101 1001000110001011100010101101110101001110000000110 1001000110011011101011110100110111001110000000010 0011010000001100100111000000001011100101111011100 ...
Manager to Bruno
20000 4 0011001001110011010011111110000010110101010001010011100100001010 4 0001011001100001000011000111010010001111100001110000001011000101 4 0000111100100011011001001011110111111001101110111111111001011011 4 1001100011000010111000010000010001010101110110100111000000000110 4 100101001100111011101001...
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: 531ms
memory: 4140kb
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
0101100100011001101011000111110100110001011010101 1000001100101011001010100100111111111100010110101 0011010000001110000000010111110100100101111011100 0111010100110001010011011111100111111100111001001 1101100001001100101110101001100011011111110110000 1011010000110011010010001111101001100010010101011 ...
Manager to Bruno
20000 5 0101101010001110011010010101000010001111110100011000101110101001 5 1100000101001010011001010010010001111111011001110111000110110101 5 0011010100000111010111101000000100101110110100110010111110111001 5 0111101010001100010010011001111110001111110100111000100101000100 5 110111000010101101001110...
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: 581ms
memory: 4316kb
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
1100000100101010100001001001100011111001101110000 1010111000111110101100010111110011001010001111001 1010000110101011010011101000011110101100000000110 0100111101111100011010100100011010001101111110000 0010000100101011010001011101101101011100000000110 1110011110001110000110111100000011111000001001111 ...
Manager to Bruno
20000 6 1100000110010101101000001001001010001111110011001000010111100000 6 1010111100011110000011001010110100101111110011010101000011110011 6 1011000011101010110010011110100001011101111101010111000000100110 6 0101011110101111000011010100010001100100000100010110011111100000 6 100100001100101001001110...
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: 625ms
memory: 4088kb
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
0000110010111010111111111110101100101010111100110 0000000000000000000000000000000000000000000000000 0110001111101101011111010011000000000011101000001 0000110101011000110000101111111111000100110110110 0011101001000101000110110111110100101101011101001 0000010001100001011111111110110110100101010110010 ...
Manager to Bruno
20000 7 1000011010101110001010000101111111111110010110011010101101100110 7 1000000000000110000000001000000010000000100000000000000010000000 7 0110001111110111010111011010011100000000000111101000001111010111 7 0000111010100110001100000101011111110110000100010010001101100110 7 001111010010010101000011...
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: 697ms
memory: 3972kb
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
1111001011101010001111011101000101100101110110111 0111010111001001101011000101111110110100101001010 0110010101001111010010100000010100100000100001010 1011001011101010001111000101010101101101110010111 0011011000011000011000110000011110011110001011110 0000000000000000000000000000000000000000000000000 ...
Manager to Bruno
20000 8 1111100101111010100001111001110110100001000010110101011100110111 8 0111101010110010001101011000010110111101100100101100101010011101 8 1011001010101111010100111110100100100000101010011000001010001010 8 1011100101011010100001110000010010000101011010110101011100010111 8 010110110100011000001100...
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: 787ms
memory: 3908kb
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
1010100000110101000000101110100010010011000001100 1101010011000001101101000010110100011001100000110 0000000000000000000000000000000000000000000000000 0001011011010010000001010101011001011001111111110 0101000000111001000010000010111011111110011000000 1101000000010111101100101101111101100010001110101 ...
Manager to Bruno
20000 9 1101010001001101001000000010111011000100010000101100110000001100 9 1101011000000110011000000110111010000110110100101100110000001110 9 0000001000000010010111100000001000000000000000100000001000000010 9 0001011101101000100000000000010010101001011001101100101111111010 9 101010001000111000100001...
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: 865ms
memory: 3948kb
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
0110101101100001111101110000100010001001010010000 1101001101100111010011010010111010010101000100110 0010010100101111001010100010000101000001110001011 1110000010001111101101010100000000011100011011011 0110010100100000000101111000011111101100001100010 1011110000000111010011100110010111100001101001101 ...
Manager to Bruno
20000 10 1011010111011000001111100101000011110000010001001010010100010000 10 1000001111010001101100011101100110101010111011001010010001001110 10 1001001010101111010010111110010100100010100010101000011110001011 10 1110001000000001010001011110110010101000000000101110000110110101 10 1101001101101010100...
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: 923ms
memory: 3920kb
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
1000010101110000110001111000000110001110000101111 0111110001111101000011001100111100100100001000001 1110000011111010101011100110111110000000110001011 1100000010111010001011100110111110000010111001010 1101000010111110010101100011111111000001011001101 0111011111100110010110101001010100101111100101000 ...
Manager to Bruno
20000 11 1100001011011100000110000111100010001100001110001010111100001010 11 0111111000011111000011000110000111001100111110010001000011000001 11 1111000001111110100101011110011011011100001000110010101111010111 11 1101000001001110100001011100011011101100000100010000101110001010 11 1101000101011111100...
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: 991ms
memory: 4400kb
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
0010111001001111000001001110110010010110110001011 1111001011010010101101010001111000111011101110000 0011110010111001111101001011111110110001000111000 0111001010010100010100101101101110011010011000110 1111001011010010101101010001111000111011101110000 1000001000100110101000011011101001001101001111100 ...
Manager to Bruno
20000 12 1100101000100111001000111100000010011110110001001011101100001011 12 1111001101101000101011000001100110100011111000111101110011100001 12 0011111010101111010110100111111010010011111111011000110001110100 12 0111001101001010000101000101101010111000000100011101001010001100 12 1111001101101001101...
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: 1073ms
memory: 4084kb
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
1101110001111010110011010100011000101000001010010 0000011100001111000010000101001101011100000011101 1000011010001111100010000001100111001110001001101 1000011010001111100010000001100111001110001001101 0100111111100000101000011111101000110010101000000 0110101010110010101001011001100000000000110010100 ...
Manager to Bruno
20000 13 1110111001011110100110011001010001110001001000001000010110010010 13 1000001101000011011000010000010100110011100110100111000010011101 13 1000011101000111111000010000010101111010100111100111010010011101 13 1000011101000011111000010000000100001000100111100111000010011001 13 0100111110100111111...
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: 1158ms
memory: 3896kb
Manager to Anna
20000 5 0 14 AAAAAAAAAAAAAA 5 6 14 AAAAAAAAAAAAAA 4 6 14 ABAABBABABABAA 3 5 14 BBBBBAAAABBABA 3 5 14 BBBBBAAAABBABA 0 5 14 BBBBBBBBBBABAB 1 2 14 BBBABBBBBBBABB 2 5 14 BBBBBBBBBBBBBB 1 5 14 BABAABBBBBBBAB 1 6 14 ABBABBBABBBBBA 1 7 14 AAAAAAAABAAAAA 4 1 14 BBBBBBBBBBBBBB 3 6 14 BBBBBAAAABBABA 2 3 14 B...
Anna to Manager
0000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000 0001011010110101110010000110001000001111100010011 0010011101010001001111111110110100110101000011011 0010011101010001001111111110110100110101000011011 0001111001011001011110101011011010010000010001000 ...
Manager to Bruno
20000 14 1000000010000000000000000000000010000000010000101000000000000000 14 0000001000000000000000000000000000000000011001110000000000000010 14 0001011101011011011100010000111001111010001000100111111000100111 14 0010011110101000010010110000010011111010110101011010100000110011 14 0010011110101100010...
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: 1243ms
memory: 4052kb
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
0111110000100110000010001101001001100011010110001 1011001101111010000011100110100101000001000100100 1000101110110001111011101000011001110001000100101 1110111110010101000101010010110001100001111100110 1000011101110110001010000100110001001000111001110 0000000000000000000000000000000000000000000000000 ...
Manager to Bruno
20000 15 1011111010001001010000010000110110010011000011011011000100001010 15 1011100110110110100000011100011010010010000001001100111001001100 15 1100010111101100001111011110100001111010011100111100010001100101 15 1110111111000101010000101010001000001000110010110000011111000110 15 1100001111011101100...
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: 1345ms
memory: 5000kb
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
1111010011011000110101000000010000111010110101110 0100100111111000110001010111110100000100000111100 0011110010110110000010101000100111010011011011010 1001111000111111100011011101110010000101010001111 0111010111110111101101010001001101010010110011011 0001011100001010010111110000011100011001110100111 ...
Manager to Bruno
20000 16 1111010101101101001101001000000001000011110101101000010101011100 16 0101010011101110001010001010011100110011110110000010000001111100 16 0011111001011011010111101000001101010000100111101001101110110110 16 1001111100010111000000101110000110110101110011000010010100010111 16 0111010110100111111...
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: 1492ms
memory: 4924kb
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
0000010001101010101011101100110111100011101011100 0001101111100100101000101101010111001001010101011 0000110001001010011011111100111101100111100100110 0101001101010111001101111111000000111000011111010 1110100110011101101100111111100000111100011010110 0000011001100110101101101110000111110111000110011 ...
Manager to Bruno
20000 17 0000011000110110101010011101100011011111000110101011110000001010 17 0010110111011001000101000100110101001110011001110100010101101011 17 0010011000110010100011011111110011011011001111101110101101100110 17 0101001110101001110011001111110100001000000000111100000111110100 17 1111010011010111011...
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: 1558ms
memory: 4964kb
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
0010001000001110011000101100001001011010101100101 0111100011101011010011000111111111101111101011001 1000100011110001110101101001100011101111101011001 1100100010010111110100001010000010011110010000110 0100100111011010000110000001110101001011101001111 0010001101001111100100001100000010111000100010011 ...
Manager to Bruno
20000 18 0010001110010100000001011001100001011010001001001101011011001001 18 1000001100111100001110101110100111000111111111110011111011011001 18 1100010001111100001110101110100110000111111101010111111011011001 18 1100100101001010111101000001010000001000000010011111001000001100 18 0101010011110110100...
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: 1704ms
memory: 4976kb
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
0101101000100010011010000110001110000111000101110 1111000101111111011110110111111101111101010000100 0000111000011111100000111010000001001110001101110 1111000101111111011110110111111101111101010000100 0100101110100100110010101111111110000010110111110 1010010011111011101100110000000011100010001101110 ...
Manager to Bruno
20000 19 1100101001011001000100001001100100001110001110000011101001011100 19 1111100010011111110011110101011111011011011001111101010100100100 19 0010011100100111110100000111101000000010111101010111100011101110 19 1111100010011111110011110101011111011011000100011101010100000100 19 1101001101001101110...
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: 1839ms
memory: 5132kb
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
0011110000100010100010100000110110011010110111111 1001010100000001101010011010000011001011001110100 0111111010010001111001001111011110101000111011100 1100001011001101010110000001111110111000000101010 0101100001111000010001010001010000011011000111111 1000000101011011111110011001110110110000001100011 ...
Manager to Bruno
20000 20 1100101000011110000010001001000101100000110011001110101101011111 20 1001010110000000000011000110101100110101000011010101100011101001 20 0111111101001001011110001001111101111010010001111011100111010111 20 1000000011100001010100110100101100000001111111011100000001001010 20 0110110000111110000...
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: 1946ms
memory: 5076kb
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
1011001011011000011100011010110000001001101110111 0110000010000111101111100100111010011100101100010 0011000110011000100011111111101010010111001111010 0010000110011000000011110111100010010101001110010 1101111010011111100100001011000101010010011001110 1101101000001010101011100111000011100110101111011 ...
Manager to Bruno
20000 21 1011100110010100011001100001011000111010110000000100111011100111 21 0111000000000110001000011111011111100100111101001011001011100010 21 0011100011001110001000011111111110100100101111001111101011010111 21 0011000011000110000000011101011110000100100101001101001001000100 21 1101111101001111111...
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: 0
Stage 2: Program Bruno Time Limit Exceeded
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
0110101010101010101000101000010000100111110111110 0011100011011011010001010110010100010000111001011 0010111000100000110111000101101010011101110001101 1010000101110001100001010100100101110101000010000 1010001011101001001010110000001110100010110110110 1010110111110000101001110110111000011010111100001 ...
Manager to Bruno
20000 22 1100101001100101010010101010010001011000010000010011111101101110 22 0011110001010110110010001001011001001000011001111000001110101011 22 1101011100101111000100000011011110001001101011001110111100011101 22 1010100010110100011000000000010010100100100110111010010000100000 22 1101000101111010010...
Bruno to Manager
ABAABAAAAAAABAAABBBAAA BAAAABAAAAAAAAAAABAAAA BBBBABBBBABBABBBBBAABA ABABAABAAAAAAAABAAABBA AAAAABAABABAABAABAAAAA BBAABBBBAABBABABBBABBB ABAABAAAAAAABAAABBBAAA ABAABAAAAAAABAAABBBAAA AAAAAAAAAAAAAAAAAAAAAA AAAAAAAABABABBBABBAAAB ABAABAAAAAAABAAABBBAAA ABAABAAAAAAABAAABBBAAA AAAAAAAAAABBAAAAAAABAA B...