QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#508208 | #8644. Tricolor Lights | Max_s_xaM | 0 | 52ms | 4556kb | C++17 | 3.1kb | 2024-08-07 09:31:29 | 2024-08-07 09:31:29 |
Judging History
Anna
#include "Anna.h"
#include <iostream>
#include <cstring>
typedef long long ll;
using namespace std;
namespace
{
const int MAXN = 5e5 + 10;
int n;
string pat[4] = {"2202102012001101000", "2202102011012000", "220210201101200", "22021020120011000"};
inline void Trans(string &s)
{
for (int i = 0; i < s.size(); i++)
if (s[i] == '0') s[i] = 'R';
else if (s[i] == '1') s[i] = 'G';
else if (s[i] == '2') s[i] = 'B';
else if (s[i] == 'R') s[i] = '0';
else if (s[i] == 'G') s[i] = '1';
else s[i] = '2';
}
}
pair <string, int> anna(int N, string S)
{
n = N;
if (n < 28)
{
Trans(S);
for (int i = 0; i < n; i++)
if (S[i] == '2') S[i] = '0';
else S[i]++;
Trans(S);
return make_pair(S, n);
}
Trans(S);
int p = 0, ed = (n - 1) / 9 + 1;
while (S.size() < ed * 9) S.push_back('0');
string ret = "";
for (int _ = 0; _ < ed; _++)
{
for (int u = 0; u < 4; u++)
{
int tar = pat[u][_ % pat[u].size()] - '0'; bool flag = 1;
for (int i = 0; i < 3 && flag; i++)
if (i != S[p] - '0')
for (int j = 0; j < 3; j++)
if (j != S[p + 1] - '0' && (j - i + 3) % 3 == tar)
{ ret.push_back(i + '0'), ret.push_back(j + '0'), flag = 0; break; }
p += 2;
}
for (int i = 0; i < 3; i++)
if (i != S[p] - '0' && i != ret.back() - '0') { ret.push_back(i + '0'); break; }
p++;
}
ret.resize(n), Trans(ret);
return {ret, min(n, 28)};
}
Bruno
#include "Bruno.h"
#include <iostream>
#include <cstring>
#include <map>
typedef long long ll;
using namespace std;
namespace
{
const int MAXN = 5e5 + 10;
int n;
string pat[4] = {"2202102012001101000", "2202102011012000", "220210201101200", "22021020120011000"};
inline void Trans(string &s)
{
for (int i = 0; i < s.size(); i++)
if (s[i] == '0') s[i] = 'R';
else if (s[i] == '1') s[i] = 'G';
else if (s[i] == '2') s[i] = 'B';
else if (s[i] == 'R') s[i] = '0';
else if (s[i] == 'G') s[i] = '1';
else s[i] = '2';
}
map <string, int> pos[4];
map <tuple <int, int, int, int>, int> idx;
int d[40];
}
void init(int N, int l)
{
n = N;
if (n < 28) return;
for (int i = 0; i < 4; i++)
{
string cur = pat[i] + pat[i];
for (int j = 0; j < pat[i].size(); j++)
pos[i][cur.substr(j, 3)] = j;
}
int ed = (n - 1) / 9 + 1;
for (int i = 0; i < ed; i++) idx[make_tuple(i % pat[0].size(), i % pat[1].size(), i % pat[2].size(), i % pat[3].size())] = i;
}
int bruno(string str)
{
if (str.size() < 28) return 1;
Trans(str);
for (int i = 1; i < str.size(); i++) d[i - 1] = (str[i] - str[i - 1] + 3) % 3;
bool avl[9] = {0};
for (int i = 0; i < 27; i++) avl[i % 9] |= (d[i] == 0);
int zr[15], top = 0;
for (int i = 0; i < 9; i++)
if (!avl[i]) zr[++top] = i;
int stt = 0;
if (top == 1) stt = zr[1];
else
{
stt = zr[top];
for (int i = top - 1; ~i; i--)
if ((zr[i + 1] - zr[i]) & 1) { stt = zr[i]; break; }
}
int tmp[4];
for (int i = 2; i <= 8; i += 2)
{
int s = (stt + i) % 9; string cur = "";
for (int j = 0; j < 3; j++)
cur.push_back(d[s + j * 9] + '0');
int id = i / 2 - 1, p = pos[id][cur];
if (s > stt) p = (p - 1 + (int)pat[id].size()) % pat[id].size();
tmp[id] = p;
}
int ans = idx[make_tuple(tmp[0], tmp[1], tmp[2], tmp[3])];
return (ans + 1) * 9 - stt - 1;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 5
Accepted
time: 27ms
memory: 4256kb
Manager to Aoi
Start Success 8 RGGBRBBG
Aoi to Manager
Start 0 0 GBBRGRRB 8
Manager to Bitaro
Start Success 10000 8 8 GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBR...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #2:
score: 5
Accepted
time: 15ms
memory: 4236kb
Manager to Aoi
Start Success 1 G
Aoi to Manager
Start 0 0 B 1
Manager to Bitaro
Start Success 10000 1 1 B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Succ...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #3:
score: 5
Accepted
time: 21ms
memory: 4260kb
Manager to Aoi
Start Success 2 BB
Aoi to Manager
Start 0 0 RR 2
Manager to Bitaro
Start Success 10000 2 2 RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success R...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #4:
score: 5
Accepted
time: 16ms
memory: 4348kb
Manager to Aoi
Start Success 28 RRRRRRRRRRRRRRRRRRRRRRRRRRRR
Aoi to Manager
Start 0 0 BGBGBGBGBBGBGBGBGBGGGGGGGGBB 28
Manager to Bitaro
Start Success 10000 28 28 BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBG...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #5:
score: 5
Accepted
time: 22ms
memory: 4284kb
Manager to Aoi
Start Success 60 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
Aoi to Manager
Start 0 0 GRGRGRGRGGRGRGRGRGRRRRRRRRGGRGRGRGRGRGRGRGRGRRRRRRRRRGGRGRGR 28
Manager to Bitaro
Start Success 10000 60 28 RGRGRGRRRRRRRRGGRGRGRGRGRGRG Success RRRGGRGRGRGRGRGRGRGRGRRRRRRR Success RGRGRGRGRGRGRGRGRRRRRRRRRGGR Success GRGRGRRRRRRRRGGRGRGRGRGRGRGR Success GRGRGRRRRRRRRGGRGRGRGRGRGRGR Success RGRGRGRGGRGRGRGRGRRRRRRRRGGR Success RGRGRRRRRRRRGGRGRGRGRGRGRGRG Success RGRRRRRRRRGGRGR...
Bitaro to Manager
Start 0 0 13 0 24 0 29 0 14 0 14 0 2 0 15 0 17 0 31 0 33 0 33 0 24 0 2 0 13 0 11 0 15 0 33 0 16 0 20 0 17 0 32 0 5 0 9 0 2 0 25 0 30 0 9 0 11 0 32 0 21 0 33 0 4 0 30 0 16 0 10 0 6 0 12 0 9 0 16 0 5 0 3 0 26 0 21 0 11 0 16 0 5 0 24 0 16 0 2 0 23 0 1 0 14 0 14 0 30 0 21 0 7 0 1 0 21 0 20 0 28 0 30 0 3...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #6:
score: 5
Accepted
time: 22ms
memory: 4284kb
Manager to Aoi
Start Success 130 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
Aoi to Manager
Start 0 0 BGBGBGBGBBGBGBGBGBGGGGGGGGBBGBGBGBGBGBGBGBGBGGGGGGGGGBBGBGBGBGBGGGGGGGGBGBGBGBGBGBGGBGBBGBGGGGGGGGBGGGBGBGGBGBBGBGGBGGBGGGGGBGGGGG 28
Manager to Bitaro
Start Success 10000 130 28 BBGBGGGGGGGGBGGGBGBGGBGBBGBG Success BGBGBGBGGGGGGGGBBGBGBGBGBGBG Success GGGGGGGBGGGBGBGGBGBBGBGGBGGB Success GBGGGGGGGGBGGGBGBGGBGBBGBGGB Success GGBGBGGBGBBGBGGBGGBGGGGGBGGG Success GBGBGBGBGBGBGBGGGGGGGGGBBGBG Success BGBGGGGGGGGBGBGBGBGBGBGGBGBB Success GBGBGBGGBGBBGB...
Bitaro to Manager
Start 0 0 87 0 12 0 92 0 89 0 101 0 31 0 61 0 77 0 10 0 70 0 90 0 24 0 65 0 59 0 22 0 63 0 98 0 103 0 26 0 24 0 43 0 22 0 9 0 103 0 72 0 81 0 66 0 7 0 79 0 73 0 23 0 33 0 62 0 45 0 56 0 34 0 97 0 90 0 35 0 24 0 75 0 99 0 44 0 84 0 46 0 1 0 35 0 10 0 33 0 18 0 91 0 55 0 63 0 4 0 13 0 42 0 28 0 95 0 2...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #7:
score: 5
Accepted
time: 20ms
memory: 4512kb
Manager to Aoi
Start Success 131 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
Aoi to Manager
Start 0 0 BGBGBGBGBBGBGBGBGBGGGGGGGGBBGBGBGBGBGBGBGBGBGGGGGGGGGBBGBGBGBGBGGGGGGGGBGBGBGBGBGBGGBGBBGBGGGGGGGGBGGGBGBGGBGBBGBGGBGGBGGGGGBGGGGGG 28
Manager to Bitaro
Start Success 10000 131 28 BGBGBGGGGGGGGBBGBGBGBGBGBGBG Success BGBGBGGGGGGGGBGBGBGBGBGBGGBG Success BGBGBBGBGBGBGBGGGGGGGGBBGBGB Success GBGBGBGBBGBGBGBGBGGGGGGGGBBG Success GBGBBGBGGGGGGGGBGGGBGBGGBGBB Success GBGBGGGGGGGGBGBGBGBGBGBGGBGB Success GBGBGBGBGGBGBBGBGGGGGGGGBGGG Success GGGBGBGBGBGBGB...
Bitaro to Manager
Start 0 0 14 0 59 0 5 0 2 0 84 0 60 0 75 0 69 0 94 0 76 0 34 0 19 0 57 0 69 0 22 0 34 0 54 0 87 0 68 0 79 0 70 0 77 0 88 0 52 0 24 0 66 0 33 0 39 0 61 0 43 0 96 0 73 0 95 0 75 0 94 0 58 0 1 0 64 0 58 0 81 0 1 0 5 0 1 0 61 0 93 0 16 0 7 0 76 0 99 0 7 0 38 0 27 0 58 0 1 0 18 0 84 0 83 0 86 0 44 0 58 0...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #8:
score: 5
Accepted
time: 43ms
memory: 4508kb
Manager to Aoi
Start Success 131 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
Aoi to Manager
Start 0 0 GRGRGRGRGGRGRGRGRGRRRRRRRRGGRGRGRGRGRGRGRGRGRRRRRRRRRGGRGRGRGRGRRRRRRRRGRGRGRGRGRGRRGRGGRGRRRRRRRRGRRRGRGRRGRGGRGRRGRRGRRRRRGRRRRRG 28
Manager to Bitaro
Start Success 10000 131 28 GRGGRGRRRRRRRRGRRRGRGRRGRGGR Success RGRGRGRGRGRGRGRGRRRRRRRRRGGR Success GRGGRGRRRRRRRRGRRRGRGRRGRGGR Success RGRRGRGGRGRRRRRRRRGRRRGRGRRG Success RGRGRRRRRRRRGGRGRGRGRGRGRGRG Success RRRRRGRGRGRGRGRGRRGRGGRGRRRR Success GRRRRRRRRGRGRGRGRGRGRRGRGGRG Success RGRGRRGRGGRGRR...
Bitaro to Manager
Start 0 0 85 0 29 0 85 0 81 0 15 0 67 0 63 0 79 0 81 0 90 0 72 0 39 0 30 0 3 0 29 0 72 0 71 0 95 0 83 0 26 0 90 0 22 0 81 0 91 0 17 0 38 0 23 0 1 0 1 0 33 0 19 0 14 0 29 0 10 0 82 0 21 0 36 0 57 0 77 0 95 0 46 0 57 0 22 0 30 0 104 0 53 0 9 0 32 0 88 0 32 0 57 0 79 0 12 0 68 0 95 0 104 0 9 0 91 0 90 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #9:
score: 5
Accepted
time: 27ms
memory: 4252kb
Manager to Aoi
Start Success 2 RR
Aoi to Manager
Start 0 0 GG 2
Manager to Bitaro
Start Success 10000 2 2 GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success GG Success G...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #10:
score: 5
Accepted
time: 14ms
memory: 4544kb
Manager to Aoi
Start Success 8 BRBRRBBG
Aoi to Manager
Start 0 0 RGRGGRRB 8
Manager to Bitaro
Start Success 10000 8 8 RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRGGRRB Success RGRG...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #11:
score: 5
Accepted
time: 11ms
memory: 4252kb
Manager to Aoi
Start Success 17 RRBGBRRBRBRRGBGGG
Aoi to Manager
Start 0 0 GGRBRGGRGRGGBRBBB 17
Manager to Bitaro
Start Success 10000 17 17 GGRBRGGRGRGGBRBBB Success GGRBRGGRGRGGBRBBB Success GGRBRGGRGRGGBRBBB Success GGRBRGGRGRGGBRBBB Success GGRBRGGRGRGGBRBBB Success GGRBRGGRGRGGBRBBB Success GGRBRGGRGRGGBRBBB Success GGRBRGGRGRGGBRBBB Success GGRBRGGRGRGGBRBBB Success GGRBRGGRGRGGBRBBB Success GGRBRGGRGRGGBR...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #12:
score: 5
Accepted
time: 16ms
memory: 4516kb
Manager to Aoi
Start Success 27 RGGGBGRRRGBGBRBGRBRGBRGRGRR
Aoi to Manager
Start 0 0 GBBBRBGGGBRBRGRBGRGBRGBGBGG 27
Manager to Bitaro
Start Success 10000 27 27 GBBBRBGGGBRBRGRBGRGBRGBGBGG Success GBBBRBGGGBRBRGRBGRGBRGBGBGG Success GBBBRBGGGBRBRGRBGRGBRGBGBGG Success GBBBRBGGGBRBRGRBGRGBRGBGBGG Success GBBBRBGGGBRBRGRBGRGBRGBGBGG Success GBBBRBGGGBRBRGRBGRGBRGBGBGG Success GBBBRBGGGBRBRGRBGRGBRGBGBGG Success GBBBRBGGGBRBRGRBGRGBRG...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #13:
score: 5
Accepted
time: 13ms
memory: 4556kb
Manager to Aoi
Start Success 28 GGGBRRRBRGGBGBBBBRGRRRBRRRBG
Aoi to Manager
Start 0 0 RBBGBGGRGRBRBGRGRGBBGGGGGGRR 28
Manager to Bitaro
Start Success 10000 28 28 RBBGBGGRGRBRBGRGRGBBGGGGGGRR Success RBBGBGGRGRBRBGRGRGBBGGGGGGRR Success RBBGBGGRGRBRBGRGRGBBGGGGGGRR Success RBBGBGGRGRBRBGRGRGBBGGGGGGRR Success RBBGBGGRGRBRBGRGRGBBGGGGGGRR Success RBBGBGGRGRBRBGRGRGBBGGGGGGRR Success RBBGBGGRGRBRBGRGRGBBGGGGGGRR Success RBBGBGGRGRBRBGR...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #14:
score: 0
Wrong Answer
time: 1ms
memory: 4256kb
Manager to Aoi
Start Success 29 BBRRBGRRRGBBRGRRRBGGGRGRRGGGG
Aoi to Manager
Start 0 0 GRBGRBBGBBGRBRBBGRRRBBBBBBRRB 28
Manager to Bitaro
Start Success 10000 29 28 RBGRBBGBBGRBRBBGRRRBBBBBBRRB Success RBGRBBGBBGRBRBBGRRRBBBBBBRRB Success GRBGRBBGBBGRBRBBGRRRBBBBBBRR WA
Bitaro to Manager
Start 0 0 2 0 2 0 8
Manager to Checker
0.00
result:
points 0.0
Subtask #2:
score: 0
Skipped
Subtask #3:
score: 0
Skipped
Subtask #4:
score: 0
Skipped
Subtask #5:
score: 0
Wrong Answer
Test #80:
score: 70
Accepted
time: 7ms
memory: 4280kb
Manager to Aoi
Start Success 8 RGGBRBBG
Aoi to Manager
Start 0 0 GBBRGRRB 8
Manager to Bitaro
Start Success 10000 8 8 GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBRGRRB Success GBBR...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #81:
score: 70
Accepted
time: 11ms
memory: 4260kb
Manager to Aoi
Start Success 1 G
Aoi to Manager
Start 0 0 B 1
Manager to Bitaro
Start Success 10000 1 1 B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Success B Succ...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #82:
score: 70
Accepted
time: 13ms
memory: 4212kb
Manager to Aoi
Start Success 2 BB
Aoi to Manager
Start 0 0 RR 2
Manager to Bitaro
Start Success 10000 2 2 RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success RR Success R...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #83:
score: 70
Accepted
time: 52ms
memory: 4248kb
Manager to Aoi
Start Success 28 RRRRRRRRRRRRRRRRRRRRRRRRRRRR
Aoi to Manager
Start 0 0 BGBGBGBGBBGBGBGBGBGGGGGGGGBB 28
Manager to Bitaro
Start Success 10000 28 28 BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBGBGBGGGGGGGGBB Success BGBGBGBGBBGBGBG...
Bitaro to Manager
Start 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #84:
score: 70
Accepted
time: 8ms
memory: 4216kb
Manager to Aoi
Start Success 60 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
Aoi to Manager
Start 0 0 GRGRGRGRGGRGRGRGRGRRRRRRRRGGRGRGRGRGRGRGRGRGRRRRRRRRRGGRGRGR 28
Manager to Bitaro
Start Success 10000 60 28 RRRRRRRGGRGRGRGRGRGRGRGRGRRR Success RRRGGRGRGRGRGRGRGRGRGRRRRRRR Success GRRRRRRRRGGRGRGRGRGRGRGRGRGR Success RGRGRGRGRRRRRRRRGGRGRGRGRGRG Success GRGGRGRGRGRGRRRRRRRRGGRGRGRG Success RGRGRGRGRGRGRGRGRRRRRRRRRGGR Success RGRGRGRGRGRGRRRRRRRRRGGRGRGR Success RGRGRGRRRRRRRRG...
Bitaro to Manager
Start 0 0 20 0 24 0 18 0 11 0 7 0 29 0 33 0 13 0 3 0 23 0 7 0 15 0 4 0 23 0 4 0 24 0 33 0 25 0 31 0 28 0 4 0 32 0 6 0 5 0 20 0 24 0 31 0 24 0 33 0 9 0 18 0 22 0 13 0 14 0 19 0 1 0 21 0 20 0 25 0 6 0 21 0 32 0 29 0 12 0 20 0 12 0 11 0 15 0 1 0 1 0 13 0 11 0 33 0 25 0 18 0 7 0 26 0 19 0 4 0 16 0 1 0 5...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #85:
score: 70
Accepted
time: 12ms
memory: 4284kb
Manager to Aoi
Start Success 130 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
Aoi to Manager
Start 0 0 BGBGBGBGBBGBGBGBGBGGGGGGGGBBGBGBGBGBGBGBGBGBGGGGGGGGGBBGBGBGBGBGGGGGGGGBGBGBGBGBGBGGBGBBGBGGGGGGGGBGGGBGBGGBGBBGBGGBGGBGGGGGBGGGGG 28
Manager to Bitaro
Start Success 10000 130 28 BGBGBGBGGGGGGGGBGBGBGBGBGBGG Success BGBGBGBGBGGGGGGGGGBBGBGBGBGB Success BGBBGBGBGBGBGGGGGGGGBBGBGBGB Success GBGBGBGGBGBBGBGGGGGGGGBGGGBG Success GGBGGGBGBGGBGBBGBGGBGGBGGGGG Success GGGGGGGBGGGBGBGGBGBBGBGGBGGB Success BBGBGBGBGBGGGGGGGGBBGBGBGBGB Success GBGGGGGGGGGBBG...
Bitaro to Manager
Start 0 0 57 0 36 0 7 0 77 0 97 0 92 0 9 0 43 0 90 0 36 0 29 0 1 0 65 0 81 0 67 0 31 0 86 0 60 0 43 0 20 0 68 0 62 0 42 0 91 0 37 0 1 0 103 0 32 0 35 0 38 0 68 0 44 0 40 0 16 0 99 0 10 0 84 0 49 0 75 0 8 0 91 0 61 0 49 0 60 0 93 0 72 0 38 0 51 0 42 0 11 0 49 0 30 0 67 0 101 0 33 0 23 0 75 0 68 0 63 ...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #86:
score: 70
Accepted
time: 44ms
memory: 4472kb
Manager to Aoi
Start Success 131 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
Aoi to Manager
Start 0 0 BGBGBGBGBBGBGBGBGBGGGGGGGGBBGBGBGBGBGBGBGBGBGGGGGGGGGBBGBGBGBGBGGGGGGGGBGBGBGBGBGBGGBGBBGBGGGGGGGGBGGGBGBGGBGBBGBGGBGGBGGGGGBGGGGGG 28
Manager to Bitaro
Start Success 10000 131 28 GGBBGBGBGBGBGGGGGGGGBGBGBGBG Success GBGGGGGGGGBGBGBGBGBGBGGBGBBG Success GGGGGGBBGBGBGBGBGBGBGBGBGGGG Success BBGBGBGBGBGGGGGGGGBBGBGBGBGB Success BGBBGBGGGGGGGGBGGGBGBGGBGBBG Success GBGBGBGBGBGBGBGBGGGGGGGGGBBG Success GGGGGGGBGGGBGBGGBGBBGBGGBGGB Success GGGGGGGBGGGBGB...
Bitaro to Manager
Start 0 0 52 0 62 0 21 0 9 0 85 0 29 0 92 0 92 0 58 0 26 0 31 0 5 0 79 0 62 0 62 0 22 0 36 0 70 0 37 0 53 0 15 0 9 0 55 0 55 0 27 0 91 0 21 0 31 0 103 0 64 0 55 0 56 0 74 0 45 0 46 0 93 0 94 0 98 0 91 0 19 0 6 0 1 0 33 0 70 0 85 0 30 0 90 0 1 0 26 0 32 0 87 0 100 0 81 0 67 0 81 0 27 0 92 0 56 0 61 0...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #87:
score: 70
Accepted
time: 10ms
memory: 4348kb
Manager to Aoi
Start Success 131 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
Aoi to Manager
Start 0 0 GRGRGRGRGGRGRGRGRGRRRRRRRRGGRGRGRGRGRGRGRGRGRRRRRRRRRGGRGRGRGRGRRRRRRRRGRGRGRGRGRGRRGRGGRGRRRRRRRRGRRRGRGRRGRGGRGRRGRRGRRRRRGRRRRRG 28
Manager to Bitaro
Start Success 10000 131 28 RRRRRRRGGRGRGRGRGRRRRRRRRGRG Success RGRRGRGGRGRRGRRGRRRRRGRRRRRG Success GGRGRGRGRGRRRRRRRRGRGRGRGRGR Success GRGRRGRGGRGRRGRRGRRRRRGRRRRR Success GRGRGRGRRRRRRRRGRGRGRGRGRGRR Success GRRGRGGRGRRRRRRRRGRRRGRGRRGR Success RGRGGRGRGRGRGRRRRRRRRGGRGRGR Success GRRGRGGRGRRRRR...
Bitaro to Manager
Start 0 0 47 0 104 0 54 0 103 0 57 0 82 0 6 0 82 0 76 0 61 0 74 0 93 0 40 0 24 0 49 0 102 0 30 0 38 0 41 0 40 0 104 0 94 0 86 0 22 0 20 0 12 0 90 0 65 0 84 0 9 0 103 0 84 0 24 0 88 0 19 0 4 0 21 0 48 0 15 0 27 0 66 0 3 0 36 0 35 0 73 0 64 0 21 0 91 0 25 0 49 0 101 0 17 0 96 0 58 0 102 0 60 0 10 0 90...
Manager to Checker
1.000000000000000
result:
points 1.0
Test #88:
score: 0
Wrong Answer
time: 1ms
memory: 4256kb
Manager to Aoi
Start Success 249 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
Aoi to Manager
Start 0 0 BGBGBGBGBBGBGBGBGBGGGGGGGGBBGBGBGBGBGBGBGBGBGGGGGGGGGBBGBGBGBGBGGGGGGGGBGBGBGBGBGBGGBGBBGBGGGGGGGGBGGGBGBGGBGBBGBGGBGGBGGGGGBGGGGGGGGGBGBGGBGGGBGGBGBGGGBGGBGGGBGBGGGGBGBGBBGBGGBGGBBGGBGGBGBGGGGBGGBGBGBGGGGGBGBGGGBBGBGGGBGBGGBBGGBGGGBGGGGGGBBGBGBGBBG 28
Manager to Bitaro
Start Success 10000 249 28 GGGBGGGGGGGGGBGBGGBGGGBGGBGB Success GGBGGBGBGGGBGGBGGGBGBGGGGBGB Success GBGBGGGGGGGGBBGBGBGBGBGBGBGB Success GGGBGBGGGGBGBGBBGBGGBGGBBGGB Success GBGGBGBGGGGBGGBGBGBGGGGGBGBG Success GBGBGGGGBGBGBBGBGGBGGBBGGBGG Success GGGGGGGGGBGBGGBGGGBGGBGBGGGB Success GBGGGGGGGGGBGB...
Bitaro to Manager
Start 0 0 122 0 142 0 15 0 157 0 183 0 159 0 126 0 124 0 151 0 188 0 44 0 133 0 115 0 18 0 71 0 34 0 29 0 195 0 22 0 58 0 126 0 40 0 196 0 77 0 122 0 104 0 117 0 62 0 193 0 56 0 43 0 82 0 80 0 41 0 137 0 58 0 111 0 76 0 169 0 98 0 169 0 76 0 40 0 104 0 18 0 143 0 145 0 4 0 153 0 131 0 214 0 75 0 160...
Manager to Checker
0.00
result:
points 0.0