QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#341015 | #993. 100 Boxes Per Hour... | ucup-team1209# | AC ✓ | 34ms | 3820kb | C++20 | 3.1kb | 2024-02-29 15:00:33 | 2024-02-29 16:30:01 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define rep(i,x,y) for (int i=(x);i<=(y);i++)
#define drep(i,y,x) for (int i=(y);i>=(x);i--)
#define pii pair<int,int>
#define fir first
#define sec second
#define MP make_pair
template<typename T> bool chkmin(T &x,T y){return x>y?x=y,1:0;}
template<typename T> bool chkmax(T &x,T y){return x<y?x=y,1:0;}
void file() {
#ifdef zqj
freopen("a.in","r",stdin);
#endif
}
int cnt[3];
int ccc[2];
char sss[2];
char cur;
void init(){
rep(i,0,2) cin>>cnt[i];
ccc[0]= ccc[1] =sss[0]=sss[1]=0;
}
void place(int p) {
assert(sss[p] == 0 || sss[p] == cur);
cout<<"PLACE "<<p+1<<'\n'<<endl;
sss[p] = cur;
++ ccc[p];
fflush(stdout);
}
void drop() {
cout<<"DISCARD\n"<<endl;
fflush(stdout);
}
void empty(int p) {
cout<<"EMPTY "<<p+1<<'\n';
sss[p] = ccc[p] = 0;
fflush(stdout);
}
char getinput() {
char ch; cin>>ch; if(ch == '-') assert(0); cur = ch; return ch;
}
void work() {
const int T=100;
init();
sort(cnt,cnt+3);
if (cnt[0]+cnt[1]>=43) {
char s[2]={0,0};
rep(i,1,T) {
char ch=getinput();
if (ch==s[0]) place(0);
else if (ch==s[1]) place(1);
else if (s[0]==0) place(0),s[0]=ch;
else if (s[1]==0) place(1),s[1]=ch;
else drop();
}
assert(ccc[0] + ccc[1] >= 43);
return;
}
if (cnt[0]<=17) {
char s[2]={0,0};
int cc[2] = {0, 0};
map<char,int>dropped;
rep(i,1,T) {
char ch=getinput();
if (dropped[ch]<cnt[0]) drop(),dropped[ch]++;
else if (ch==s[0]) place(0), ++ cc[0];
else if (ch==s[1]) place(1), ++ cc[1];
else if (s[0]==0) place(0),s[0]=ch, ++ cc[0];
else if (s[1]==0) place(1),s[1]=ch, ++ cc[1];
else assert(0);
}
assert(cc[0] + cc[1] >= T - 3 * cnt[0]);
assert(cc[0] + cc[1] >= 43);
assert(ccc[0] + ccc[1] >= 43);
return;
}
char s[2]={0,0};
int cc[2]={0,0};
map<char,int>dropped;
int flg=-1;
rep(i,1,T) {
char ch=getinput();
if (ch==s[0]) place(0),++cc[0];
else if (ch==s[1]) place(1),++cc[1];
else if (s[0]==0) place(0),++cc[0],s[0]=ch;
else if (s[1]==0) place(1),++cc[1],s[1]=ch;
else {
if (flg==-1) {
if (dropped[ch]<cnt[0]) drop(),dropped[ch]++;
else if (cc[0]<=cnt[0]) empty(0),place(0),dropped[s[0]]=cc[0],cc[0]=1,flg=0,s[0]=ch;
else if (cc[1]<=cnt[0]) empty(1),place(1),dropped[s[1]]=cc[1],cc[1]=1,flg=1,s[1]=ch;
else assert(0);
}
else if (flg==-2) drop();
else {
if (dropped[ch]<cnt[1]) drop(),dropped[ch]++;
else empty(flg),place(flg),cc[flg]=1,s[flg]=ch,flg=-2;
}
}
}
assert(cc[0] + cc[1] >= T - 2 * cnt[1]);
assert(cc[0] + cc[1] >= 43);
assert(ccc[0] + ccc[1] >= 43);
}
int main() {
int _; cin>>_;
while (_--) work();
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 19ms
memory: 3780kb
input:
100 3 33 64 B G R R G R B R G R R B G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G 84 8 8 B B B R R R R R G G G G G G G G B B B B B B B B B B B B R B B B B B B B B B B B B...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DISCARD PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #2:
score: 0
Accepted
time: 14ms
memory: 3580kb
input:
100 14 28 58 B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G R G G R G G R G G R G G R G G R G G R G G G G 57 29 14 B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #3:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
100 31 17 52 G B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G R G G G G G B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B B 83 6 11 G G G R R R G G G G G G G G G G G G G G R G G G G G G G G G G G G G G G G G G G...
output:
PLACE 1 PLACE 2 DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DIS...
result:
ok OK
Test #4:
score: 0
Accepted
time: 5ms
memory: 3588kb
input:
100 0 34 66 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G 14 84 2 R G G G G G R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G ...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #5:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
100 20 77 3 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G B B B B B B B B B B B B B B B B B B B B 0 43 57 B B B G B B B B B B G B B B B B B G G G B B G B B G G G B G B G G B G B G B B G ...
output:
DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #6:
score: 0
Accepted
time: 22ms
memory: 3624kb
input:
100 14 68 18 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B R R R B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R 66 0 34 G G B G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #7:
score: 0
Accepted
time: 12ms
memory: 3480kb
input:
100 2 93 5 B B B R R G G B R B B B B B B B B B B B B B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B B 31 53 16 G G B R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G R G G R G ...
output:
DISCARD DISCARD PLACE 1 DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #8:
score: 0
Accepted
time: 9ms
memory: 3584kb
input:
100 6 14 80 B B B R R R G G G G G G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B R B B R B B B B B B B B B B B B R B B B B B B B B B B B 2 5 93 G B R R B R G R B R R B R R B R R R R R R R R R R R R R R R R R R R R R R R R R R...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD DISCARD DISCARD PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #9:
score: 0
Accepted
time: 5ms
memory: 3744kb
input:
100 42 58 0 R R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G R G G G 11 30 59 R G G B G B R G B G B G B G G B G G G G G G B G G B G R G R B G G G G B B G R G...
output:
PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #10:
score: 0
Accepted
time: 3ms
memory: 3812kb
input:
100 57 22 21 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B B R B B B R B B B R B B B R B B B R R 22 42 36 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #11:
score: 0
Accepted
time: 16ms
memory: 3556kb
input:
100 69 27 4 G G R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G R G G G G G G G G G G G G G G G G G G G R G G G G G G G G G G G G G G G B B B B 19 61 20 R B R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD DISCARD PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #12:
score: 0
Accepted
time: 4ms
memory: 3532kb
input:
100 54 31 15 B R B R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G B B R R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 69 6 25 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R B R R B R R B...
output:
PLACE 1 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DIS...
result:
ok OK
Test #13:
score: 0
Accepted
time: 15ms
memory: 3548kb
input:
100 66 1 33 B B B G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G B B B B B B B B B B B B B B B G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B R B B B B B B B B B B B B G B B B 34 66 0 B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B ...
output:
DISCARD PLACE 1 PLACE 1 DISCARD PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #14:
score: 0
Accepted
time: 14ms
memory: 3596kb
input:
100 53 21 26 R G G R R R R R R R R R R R R R R R R R R G G G G G G G G R G G G G G G G G G G G G R G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 30 36 34 R G G B B B G B G G B R G B R G R R B G R B B G G G B G B R B R B G R B R B R ...
output:
PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #15:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
100 0 8 92 G G G R R R R R G G G R G G G G G G G G G G G G G G G G G G G G G G G G G G G R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G R 52 34 14 R G G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G ...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #16:
score: 0
Accepted
time: 13ms
memory: 3576kb
input:
100 30 22 48 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G G R G R G G R G R R 54 15 31 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #17:
score: 0
Accepted
time: 6ms
memory: 3476kb
input:
100 31 17 52 B B G R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G R G G G G G G G G G B B B B B R B B B B B B R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 20 20 60 G G B R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G ...
output:
PLACE 1 PLACE 1 PLACE 2 DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #18:
score: 0
Accepted
time: 12ms
memory: 3580kb
input:
100 58 14 28 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B G B B G B B G B B G B B G B B G B B G B B B B 15 31 54 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #19:
score: 0
Accepted
time: 19ms
memory: 3740kb
input:
100 17 39 44 R B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B R B B 30 53 17 G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R ...
output:
PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #20:
score: 0
Accepted
time: 18ms
memory: 3804kb
input:
100 74 23 3 R G B B G B R B G B B R G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 22 13 65 B B B R B B G B G B B R R G B B R B G B B B B G R G B B B R G B B G B G B G G B...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DISCARD PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #21:
score: 0
Accepted
time: 21ms
memory: 3576kb
input:
100 66 0 34 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G 31 52 17 G R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #22:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
100 19 64 17 B R G R R R R R R R R R R R R R R G G R G G G G G G G G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 4 6 90 B R G G R G B G R G G B R G G R G B G R G G G G G G G G G G G G G G G G G G G G ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DIS...
result:
ok OK
Test #23:
score: 0
Accepted
time: 17ms
memory: 3476kb
input:
100 36 60 4 G B B R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G R G G G G G G G G G G G B B B B R B B B B B R B B B B B B B B B B B B B B B B B B B B B B B B B 20 77 3 G R B B R B G B R B B G R B B R B B R B B R B B R B B R B B R B B R B B R B B R ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #24:
score: 0
Accepted
time: 0ms
memory: 3520kb
input:
100 58 26 16 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G B G G B G G G G G G G G 47 53 0 G B B G B B G B B B B B B G B G G G G G B B B B B G G B G G G B B B G B G B G B...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #25:
score: 0
Accepted
time: 12ms
memory: 3560kb
input:
100 51 18 31 B B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G B B B B B B B R B B B B B R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 60 20 20 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R ...
output:
PLACE 1 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 DISCARD DISCARD DIS...
result:
ok OK
Test #26:
score: 0
Accepted
time: 16ms
memory: 3584kb
input:
100 35 56 9 B R B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G B B B B B B R B B B B B R B B B B B B B B B B B B B B B B B B B B B B 0 0 100 G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G ...
output:
PLACE 1 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #27:
score: 0
Accepted
time: 28ms
memory: 3620kb
input:
100 52 17 31 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B B R R R R R 10 8 82 B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G G B G...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #28:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
100 17 52 31 R R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G G G G R G G G B B B B B B B B B B B B B B B B B 32 1 67 G R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G...
output:
PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #29:
score: 0
Accepted
time: 20ms
memory: 3580kb
input:
100 14 58 28 G R G R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G R G G G G G G G G G B B B B B B B B B B B B B B 79 20 1 G B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD DISCARD DISCARD DISCARD DISCARD DIS...
result:
ok OK
Test #30:
score: 0
Accepted
time: 0ms
memory: 3480kb
input:
100 19 56 25 G R G B G G G R G B B G G B B R G R G G G G G B R G B B B B G B G G G G B R R G G B B R R R G G R G G G R B G G G G G R G R G R G B G G G G G G G R R G G G G R R G R R R G G G G G G G G R R B B R B G 58 28 14 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R ...
output:
PLACE 1 PLACE 2 PLACE 1 DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 1 DISCARD DISCARD PLACE 1 PLACE 1 DISCARD DISCARD PLACE 2 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD PLACE 2 PLACE 1 DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 PLA...
result:
ok OK
Test #31:
score: 0
Accepted
time: 5ms
memory: 3596kb
input:
100 60 20 20 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B B B G B B B G B B B G B B B G B B B G B B B G B B B 51 32 17 B R B R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #32:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
100 31 18 51 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G B B B B B 41 15 44 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #33:
score: 0
Accepted
time: 13ms
memory: 3520kb
input:
100 28 58 14 B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G G G G G B B B B B B B B B B B R B B 20 20 60 B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #34:
score: 0
Accepted
time: 4ms
memory: 3524kb
input:
100 13 29 58 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R 15 31 54 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #35:
score: 0
Accepted
time: 6ms
memory: 3528kb
input:
100 9 33 58 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G G G G 54 31 15 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DISCARD DISCARD PLACE 1 PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #36:
score: 0
Accepted
time: 7ms
memory: 3524kb
input:
100 53 31 16 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 19 20 61 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B ...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #37:
score: 0
Accepted
time: 16ms
memory: 3580kb
input:
100 52 11 37 G G G G G R R G R G R G R R G B R B G G R B G R G R G R R G R R G R G R G G R G R B B G G G G G G R R R R B G R B G R R R B R R G G G G G R G B G R R R G G G G G B R G R G R R G R G G B G G G G G G G 73 18 9 B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 1 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 DISCARD PLACE 2 DISCARD PLACE 1 PLACE 1 PLACE 2 DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLA...
result:
ok OK
Test #38:
score: 0
Accepted
time: 8ms
memory: 3524kb
input:
100 58 13 29 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B 21 57 22 R B B R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #39:
score: 0
Accepted
time: 16ms
memory: 3560kb
input:
100 11 27 62 B G B G G B B G B G G G G G B G G G G G R G G G B B G B G B R B B G G G B B B R G G G G G G R R G R G G G B G G B G G G G G G G B G G G R G B G G G G B R G G B B G B G R B G G R G G G B B G G G G B R 9 53 38 B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 DISCARD PLACE 1 PLACE 1 PLACE 1 DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD DISCARD DISCARD PLACE 2 PLA...
result:
ok OK
Test #40:
score: 0
Accepted
time: 24ms
memory: 3816kb
input:
100 17 82 1 G G G R R R R R R R R R R R R R R R G G G G G G G G R G G G G G G G G R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G B 17 53 30 G R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R...
output:
DISCARD PLACE 1 PLACE 1 DISCARD PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #41:
score: 0
Accepted
time: 9ms
memory: 3784kb
input:
100 29 13 58 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R 17 31 52 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #42:
score: 0
Accepted
time: 5ms
memory: 3524kb
input:
100 35 36 29 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R R G R G R R G R G R R G R G R R G R G R R G R G R R G G G G G G 16 31 53 R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #43:
score: 0
Accepted
time: 14ms
memory: 3572kb
input:
100 21 22 57 B R B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G B B B B B B B B B B B B R B B B R B B B B B 28 32 40 G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G ...
output:
PLACE 1 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #44:
score: 0
Accepted
time: 32ms
memory: 3612kb
input:
100 35 56 9 R R B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G B B B B B R B B B 21 54 25 R R R G R R G R G G R G R R R B R G G R G R R R G G B B R B R R B G G R R G B B...
output:
PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #45:
score: 0
Accepted
time: 34ms
memory: 3472kb
input:
100 14 28 58 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B G B B G B B G B B G B B G B B G B B G B B B B 9 35 56 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #46:
score: 0
Accepted
time: 14ms
memory: 3788kb
input:
100 28 1 71 G R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B B B B B B B B B B B B B B B B 11 66 23 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R...
output:
DISCARD DISCARD DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLA...
result:
ok OK
Test #47:
score: 0
Accepted
time: 6ms
memory: 3784kb
input:
100 59 16 25 R R R R R B G B B B B B R R R G R R R R R R R G B R R R R R R B R R R R G R B R R B R B B B G R G R R B R R R R G G R B B R R R G G B G B B R R R B G B R R G R R G B B R B G R G R R R R B R R R R R R 30 20 50 R B B B B G B R G G R B G G B G R R R R G B R R G R R B B R R R B R R R B R G ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD PLACE 1 PLA...
result:
ok OK
Test #48:
score: 0
Accepted
time: 9ms
memory: 3740kb
input:
100 9 25 66 B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G G G G G G G G G G G G G G G G G 11 31 58 B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DISCARD DISCARD PLACE 1 PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #49:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
100 35 9 56 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B B B B B B B 7 92 1 B R G G R G G R G G R G G R G G R G G R G G G G G G G G G G G G G G G G G G G G G...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #50:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
100 19 61 20 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R R R G R R R G R R R G R R R G R R R G R R R R R R R 56 30 14 B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #51:
score: 0
Accepted
time: 11ms
memory: 3624kb
input:
100 22 21 57 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B B R B B B R B B B R B B B R B B B R R 19 61 20 B G G R R R R R R R R R R R R R R R R G G G G G G G G R G G G G G G G G G G G ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #52:
score: 0
Accepted
time: 5ms
memory: 3812kb
input:
100 60 20 20 G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G R G B B B B B B B B B B B B B B B B B B B B 14 58 28 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G ...
output:
PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #53:
score: 0
Accepted
time: 11ms
memory: 3764kb
input:
100 64 1 35 R B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B B B 43 31 26 R B B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R...
output:
DISCARD DISCARD DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLA...
result:
ok OK
Test #54:
score: 0
Accepted
time: 6ms
memory: 3584kb
input:
100 52 17 31 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B B G G G G G 67 1 32 R B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #55:
score: 0
Accepted
time: 27ms
memory: 3560kb
input:
100 22 21 57 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R R B R R R B R R R B R R R B R R R B B 20 20 60 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #56:
score: 0
Accepted
time: 4ms
memory: 3596kb
input:
100 1 1 98 B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B G B B B R B B B B B B B B B B B B 57 29 14 G B G R R R R R R R R R R R G G G G G G G G G R G G G G G G G G R G G G G G G G ...
output:
DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #57:
score: 0
Accepted
time: 4ms
memory: 3740kb
input:
100 35 9 56 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B B B B B B B 14 18 68 G G G G G G G G R R G G G R G G G G B R B G G B G B G G G G G G G B G B B B R G...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #58:
score: 0
Accepted
time: 12ms
memory: 3584kb
input:
100 11 27 62 B G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G R G G G G G G G G G G B B B B R B B B B B B 74 24 2 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #59:
score: 0
Accepted
time: 9ms
memory: 3480kb
input:
100 33 13 54 B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G G R G G R G G R G G R G G R G G R G G R G G R R R R R R 31 54 15 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #60:
score: 0
Accepted
time: 16ms
memory: 3536kb
input:
100 32 10 58 R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 11 84 5 B R G G R G B G R G G B R G G R G B G R G G B R G G R G G R G G R G G R G G G G...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #61:
score: 0
Accepted
time: 3ms
memory: 3624kb
input:
100 92 0 8 B B B G G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B G B B B B B B B B B B B B G B B B B B 51 18 31 G B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G ...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #62:
score: 0
Accepted
time: 19ms
memory: 3688kb
input:
100 14 28 58 R B R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B B B B B B 22 59 19 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD DISCARD DISCARD DISCARD DISCARD DIS...
result:
ok OK
Test #63:
score: 0
Accepted
time: 20ms
memory: 3784kb
input:
100 52 31 17 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B B G G G G G 2 1 97 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #64:
score: 0
Accepted
time: 0ms
memory: 3520kb
input:
100 18 31 51 R G G R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G R G G G G G G G G R G G G G G G G G G G G B B B B B B B B B B B B B B B B B B 35 56 9 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G...
output:
PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #65:
score: 0
Accepted
time: 17ms
memory: 3520kb
input:
100 66 33 1 G G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G R G G G G G G G G G G G G G G B 88 8 4 R G B B G B R B G B B R G B B G B R B G B B G B B G B B B B B B B B B B B B B B B...
output:
DISCARD PLACE 1 DISCARD PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #66:
score: 0
Accepted
time: 5ms
memory: 3592kb
input:
100 53 31 16 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R G R R G R R G R G G G G 18 51 31 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #67:
score: 0
Accepted
time: 9ms
memory: 3524kb
input:
100 3 83 14 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G B B B 98 0 2 R R R R R R R R R R R R R R R R G R R R R R R R R R R R R R R R R R R R R R R R R...
output:
DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #68:
score: 0
Accepted
time: 12ms
memory: 3812kb
input:
100 16 83 1 G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G R G G G G G G G G B 30 17 53 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G...
output:
DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #69:
score: 0
Accepted
time: 4ms
memory: 3820kb
input:
100 41 39 20 G R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G R G B B B B B B B B B B B B B B B B B B B B 25 57 18 G G R G G B R B B R B B R B R B B B B G B B B B B B G R G G G B G R B G B B R ...
output:
PLACE 1 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #70:
score: 0
Accepted
time: 11ms
memory: 3516kb
input:
100 14 29 57 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B R B B R B B R B B R B B R B B R B B R B B R B 18 51 31 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #71:
score: 0
Accepted
time: 24ms
memory: 3740kb
input:
100 34 66 0 G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G 13 29 58 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G...
output:
PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #72:
score: 0
Accepted
time: 10ms
memory: 3524kb
input:
100 17 52 31 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R R G G G G G 20 20 60 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #73:
score: 0
Accepted
time: 16ms
memory: 3592kb
input:
100 88 2 10 B G R R G R B R G R R G R R G R R G R R G R R G R R G R R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R 84 1 15 B G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #74:
score: 0
Accepted
time: 14ms
memory: 3532kb
input:
100 58 29 13 G B G R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G R G G G G G G G G G R G G G G G G G G G G G G B B B B B B B B B B B B B B B R B B B B B B B B B B B B B 66 33 1 B G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #75:
score: 0
Accepted
time: 12ms
memory: 3584kb
input:
100 54 2 44 G G B G G G G G G R G G G G G G G G G G G G G G G R G G G G G G G G G G G G G G G G G G G G B B B B B B B B B B B B B B B B B B G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 58 28 14 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R...
output:
PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #76:
score: 0
Accepted
time: 11ms
memory: 3792kb
input:
100 13 29 58 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R 21 57 22 G B R R B R G R B R R G B R R B R G R B R R G B R R B R G R B R R G B R R B R ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #77:
score: 0
Accepted
time: 14ms
memory: 3816kb
input:
100 14 58 28 R G B R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G B B B B B B B B B B R B B B 12 1 87 G G B G G G G G G G G G G G G G G G G G G G G G R G G G G G G G G G G G G G G G...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD DISCARD DISCARD DISCARD DISCARD DIS...
result:
ok OK
Test #78:
score: 0
Accepted
time: 8ms
memory: 3820kb
input:
100 32 51 17 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G B B B B B B 13 5 82 B B G R R G G G G G G R G G G G G G B B B B B B B R B B B B B B B B B B B B B B...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #79:
score: 0
Accepted
time: 11ms
memory: 3592kb
input:
100 2 30 68 G B G G G G G G G G G G G G G G G G G G G G R G G G G G G G G G B B B B B B B R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 44 4 52 R R B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R ...
output:
DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD PLA...
result:
ok OK
Test #80:
score: 0
Accepted
time: 7ms
memory: 3528kb
input:
100 17 30 53 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R R G R G G G 53 16 31 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #81:
score: 0
Accepted
time: 10ms
memory: 3576kb
input:
100 53 17 30 G G G R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G R R G G G G G G G R G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 43 33 24 R R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G ...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #82:
score: 0
Accepted
time: 14ms
memory: 3528kb
input:
100 28 33 39 G B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G R G G G G G G G G G G G G G G G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B R B B B B 53 30 17 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLA...
result:
ok OK
Test #83:
score: 0
Accepted
time: 5ms
memory: 3592kb
input:
100 23 54 23 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B B B R B B B R B B B R R R R R 0 80 20 G B G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #84:
score: 0
Accepted
time: 23ms
memory: 3596kb
input:
100 21 22 57 B B B R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G B B B B B B B R B B R B B B B B B B B R B B 2 45 53 B G R R G R B R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DIS...
result:
ok OK
Test #85:
score: 0
Accepted
time: 21ms
memory: 3524kb
input:
100 21 59 20 R R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G R G G G G G B B B B B B B B B B B B B B B B B B B B 67 1 32 G B B G G G G G G G G G G G G G G G G G G G G G G G G G R G G G G B B B B B B B...
output:
PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #86:
score: 0
Accepted
time: 5ms
memory: 3588kb
input:
100 1 33 66 B R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G 8 21 71 R B R R R R R R R R R R R R R R R R R R R G G G G G G G G B B B B B B B B B B B ...
output:
DISCARD DISCARD DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLA...
result:
ok OK
Test #87:
score: 0
Accepted
time: 10ms
memory: 3596kb
input:
100 25 13 62 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B B G B B G B B G B B G B B G B B B B B B B B B B B B B B 16 29 55 G G R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #88:
score: 0
Accepted
time: 4ms
memory: 3808kb
input:
100 52 31 17 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B B G G G G G 19 74 7 R B B R R R R R R R R R R R R R R R R G G G G G G G B B B B B B B B B R B B B B...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #89:
score: 0
Accepted
time: 10ms
memory: 3520kb
input:
100 20 20 60 B G G R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G G G G R G G G G G G G G G G R G G G G G G G G G G G G G G G G G G G G G G G G B B B B B B B B B B B B B B B B R B B B 20 59 21 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G ...
output:
PLACE 1 PLACE 2 PLACE 2 DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #90:
score: 0
Accepted
time: 16ms
memory: 3584kb
input:
100 57 21 22 B G B R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G R G G G G B B B B B B B B B B B B B B R B R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 0 92 8 R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R ...
output:
PLACE 1 PLACE 2 PLACE 1 DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #91:
score: 0
Accepted
time: 5ms
memory: 3628kb
input:
100 54 31 15 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B B R B B R B B R B B R B B R R R R 30 17 53 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #92:
score: 0
Accepted
time: 27ms
memory: 3472kb
input:
100 47 8 45 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G B B B B B B B B B B B B B B B B B B B B B 85 1 14 B R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #93:
score: 0
Accepted
time: 7ms
memory: 3624kb
input:
100 10 31 59 B G R G B B G B G B G B G R R B B B G B B G G R G B G B B G B B G B B R R R B B R B R B B B G B B B G B G B G B B B B G B B B B B B B B G B B G G B B B B B G B B G B B B B G G B G G R G G G B B B G B 10 8 82 G R B R R R R R G G G G G G G G G G G G G G G G G G G G G G G G R G G G G G G G...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLA...
result:
ok OK
Test #94:
score: 0
Accepted
time: 17ms
memory: 3584kb
input:
100 9 35 56 B B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B R B B B R B B B B B B B 61 23 16 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R...
output:
PLACE 1 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #95:
score: 0
Accepted
time: 6ms
memory: 3740kb
input:
100 11 0 89 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R B B B B B B B B B B B 63 13 24 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #96:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
100 13 58 29 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B 96 0 4 R G G R G G R G G R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #97:
score: 0
Accepted
time: 9ms
memory: 3816kb
input:
100 57 1 42 G R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B R R R R R R R R R R R R R 61 20 19 B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DIS...
result:
ok OK
Test #98:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
100 19 61 20 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G G G R G G G R G G G R G G G R G G G R G G G G G G G 66 1 33 R B B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G B B B B B B...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #99:
score: 0
Accepted
time: 13ms
memory: 3812kb
input:
100 57 29 14 R R B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G B B B B B B B B B B B B B B R B B B B B B B B B B B B B B 39 40 21 G R G B G G R B R G B G R R G R R G G R G G R G B R R R R G B R B G G R G R G ...
output:
PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #100:
score: 0
Accepted
time: 11ms
memory: 3580kb
input:
100 0 98 2 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G 18 11 71 R R R R R B R R R B R R B R G B G G R R G R R R R G B G R R B G B R G R R R R G ...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #101:
score: 0
Accepted
time: 10ms
memory: 3476kb
input:
100 14 23 63 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B R B B R B B B B B B B B B B B B B B B B B B B 65 32 3 R G B B G B R B G B B R G B B G B B G B B G B B G B B G B B G B B G B B G B B G...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #102:
score: 0
Accepted
time: 9ms
memory: 3784kb
input:
100 25 8 67 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B B B B B B B B B B B B B B B B B B 20 69 11 B B G R R R R R R R R G G G R G G G G G G G G G G G G G G G G B B B B B B R B B...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DISCARD DISCARD PLACE 1 PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #103:
score: 0
Accepted
time: 9ms
memory: 3820kb
input:
100 17 31 52 B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G B G R G G B R G G R G G R R R R R 2 9 89 B B B G G G G G G G G B B B B B B B B B B B B B G B B B B B R B B B B B B B B B ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #104:
score: 0
Accepted
time: 8ms
memory: 3624kb
input:
100 49 2 49 G B R R B R G R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R R B R B B B B B B B B B B B B B B B B B B B B B B B B 61 19 20 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DISCARD DISCARD PLACE 2 DIS...
result:
ok OK
Test #105:
score: 0
Accepted
time: 23ms
memory: 3532kb
input:
100 66 0 34 G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 17 30 53 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B G...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #106:
score: 0
Accepted
time: 12ms
memory: 3512kb
input:
100 28 58 14 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B G B B G B B G B B G B B G B B G B B G B B B B 35 56 9 B B G R R R R R R G G G G G G G G G G G R G G G G G G G G G G G G G G G G G G G...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #107:
score: 0
Accepted
time: 19ms
memory: 3784kb
input:
100 62 33 5 R G B B G B R B G B B R G B B G B R B G B B R G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G B B G G 79 19 2 G G G R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G G ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD DISCARD PLACE 1 PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 DISCARD PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLA...
result:
ok OK
Test #108:
score: 0
Accepted
time: 15ms
memory: 3500kb
input:
100 97 2 1 R B G G B G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G 35 51 14 G G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R ...
output:
DISCARD DISCARD DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #109:
score: 0
Accepted
time: 3ms
memory: 3740kb
input:
100 20 60 20 G R B R R R R R R R R R R R R R R R R R G G G G G G G G G G R G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B B B B B B B 33 64 3 B R B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G B B B B...
output:
PLACE 1 PLACE 2 DISCARD PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #110:
score: 0
Accepted
time: 10ms
memory: 3808kb
input:
100 14 24 62 R B B R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G B B B B B B R B B B B B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 17 32 51 G G G R R R R R R R R R R R R R R G G G G G G R G G G G G G R G G G G G R G G ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DIS...
result:
ok OK
Test #111:
score: 0
Accepted
time: 14ms
memory: 3584kb
input:
100 15 54 31 G G R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G R G G G G G G G G R G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 3 63 34 R G G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G...
output:
PLACE 1 PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #112:
score: 0
Accepted
time: 7ms
memory: 3592kb
input:
100 7 35 58 G R B B R B G B R B B G R B B R B G B R B B G R B B R B G B R B B G R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R R R R R R 66 7 27 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B B ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DISCARD DISCARD PLACE 1 PLACE 1 PLACE 2 PLACE 1 DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #113:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
100 10 81 9 R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G R G G G B B B B B B B B B 7 87 6 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #114:
score: 0
Accepted
time: 4ms
memory: 3528kb
input:
100 3 59 38 B G R R G R B R G R R B G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R R G R G G G G G G G G 29 13 58 B G B R R R R R R R R R R G G G G G G G G G G G G G G G G G R G G G G G G G G G...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DISCARD PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #115:
score: 0
Accepted
time: 14ms
memory: 3524kb
input:
100 20 19 61 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R R R B R R R B R R R B R R R B R R R B R R R R R R R 23 22 55 B B G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #116:
score: 0
Accepted
time: 13ms
memory: 3564kb
input:
100 26 66 8 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G B G G G G G G G G G G G G G G G G 54 19 27 G B G R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G R...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DISCARD DISCARD PLACE 1 PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #117:
score: 0
Accepted
time: 8ms
memory: 3564kb
input:
100 10 78 12 R B B R R R R R R R G G G G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B R B B B B B B B B B B B B R B B B B B B B B B B 34 61 5 R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #118:
score: 0
Accepted
time: 14ms
memory: 3816kb
input:
100 28 14 58 B B G R R R R R R R R R R R R R R R R R R R R R R R R R G G G G R G G G G G G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B R B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B 18 51 31 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD DISCARD DISCARD DISCARD PLACE 1 DIS...
result:
ok OK
Test #119:
score: 0
Accepted
time: 19ms
memory: 3580kb
input:
100 58 29 13 G R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G R R G G G G G G G G G G G G G G G G G G G B B B B B B B B B B B B B 0 99 1 B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #120:
score: 0
Accepted
time: 17ms
memory: 3580kb
input:
100 14 29 57 B G R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G R G G G G B B B B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 64 2 34 G G B G B G G G B G G G G G G G G B G G B B B B G G G G G B G B B B G B B G B G...
output:
PLACE 1 PLACE 2 DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #121:
score: 0
Accepted
time: 7ms
memory: 3556kb
input:
100 2 50 48 B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G B B B B B B B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 42 13 45 G B B B B R G G G G B B G B R B G G G G B R G B G G B B B B B G R R B G G B B G...
output:
PLACE 1 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #122:
score: 0
Accepted
time: 12ms
memory: 3736kb
input:
100 74 24 2 G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G R G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G R G B B B B B B B B B B B B B B B B B B B B B B B B 30 53 17 R G G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R...
output:
DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #123:
score: 0
Accepted
time: 12ms
memory: 3596kb
input:
100 14 71 15 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R B B B R B B B R B B B R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 32 67 1 G B G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 DISCARD PLACE 1 DISCARD PLACE 1 PLACE 1 DIS...
result:
ok OK
Test #124:
score: 0
Accepted
time: 25ms
memory: 3596kb
input:
100 29 13 58 B B B R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G B B B B B B B B B B B R B B B B B R R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 60 20 20 B G R R G R B R G R R B G R R G R B R G R R B G R R G R B R G R R B G R R G R ...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 DISCARD DISCARD DISCARD DISCARD DIS...
result:
ok OK
Test #125:
score: 0
Accepted
time: 4ms
memory: 3620kb
input:
100 57 21 22 R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B G B R B G B B R G B B B R B B B R B B B R B B B R B B B R R 17 30 53 R G R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R ...
output:
PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLACE 1 PLACE 2 DISCARD DISCARD PLACE 2 DISCARD PLACE 1 DISCARD PLACE 2 DISCARD DISCARD PLA...
result:
ok OK
Test #126:
score: 0
Accepted
time: 14ms
memory: 3592kb
input:
100 17 30 53 B G B R R R R R R R R R R R R R R R R R R R R R R R R R R R G R G G G G G G G G G G G G G G G B B B B R B B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B 89 6 5 B R G G R G B G R G G B R G G R G B G R G G B G G G G G G G G G G G G G G G G G ...
output:
PLACE 1 PLACE 2 PLACE 1 DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 2 DISCARD PLACE 2 PLA...
result:
ok OK
Test #127:
score: 0
Accepted
time: 10ms
memory: 3628kb
input:
100 4 33 63 G R B B R B G B R B B G R B B R B G B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B B R B R 38 52 10 G R B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R...
output:
DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD DISCARD PLACE 1 PLACE 1 DISCARD DISCARD PLACE 1 PLACE 1 PLACE 2 PLACE 1 DISCARD PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLACE 1 PLACE 2 PLACE 1 PLA...
result:
ok OK
Test #128:
score: 0
Accepted
time: 15ms
memory: 3560kb
input:
100 0 54 46 R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R G G R R R R R R R R R R R R R R R R R R R 72 7 21 R B G G B G R G B G G R B G G B G R G B G G R B G G B G R G B G G R B G G B G G ...
output:
PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLACE 1 PLACE 2 PLACE 2 PLA...
result:
ok OK
Test #129:
score: 0
Accepted
time: 5ms
memory: 3560kb
input:
100 19 20 61 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G G G G G G G G G G G B B B B B B B B B B B B B B B B B B B 100 0 0 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R...
output:
PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLA...
result:
ok OK
Test #130:
score: 0
Accepted
time: 26ms
memory: 3584kb
input:
100 31 54 15 R G B R R R R R R R R R R R R R R R R R R R R R R R R R R R R G G G G G G G G G G R G G G G B B B B B B B B B B B B B B B B B B B B B B B B B B B B R B B B B B B B B B B B B B B B B B B B B B B B B B 14 29 57 R B R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R ...
output:
PLACE 1 PLACE 2 DISCARD PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 1 PLACE 2 PLACE 2 PLA...
result:
ok OK