QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#201658 | #5156. Going in Circles | Vengeful_Spirit# | AC ✓ | 22ms | 3876kb | C++14 | 1.7kb | 2023-10-05 15:54:31 | 2023-10-05 15:54:31 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int x;
int move_left(){
cout<<"? left"<<endl;
cin>>x;
return x;
}
int move_right(){
cout<<"? right"<<endl;
cin>>x;
return x;
}
int set_bit(int p){
if(x!=p){
cout<<"? flip"<<endl;
cin>>x;
return 1;
}
return 0;
}
/*
int p=0,C=50;
int a[100];
int move_left(){
// cout<<"left"<<endl;
p=(p-1+C)%C;
x=a[p];
return a[p];
}
int move_right(){
// cout<<"right"<<endl;
p=(p+1+C)%C;
x=a[p];
return a[p];
}
int set_bit(int po){
if(x!=po){
// cout<<"flip"<<endl;
a[p]^=1;
x=a[p];
return 1;
}
return 0;
}
*/
int check(int mid){
for(int i=1;i<=mid;i++){
set_bit(0);
move_right();
}
int ans=(x==0);
for(int i=1;i<=mid;i++){
move_left();
set_bit(1);
}
return ans;
}
int main(){
srand(time(0));
ios::sync_with_stdio(0);
cin.tie(0);
cin>>x;
for(int i=1;i<=25;i++){
set_bit(1);
move_left();
}
int l=3,r=25,mid=-1,res=-1;
while(l<=r){
int mid=(l+r)/2;
if(check(mid))res=mid,r=mid-1;
else l=mid+1;
}
if(res!=-1){
cout<<"! "<<res<<endl;
return 0;
}
int mod=0;
for(int i=0;i<25;i++){
int cur=rand()%2;
mod<<=1;
if(cur)mod|=1;
set_bit(cur);
move_right();
}
int my=0,cnt=0;
while(1){
my<<=1;
my|=x;
my&=((1<<25)-1);
cnt++;
if(cnt>=16000)assert(0);
move_right();
if(my==mod){
cout<<"! "<<cnt<<endl;
return 0;
}
}
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3672kb
input:
0 1 1 0 1 1 0 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? righ...
result:
ok Queries used; 5502.
Test #2:
score: 0
Accepted
time: 4ms
memory: 3820kb
input:
1 1 1 0 1 0 1 1 0 1 0 1 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? ri...
result:
ok Queries used; 5349.
Test #3:
score: 0
Accepted
time: 13ms
memory: 3792kb
input:
0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? right ? fli...
result:
ok Queries used; 5499.
Test #4:
score: 0
Accepted
time: 7ms
memory: 3872kb
input:
0 1 1 0 1 0 1 1 1 1 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? right ? flip ? rig...
result:
ok Queries used; 4593.
Test #5:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
0 1 0 1 1 0 1 0 1 1 1 1 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? right ? flip ? right ? fl...
result:
ok Queries used; 4593.
Test #6:
score: 0
Accepted
time: 22ms
memory: 3732kb
input:
0 1 0 1 0 1 1 0 1 0 1 1 1 1 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? right ? flip ? right ? fl...
result:
ok Queries used; 4594.
Test #7:
score: 0
Accepted
time: 4ms
memory: 3668kb
input:
0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 5507.
Test #8:
score: 0
Accepted
time: 5ms
memory: 3676kb
input:
0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 5363.
Test #9:
score: 0
Accepted
time: 4ms
memory: 3800kb
input:
0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 5512.
Test #10:
score: 0
Accepted
time: 16ms
memory: 3792kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 4608.
Test #11:
score: 0
Accepted
time: 9ms
memory: 3804kb
input:
0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 4608.
Test #12:
score: 0
Accepted
time: 2ms
memory: 3876kb
input:
0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 4609.
Test #13:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
0 1 0 1 1 0 1 1 0 1 0 1 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? right ? flip ? rig...
result:
ok Queries used; 552.
Test #14:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
0 1 1 0 1 0 1 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? right ? flip ? right ? flip ? ri...
result:
ok Queries used; 2194.
Test #15:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
0 1 1 0 1 0 1 0 1 1 1 1 1 0 1 1 1 1 0 1 0 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? right ? flip ? right ? flip ? right ? flip ? r...
result:
ok Queries used; 3707.
Test #16:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left...
result:
ok Queries used; 5403.
Test #17:
score: 0
Accepted
time: 6ms
memory: 3728kb
input:
0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left...
result:
ok Queries used; 5328.
Test #18:
score: 0
Accepted
time: 6ms
memory: 3872kb
input:
0 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 5317.
Test #19:
score: 0
Accepted
time: 8ms
memory: 3740kb
input:
1 1 1 1 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? right ? flip ? right ? flip ? right ? flip ? right ? ...
result:
ok Queries used; 5320.
Test #20:
score: 0
Accepted
time: 9ms
memory: 3748kb
input:
0 1 0 1 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 1 1 1 0 1 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? right ? flip ? right ? flip ? right ? f...
result:
ok Queries used; 5421.
Test #21:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
1 1 1 0 1 0 1 0 1 1 0 1 1 1 0 1 0 1 1 1 1 1 1 1 0 1 0 1 0 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? right ? flip ? right ? flip ? right ? flip ? right ? ...
result:
ok Queries used; 5486.
Test #22:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 0 1 0 1 1 1 0 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? f...
result:
ok Queries used; 5021.
Test #23:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
1 1 0 1 1 1 1 0 1 1 0 1 1 1 1 1 0 1 1 0 1 1 0 1 1 1 1 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ?...
result:
ok Queries used; 5218.
Test #24:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? righ...
result:
ok Queries used; 5380.
Test #25:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 4950.
Test #26:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 5400.
Test #27:
score: 0
Accepted
time: 12ms
memory: 3800kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 5425.
Test #28:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 4498.
Test #29:
score: 0
Accepted
time: 1ms
memory: 3748kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 1 1 0 1 0 1 0 0 0 1 0 1 0 1
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ...
result:
ok Queries used; 109.
Test #30:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? right ? right ? right ? right ?...
result:
ok Queries used; 131.
Test #31:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 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
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? right ? right ? ...
result:
ok Queries used; 137.
Test #32:
score: 0
Accepted
time: 1ms
memory: 3676kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1 0 1 0 1
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? r...
result:
ok Queries used; 137.
Test #33:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? ri...
result:
ok Queries used; 169.
Test #34:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 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 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? rig...
result:
ok Queries used; 173.
Test #35:
score: 0
Accepted
time: 1ms
memory: 3792kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? fli...
result:
ok Queries used; 179.
Test #36:
score: 0
Accepted
time: 1ms
memory: 3736kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? fli...
result:
ok Queries used; 223.
Test #37:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? fli...
result:
ok Queries used; 584.
Test #38:
score: 0
Accepted
time: 4ms
memory: 3824kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? fli...
result:
ok Queries used; 1246.
Test #39:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? fli...
result:
ok Queries used; 2451.
Test #40:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? fli...
result:
ok Queries used; 4191.
Test #41:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? fli...
result:
ok Queries used; 4582.
Test #42:
score: 0
Accepted
time: 7ms
memory: 3736kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? fli...
result:
ok Queries used; 5482.
Test #43:
score: 0
Accepted
time: 4ms
memory: 3676kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? fli...
result:
ok Queries used; 5483.
Test #44:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 1 1 0 1 0 1 0 0 0 1 0 1 0 1
output:
? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? right ? right ? right ? r...
result:
ok Queries used; 112.
Test #45:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? rig...
result:
ok Queries used; 135.
Test #46:
score: 0
Accepted
time: 1ms
memory: 3740kb
input:
0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 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
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right...
result:
ok Queries used; 142.
Test #47:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1 0 1 0 1
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ?...
result:
ok Queries used; 143.
Test #48:
score: 0
Accepted
time: 1ms
memory: 3820kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ?...
result:
ok Queries used; 176.
Test #49:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 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 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? ...
result:
ok Queries used; 181.
Test #50:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? ...
result:
ok Queries used; 188.
Test #51:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? r...
result:
ok Queries used; 233.
Test #52:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 606.
Test #53:
score: 0
Accepted
time: 4ms
memory: 3740kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 852.
Test #54:
score: 0
Accepted
time: 4ms
memory: 3740kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 1399.
Test #55:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 3068.
Test #56:
score: 0
Accepted
time: 8ms
memory: 3684kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 4603.
Test #57:
score: 0
Accepted
time: 8ms
memory: 3772kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 5510.
Test #58:
score: 0
Accepted
time: 7ms
memory: 3816kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 5511.
Test #59:
score: 0
Accepted
time: 1ms
memory: 3724kb
input:
0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 1 1 0 1 0 1 0 0 0 1 0 1 0 1
output:
? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? right ? right ? right ? right ? ...
result:
ok Queries used; 111.
Test #60:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1
output:
? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? right ? ri...
result:
ok Queries used; 134.
Test #61:
score: 0
Accepted
time: 1ms
memory: 3672kb
input:
0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 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
output:
? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? ri...
result:
ok Queries used; 139.
Test #62:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
1 0 1 0 1 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1 0 1 0 1
output:
? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right...
result:
ok Queries used; 141.
Test #63:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ?...
result:
ok Queries used; 175.
Test #64:
score: 0
Accepted
time: 1ms
memory: 3792kb
input:
1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 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 ...
output:
? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip...
result:
ok Queries used; 175.
Test #65:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
1 0 1 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 ...
output:
? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ...
result:
ok Queries used; 184.
Test #66:
score: 0
Accepted
time: 3ms
memory: 3876kb
input:
1 0 1 1 1 0 1 0 1 0 1 1 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? right ? flip ? right ? fl...
result:
ok Queries used; 622.
Test #67:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 1 1 0 1 1 0 1 0 1 1 1 0 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? right ? flip ? rig...
result:
ok Queries used; 885.
Test #68:
score: 0
Accepted
time: 2ms
memory: 3820kb
input:
0 1 1 1 0 1 1 1 1 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 0 1 0 1 1 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? ri...
result:
ok Queries used; 1043.
Test #69:
score: 0
Accepted
time: 2ms
memory: 3740kb
input:
1 0 1 1 0 1 0 1 1 1 1 1 0 1 1 0 1 1 1 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? f...
result:
ok Queries used; 1227.
Test #70:
score: 0
Accepted
time: 2ms
memory: 3728kb
input:
1 1 0 1 1 1 1 0 1 0 1 0 1 1 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? right ? flip ? right ? flip ? right ? f...
result:
ok Queries used; 1552.
Test #71:
score: 0
Accepted
time: 5ms
memory: 3816kb
input:
0 1 0 1 1 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 0 1 1 1 1 1 0 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? right ? flip ? right ? flip ? right ? flip ? right ? ...
result:
ok Queries used; 1830.
Test #72:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
1 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? righ...
result:
ok Queries used; 2153.
Test #73:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 1 1 0 1 0 1 0 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? right ? flip ? right ? flip ? ri...
result:
ok Queries used; 2452.
Test #74:
score: 0
Accepted
time: 0ms
memory: 3748kb
input:
1 0 1 1 1 1 1 1 0 1 0 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 1 0 1 1 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? f...
result:
ok Queries used; 2747.
Test #75:
score: 0
Accepted
time: 6ms
memory: 3824kb
input:
0 1 1 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 1 0 1 1 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? f...
result:
ok Queries used; 2988.
Test #76:
score: 0
Accepted
time: 4ms
memory: 3748kb
input:
1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? right ? flip ? right ? flip ? right ? f...
result:
ok Queries used; 3224.
Test #77:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip...
result:
ok Queries used; 3587.
Test #78:
score: 0
Accepted
time: 4ms
memory: 3724kb
input:
1 0 1 0 1 0 1 1 0 1 1 1 1 1 0 1 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? ri...
result:
ok Queries used; 3708.
Test #79:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
0 1 1 0 1 1 0 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 0 1 0 1 1 1 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? right ? flip ? right ? flip ? ri...
result:
ok Queries used; 3978.
Test #80:
score: 0
Accepted
time: 9ms
memory: 3744kb
input:
1 0 1 0 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 1 0 1 1 1 1 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? right ? flip ? right ? flip ? right ? flip ? r...
result:
ok Queries used; 4240.
Test #81:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
0 1 0 1 1 0 1 1 0 1 1 0 1 1 1 0 1 1 0 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? right ? flip ? right ? flip ? right ? flip ? r...
result:
ok Queries used; 4457.
Test #82:
score: 0
Accepted
time: 11ms
memory: 3680kb
input:
1 0 1 0 1 1 1 1 0 1 0 1 1 1 1 1 0 1 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? right ? flip ? right ? flip ? right ? flip ? r...
result:
ok Queries used; 4679.
Test #83:
score: 0
Accepted
time: 11ms
memory: 3744kb
input:
1 0 1 1 1 0 1 1 0 1 1 0 1 1 1 1 1 0 1 0 1 1 0 1 0 1 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? ri...
result:
ok Queries used; 4970.
Test #84:
score: 0
Accepted
time: 8ms
memory: 3740kb
input:
0 1 1 0 1 1 1 0 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? right ? flip ? rig...
result:
ok Queries used; 5171.
Test #85:
score: 0
Accepted
time: 4ms
memory: 3676kb
input:
0 1 1 0 1 1 0 1 0 1 1 1 1 0 1 1 1 1 0 1 0 1 0 1 1 1 1 0 1 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? right ? flip ? right ? flip ? ri...
result:
ok Queries used; 5333.
Test #86:
score: 0
Accepted
time: 4ms
memory: 3764kb
input:
1 1 1 0 1 0 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? right ? flip ? rig...
result:
ok Queries used; 5503.
Test #87:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
1 0 1 0 1 0 1 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 1 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? right ? flip ? right ? flip ? ri...
result:
ok Queries used; 5502.
Test #88:
score: 0
Accepted
time: 1ms
memory: 3680kb
input:
1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 1 1 0 1 0 1 0 0 0 1 0 1 0 1
output:
? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ?...
result:
ok Queries used; 110.
Test #89:
score: 0
Accepted
time: 1ms
memory: 3740kb
input:
1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1
output:
? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? right ? right ? right ? ...
result:
ok Queries used; 132.
Test #90:
score: 0
Accepted
time: 1ms
memory: 3680kb
input:
1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 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
output:
? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? ri...
result:
ok Queries used; 139.
Test #91:
score: 0
Accepted
time: 1ms
memory: 3740kb
input:
1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1 0 1 0 1
output:
? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? rig...
result:
ok Queries used; 139.
Test #92:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? rig...
result:
ok Queries used; 170.
Test #93:
score: 0
Accepted
time: 1ms
memory: 3740kb
input:
1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 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 ...
output:
? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 174.
Test #94:
score: 0
Accepted
time: 3ms
memory: 3820kb
input:
1 1 1 1 1 0 1 0 1 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 0 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ?...
result:
ok Queries used; 532.
Test #95:
score: 0
Accepted
time: 4ms
memory: 3740kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip...
result:
ok Queries used; 605.
Test #96:
score: 0
Accepted
time: 4ms
memory: 3796kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip...
result:
ok Queries used; 730.
Test #97:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
1 1 1 1 0 1 1 0 1 1 1 0 1 1 1 1 1 1 0 1 1 0 1 1 1 0 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ?...
result:
ok Queries used; 875.
Test #98:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? fli...
result:
ok Queries used; 947.
Test #99:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ...
result:
ok Queries used; 999.
Test #100:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip...
result:
ok Queries used; 1055.
Test #101:
score: 0
Accepted
time: 6ms
memory: 3820kb
input:
1 1 0 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? ...
result:
ok Queries used; 1282.
Test #102:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
1 0 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ...
result:
ok Queries used; 1322.
Test #103:
score: 0
Accepted
time: 6ms
memory: 3736kb
input:
1 1 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right...
result:
ok Queries used; 1426.
Test #104:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 1580.
Test #105:
score: 0
Accepted
time: 10ms
memory: 3676kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 1626.
Test #106:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ...
result:
ok Queries used; 1754.
Test #107:
score: 0
Accepted
time: 3ms
memory: 3820kb
input:
1 1 1 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ?...
result:
ok Queries used; 1786.
Test #108:
score: 0
Accepted
time: 2ms
memory: 3820kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ...
result:
ok Queries used; 1931.
Test #109:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip...
result:
ok Queries used; 1986.
Test #110:
score: 0
Accepted
time: 6ms
memory: 3728kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip...
result:
ok Queries used; 2140.
Test #111:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right...
result:
ok Queries used; 2212.
Test #112:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip...
result:
ok Queries used; 2338.
Test #113:
score: 0
Accepted
time: 0ms
memory: 3760kb
input:
1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right...
result:
ok Queries used; 2464.
Test #114:
score: 0
Accepted
time: 4ms
memory: 3820kb
input:
1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right...
result:
ok Queries used; 2603.
Test #115:
score: 0
Accepted
time: 10ms
memory: 3736kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip...
result:
ok Queries used; 2607.
Test #116:
score: 0
Accepted
time: 5ms
memory: 3824kb
input:
1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ...
result:
ok Queries used; 2678.
Test #117:
score: 0
Accepted
time: 2ms
memory: 3800kb
input:
0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 0 1 1 0 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ?...
result:
ok Queries used; 2841.
Test #118:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
1 0 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ...
result:
ok Queries used; 2982.
Test #119:
score: 0
Accepted
time: 4ms
memory: 3668kb
input:
1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ?...
result:
ok Queries used; 3086.
Test #120:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 3152.
Test #121:
score: 0
Accepted
time: 2ms
memory: 3684kb
input:
1 0 1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right...
result:
ok Queries used; 3312.
Test #122:
score: 0
Accepted
time: 3ms
memory: 3816kb
input:
1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ?...
result:
ok Queries used; 3380.
Test #123:
score: 0
Accepted
time: 4ms
memory: 3820kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 3370.
Test #124:
score: 0
Accepted
time: 2ms
memory: 3684kb
input:
1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ?...
result:
ok Queries used; 3532.
Test #125:
score: 0
Accepted
time: 9ms
memory: 3744kb
input:
1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right...
result:
ok Queries used; 3636.
Test #126:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right...
result:
ok Queries used; 3782.
Test #127:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
0 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right...
result:
ok Queries used; 3873.
Test #128:
score: 0
Accepted
time: 2ms
memory: 3684kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 3979.
Test #129:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
0 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ...
result:
ok Queries used; 4101.
Test #130:
score: 0
Accepted
time: 6ms
memory: 3776kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 4100.
Test #131:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 4252.
Test #132:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip...
result:
ok Queries used; 4292.
Test #133:
score: 0
Accepted
time: 8ms
memory: 3796kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 4478.
Test #134:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 4524.
Test #135:
score: 0
Accepted
time: 3ms
memory: 3684kb
input:
1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ...
result:
ok Queries used; 4637.
Test #136:
score: 0
Accepted
time: 7ms
memory: 3800kb
input:
1 1 1 1 1 1 1 1 1 0 1 1 1 0 1 1 0 1 1 1 1 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ...
result:
ok Queries used; 4791.
Test #137:
score: 0
Accepted
time: 7ms
memory: 3736kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip...
result:
ok Queries used; 4829.
Test #138:
score: 0
Accepted
time: 14ms
memory: 3728kb
input:
1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 4933.
Test #139:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ...
result:
ok Queries used; 5079.
Test #140:
score: 0
Accepted
time: 0ms
memory: 3724kb
input:
1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 5104.
Test #141:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? fli...
result:
ok Queries used; 5262.
Test #142:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right...
result:
ok Queries used; 5351.
Test #143:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ...
result:
ok Queries used; 5475.
Test #144:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
1 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 1 1 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? right ? flip ? right ? fl...
result:
ok Queries used; 5497.
Test #145:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? righ...
result:
ok Queries used; 5486.
Test #146:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 1 1 0 1 0 1 0 0 0 1 0 1 0 1
output:
? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ?...
result:
ok Queries used; 110.
Test #147:
score: 0
Accepted
time: 1ms
memory: 3684kb
input:
0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1
output:
? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? right ? right ? right ? right ? r...
result:
ok Queries used; 133.
Test #148:
score: 0
Accepted
time: 0ms
memory: 3748kb
input:
1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 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
output:
? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? right ? right ? righ...
result:
ok Queries used; 141.
Test #149:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1 0 1 0 1
output:
? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ...
result:
ok Queries used; 142.
Test #150:
score: 0
Accepted
time: 1ms
memory: 3820kb
input:
0 1 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ?...
result:
ok Queries used; 175.
Test #151:
score: 0
Accepted
time: 1ms
memory: 3684kb
input:
0 1 0 1 1 0 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 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 ...
output:
? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ...
result:
ok Queries used; 178.
Test #152:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ?...
result:
ok Queries used; 186.
Test #153:
score: 0
Accepted
time: 2ms
memory: 3740kb
input:
0 1 1 1 0 1 0 1 0 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ? right ? flip ?...
result:
ok Queries used; 229.
Test #154:
score: 0
Accepted
time: 3ms
memory: 3680kb
input:
0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left...
result:
ok Queries used; 569.
Test #155:
score: 0
Accepted
time: 4ms
memory: 3676kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip...
result:
ok Queries used; 672.
Test #156:
score: 0
Accepted
time: 4ms
memory: 3740kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 816.
Test #157:
score: 0
Accepted
time: 2ms
memory: 3820kb
input:
0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 825.
Test #158:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 948.
Test #159:
score: 0
Accepted
time: 2ms
memory: 3800kb
input:
0 1 0 1 0 1 0 1 1 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? right ? fli...
result:
ok Queries used; 1090.
Test #160:
score: 0
Accepted
time: 6ms
memory: 3820kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 1102.
Test #161:
score: 0
Accepted
time: 4ms
memory: 3872kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 1291.
Test #162:
score: 0
Accepted
time: 3ms
memory: 3872kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip...
result:
ok Queries used; 1380.
Test #163:
score: 0
Accepted
time: 4ms
memory: 3672kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 1482.
Test #164:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left...
result:
ok Queries used; 1564.
Test #165:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
1 0 1 0 1 0 1 1 0 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip...
result:
ok Queries used; 1611.
Test #166:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 1757.
Test #167:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 1879.
Test #168:
score: 0
Accepted
time: 11ms
memory: 3740kb
input:
0 1 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 1915.
Test #169:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 2023.
Test #170:
score: 0
Accepted
time: 6ms
memory: 3684kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 2150.
Test #171:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 2255.
Test #172:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 2298.
Test #173:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 2450.
Test #174:
score: 0
Accepted
time: 6ms
memory: 3800kb
input:
0 1 0 1 0 1 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 2557.
Test #175:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left...
result:
ok Queries used; 2676.
Test #176:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 2729.
Test #177:
score: 0
Accepted
time: 5ms
memory: 3876kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip...
result:
ok Queries used; 2852.
Test #178:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 3022.
Test #179:
score: 0
Accepted
time: 3ms
memory: 3800kb
input:
0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 3031.
Test #180:
score: 0
Accepted
time: 3ms
memory: 3744kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 3137.
Test #181:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 3229.
Test #182:
score: 0
Accepted
time: 3ms
memory: 3824kb
input:
0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 3386.
Test #183:
score: 0
Accepted
time: 4ms
memory: 3736kb
input:
0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip...
result:
ok Queries used; 3455.
Test #184:
score: 0
Accepted
time: 7ms
memory: 3760kb
input:
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 3524.
Test #185:
score: 0
Accepted
time: 7ms
memory: 3684kb
input:
0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 3717.
Test #186:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 3754.
Test #187:
score: 0
Accepted
time: 8ms
memory: 3744kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 3910.
Test #188:
score: 0
Accepted
time: 9ms
memory: 3800kb
input:
0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 4016.
Test #189:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
1 0 1 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left...
result:
ok Queries used; 4053.
Test #190:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 4125.
Test #191:
score: 0
Accepted
time: 4ms
memory: 3740kb
input:
1 0 1 0 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left...
result:
ok Queries used; 4219.
Test #192:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 4357.
Test #193:
score: 0
Accepted
time: 13ms
memory: 3728kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 4412.
Test #194:
score: 0
Accepted
time: 3ms
memory: 3684kb
input:
0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 4596.
Test #195:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 4638.
Test #196:
score: 0
Accepted
time: 4ms
memory: 3740kb
input:
1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 4784.
Test #197:
score: 0
Accepted
time: 8ms
memory: 3728kb
input:
0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 4858.
Test #198:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 4990.
Test #199:
score: 0
Accepted
time: 3ms
memory: 3800kb
input:
0 1 0 1 1 0 1 1 1 0 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 5093.
Test #200:
score: 0
Accepted
time: 10ms
memory: 3796kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 5162.
Test #201:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip...
result:
ok Queries used; 5250.
Test #202:
score: 0
Accepted
time: 8ms
memory: 3740kb
input:
0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left...
result:
ok Queries used; 5348.
Test #203:
score: 0
Accepted
time: 5ms
memory: 3744kb
input:
1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? righ...
result:
ok Queries used; 5431.
Test #204:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
1 0 1 1 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ...
output:
? left ? flip ? left ? left ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? flip ? left ? flip ? left ? left ? right ? flip ? right ? fl...
result:
ok Queries used; 5496.
Test #205:
score: 0
Accepted
time: 10ms
memory: 3800kb
input:
0 1 0 1 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 ...
output:
? flip ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? flip ? left ? left ? flip...
result:
ok Queries used; 5504.