QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#201614 | #5156. Going in Circles | salvator_noster# | AC ✓ | 25ms | 4040kb | C++14 | 1.9kb | 2023-10-05 15:30:14 | 2023-10-05 15:30:15 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int get(void) {
int x;
scanf("%d", &x);
return x;
}
void goLeft(void) {
puts("? left");
fflush(stdout);
return;
}
void goRight(void) {
puts("? right");
fflush(stdout);
return;
}
void flip(void) {
puts("? flip");
fflush(stdout);
return;
}
const int S = 20;
int buf[6000];
int main(void) {
int stCol = get();
int pos = 0;
while (true) {
while (pos <= S) {
goRight();
++pos;
int col = get();
if (col == stCol) {
break;
}
}
if (pos <= S) {
fprintf(stderr, "pos = %d\n", pos);
flip();
get();
int bk = pos;
while (pos > 1) {
goLeft();
get();
--pos;
}
goLeft();
int col = get();
--pos;
if (stCol != col) {
printf("! %d\n", bk);
fflush(stdout);
return 0;
}
} else {
break;
}
}
while (pos > 1) {
goLeft();
get();
--pos;
}
goLeft();
--pos;
buf[0] = get();
srand(time(NULL));
while (pos <= S) {
if (rand() & 1) {
flip();
buf[pos] = get();
}
goRight();
buf[++pos] = get();
}
while (true) {
int flg = 1;
for (int i = 0; i <= S && flg; ++i) {
if (buf[i] != buf[pos - S + i]) {
flg = 0;
}
}
if (flg) {
printf("! %d\n", pos - S);
fflush(stdout);
return 0;
}
goRight();
buf[++pos] = get();
}
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3984kb
input:
0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 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 0 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 1 1 0 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 1 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 1 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ?...
result:
ok Queries used; 5204.
Test #2:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right...
result:
ok Queries used; 5074.
Test #3:
score: 0
Accepted
time: 9ms
memory: 4000kb
input:
0 0 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ?...
result:
ok Queries used; 5375.
Test #4:
score: 0
Accepted
time: 0ms
memory: 3952kb
input:
0 0 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 0 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 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 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right...
result:
ok Queries used; 4365.
Test #5:
score: 0
Accepted
time: 7ms
memory: 3840kb
input:
0 0 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 0 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 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 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right...
result:
ok Queries used; 4366.
Test #6:
score: 0
Accepted
time: 2ms
memory: 4036kb
input:
0 0 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 0 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 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 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right...
result:
ok Queries used; 4367.
Test #7:
score: 0
Accepted
time: 10ms
memory: 4032kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5512.
Test #8:
score: 0
Accepted
time: 6ms
memory: 3884kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5363.
Test #9:
score: 0
Accepted
time: 0ms
memory: 3960kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5512.
Test #10:
score: 0
Accepted
time: 7ms
memory: 4036kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4607.
Test #11:
score: 0
Accepted
time: 3ms
memory: 3952kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4608.
Test #12:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4609.
Test #13:
score: 0
Accepted
time: 2ms
memory: 3932kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 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 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 1 1 0 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 1 1 0 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 337.
Test #14:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 1 0 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 2106.
Test #15:
score: 0
Accepted
time: 7ms
memory: 4028kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 3699.
Test #16:
score: 0
Accepted
time: 9ms
memory: 4036kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5388.
Test #17:
score: 0
Accepted
time: 0ms
memory: 3956kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5306.
Test #18:
score: 0
Accepted
time: 3ms
memory: 3952kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 1 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 1 1 1 1 0 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 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 5172.
Test #19:
score: 0
Accepted
time: 5ms
memory: 3956kb
input:
1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? l...
result:
ok Queries used; 5048.
Test #20:
score: 0
Accepted
time: 0ms
memory: 4040kb
input:
0 0 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 0 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 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 1 1 1 1 1 0 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right...
result:
ok Queries used; 5171.
Test #21:
score: 0
Accepted
time: 3ms
memory: 3948kb
input:
1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ...
result:
ok Queries used; 5287.
Test #22:
score: 0
Accepted
time: 4ms
memory: 3860kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left...
result:
ok Queries used; 4807.
Test #23:
score: 0
Accepted
time: 7ms
memory: 4036kb
input:
1 1 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ...
result:
ok Queries used; 5024.
Test #24:
score: 0
Accepted
time: 6ms
memory: 3956kb
input:
0 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 1 1 1 1 0 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 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 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 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? right ?...
result:
ok Queries used; 5109.
Test #25:
score: 0
Accepted
time: 0ms
memory: 3952kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4954.
Test #26:
score: 0
Accepted
time: 0ms
memory: 4032kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5406.
Test #27:
score: 0
Accepted
time: 0ms
memory: 3964kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5432.
Test #28:
score: 0
Accepted
time: 5ms
memory: 3892kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4505.
Test #29:
score: 0
Accepted
time: 1ms
memory: 3928kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ! 3
result:
ok Queries used; 15.
Test #30:
score: 0
Accepted
time: 1ms
memory: 3868kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ! 4
result:
ok Queries used; 24.
Test #31:
score: 0
Accepted
time: 1ms
memory: 3936kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ! 5
result:
ok Queries used; 35.
Test #32:
score: 0
Accepted
time: 0ms
memory: 4020kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 48.
Test #33:
score: 0
Accepted
time: 1ms
memory: 4016kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 63.
Test #34:
score: 0
Accepted
time: 0ms
memory: 3932kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 80.
Test #35:
score: 0
Accepted
time: 1ms
memory: 3876kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 99.
Test #36:
score: 0
Accepted
time: 1ms
memory: 3860kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 120.
Test #37:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 615.
Test #38:
score: 0
Accepted
time: 1ms
memory: 3864kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 1277.
Test #39:
score: 0
Accepted
time: 0ms
memory: 4020kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 2482.
Test #40:
score: 0
Accepted
time: 11ms
memory: 3840kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4222.
Test #41:
score: 0
Accepted
time: 25ms
memory: 4036kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4613.
Test #42:
score: 0
Accepted
time: 5ms
memory: 3820kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5508.
Test #43:
score: 0
Accepted
time: 0ms
memory: 4032kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5509.
Test #44:
score: 0
Accepted
time: 1ms
memory: 3960kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 1
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ! 3
result:
ok Queries used; 15.
Test #45:
score: 0
Accepted
time: 1ms
memory: 3936kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ! 4
result:
ok Queries used; 24.
Test #46:
score: 0
Accepted
time: 0ms
memory: 4016kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ! 5
result:
ok Queries used; 35.
Test #47:
score: 0
Accepted
time: 1ms
memory: 4016kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 48.
Test #48:
score: 0
Accepted
time: 1ms
memory: 4020kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 63.
Test #49:
score: 0
Accepted
time: 0ms
memory: 4020kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 80.
Test #50:
score: 0
Accepted
time: 1ms
memory: 3864kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 99.
Test #51:
score: 0
Accepted
time: 1ms
memory: 3864kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 120.
Test #52:
score: 0
Accepted
time: 2ms
memory: 3824kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 608.
Test #53:
score: 0
Accepted
time: 0ms
memory: 3940kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 854.
Test #54:
score: 0
Accepted
time: 0ms
memory: 3932kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 1401.
Test #55:
score: 0
Accepted
time: 6ms
memory: 3956kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 3070.
Test #56:
score: 0
Accepted
time: 5ms
memory: 3948kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4605.
Test #57:
score: 0
Accepted
time: 5ms
memory: 3964kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5508.
Test #58:
score: 0
Accepted
time: 12ms
memory: 3976kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5513.
Test #59:
score: 0
Accepted
time: 1ms
memory: 3956kb
input:
0 1 0 1 1 0 1 1 0 1 1 1 1
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ! 3
result:
ok Queries used; 12.
Test #60:
score: 0
Accepted
time: 1ms
memory: 3860kb
input:
0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ! 4
result:
ok Queries used; 21.
Test #61:
score: 0
Accepted
time: 1ms
memory: 4020kb
input:
0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1
output:
? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ! 5
result:
ok Queries used; 20.
Test #62:
score: 0
Accepted
time: 1ms
memory: 3824kb
input:
1 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0
output:
? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ! 6
result:
ok Queries used; 20.
Test #63:
score: 0
Accepted
time: 1ms
memory: 4020kb
input:
1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
output:
? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ! 7
result:
ok Queries used; 15.
Test #64:
score: 0
Accepted
time: 1ms
memory: 3868kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 54.
Test #65:
score: 0
Accepted
time: 0ms
memory: 3944kb
input:
1 1 0 1 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ?...
result:
ok Queries used; 42.
Test #66:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip...
result:
ok Queries used; 468.
Test #67:
score: 0
Accepted
time: 4ms
memory: 3824kb
input:
0 0 1 0 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 0 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 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 1 0 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? lef...
result:
ok Queries used; 652.
Test #68:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
0 0 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 1 0 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 1 1 1 1 0 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 ...
output:
? right ? flip ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right...
result:
ok Queries used; 799.
Test #69:
score: 0
Accepted
time: 6ms
memory: 3828kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 1041.
Test #70:
score: 0
Accepted
time: 2ms
memory: 3952kb
input:
1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? righ...
result:
ok Queries used; 1379.
Test #71:
score: 0
Accepted
time: 7ms
memory: 3868kb
input:
0 0 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 0 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 1 1 0 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 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left...
result:
ok Queries used; 1633.
Test #72:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
1 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right...
result:
ok Queries used; 1905.
Test #73:
score: 0
Accepted
time: 3ms
memory: 3952kb
input:
0 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 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 1 1 1 1 0 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 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 1 1 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ?...
result:
ok Queries used; 2327.
Test #74:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 2573.
Test #75:
score: 0
Accepted
time: 0ms
memory: 3944kb
input:
0 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 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 1 1 0 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 0 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 1 1 1 1 1 1 1 1 1 1 1 1 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 0 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? rig...
result:
ok Queries used; 2647.
Test #76:
score: 0
Accepted
time: 9ms
memory: 3944kb
input:
1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? rig...
result:
ok Queries used; 3082.
Test #77:
score: 0
Accepted
time: 17ms
memory: 3960kb
input:
0 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 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 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 1 1 1 1 0 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 1 1 1 1 1 0 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 1 1 1 1 1 1 1 0 1 1 1 1 ...
output:
? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ?...
result:
ok Queries used; 3320.
Test #78:
score: 0
Accepted
time: 5ms
memory: 3948kb
input:
1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ...
result:
ok Queries used; 3439.
Test #79:
score: 0
Accepted
time: 17ms
memory: 3836kb
input:
0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 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 1 1 1 1 0 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 1 0 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 1 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ...
result:
ok Queries used; 3686.
Test #80:
score: 0
Accepted
time: 0ms
memory: 4028kb
input:
1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left...
result:
ok Queries used; 4109.
Test #81:
score: 0
Accepted
time: 0ms
memory: 3940kb
input:
0 0 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 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 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 1 1 0 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 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 1 1 1 1 1 0 1 ...
output:
? right ? flip ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? ...
result:
ok Queries used; 4248.
Test #82:
score: 0
Accepted
time: 4ms
memory: 3948kb
input:
1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ...
result:
ok Queries used; 4476.
Test #83:
score: 0
Accepted
time: 0ms
memory: 3948kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ?...
result:
ok Queries used; 4777.
Test #84:
score: 0
Accepted
time: 3ms
memory: 3880kb
input:
0 1 0 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 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 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 1 1 1 1 1 0 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 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? right ?...
result:
ok Queries used; 4942.
Test #85:
score: 0
Accepted
time: 7ms
memory: 3816kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 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 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 1 0 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 1 1 1 1 0 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 5106.
Test #86:
score: 0
Accepted
time: 4ms
memory: 3840kb
input:
1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ?...
result:
ok Queries used; 5328.
Test #87:
score: 0
Accepted
time: 0ms
memory: 4036kb
input:
1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 ...
output:
? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? righ...
result:
ok Queries used; 5243.
Test #88:
score: 0
Accepted
time: 1ms
memory: 4020kb
input:
1 1 0 1 0 0 1 0 0 0 0
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ! 3
result:
ok Queries used; 10.
Test #89:
score: 0
Accepted
time: 1ms
memory: 3876kb
input:
1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ! 4
result:
ok Queries used; 19.
Test #90:
score: 0
Accepted
time: 1ms
memory: 4020kb
input:
1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0
output:
? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ! 5
result:
ok Queries used; 27.
Test #91:
score: 0
Accepted
time: 0ms
memory: 3956kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ! 6
result:
ok Queries used; 28.
Test #92:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 50.
Test #93:
score: 0
Accepted
time: 1ms
memory: 3824kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 65.
Test #94:
score: 0
Accepted
time: 3ms
memory: 4016kb
input:
1 1 0 1 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? righ...
result:
ok Queries used; 432.
Test #95:
score: 0
Accepted
time: 3ms
memory: 3940kb
input:
1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ?...
result:
ok Queries used; 541.
Test #96:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
1 1 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? ...
result:
ok Queries used; 673.
Test #97:
score: 0
Accepted
time: 4ms
memory: 3860kb
input:
1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip...
result:
ok Queries used; 742.
Test #98:
score: 0
Accepted
time: 0ms
memory: 3860kb
input:
1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ?...
result:
ok Queries used; 945.
Test #99:
score: 0
Accepted
time: 0ms
memory: 4016kb
input:
1 1 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ...
result:
ok Queries used; 1002.
Test #100:
score: 0
Accepted
time: 3ms
memory: 4016kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 1079.
Test #101:
score: 0
Accepted
time: 7ms
memory: 4020kb
input:
1 1 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ?...
result:
ok Queries used; 1198.
Test #102:
score: 0
Accepted
time: 0ms
memory: 3988kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 1304.
Test #103:
score: 0
Accepted
time: 2ms
memory: 3940kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 1433.
Test #104:
score: 0
Accepted
time: 0ms
memory: 3828kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 1498.
Test #105:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 1586.
Test #106:
score: 0
Accepted
time: 8ms
memory: 3944kb
input:
0 1 0 1 1 0 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 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 1 1 1 1 1 1 1 1 0 1 0 1 1 1 0 1 0 1 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 0 0 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? ...
result:
ok Queries used; 1360.
Test #107:
score: 0
Accepted
time: 5ms
memory: 3948kb
input:
1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ?...
result:
ok Queries used; 1658.
Test #108:
score: 0
Accepted
time: 0ms
memory: 4024kb
input:
1 1 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? ...
result:
ok Queries used; 1874.
Test #109:
score: 0
Accepted
time: 0ms
memory: 3940kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 1974.
Test #110:
score: 0
Accepted
time: 3ms
memory: 3932kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 2163.
Test #111:
score: 0
Accepted
time: 0ms
memory: 3948kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 2169.
Test #112:
score: 0
Accepted
time: 0ms
memory: 4024kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 2269.
Test #113:
score: 0
Accepted
time: 13ms
memory: 3936kb
input:
1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ?...
result:
ok Queries used; 2446.
Test #114:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 2602.
Test #115:
score: 0
Accepted
time: 7ms
memory: 4024kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 2566.
Test #116:
score: 0
Accepted
time: 0ms
memory: 3964kb
input:
1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ?...
result:
ok Queries used; 2635.
Test #117:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
0 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 1 1 0 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 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 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 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 0 1 1 0 1 0 1 1 0 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 ...
output:
? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? r...
result:
ok Queries used; 2486.
Test #118:
score: 0
Accepted
time: 10ms
memory: 3952kb
input:
1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ?...
result:
ok Queries used; 2928.
Test #119:
score: 0
Accepted
time: 0ms
memory: 3964kb
input:
1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ...
result:
ok Queries used; 2983.
Test #120:
score: 0
Accepted
time: 10ms
memory: 3836kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 3127.
Test #121:
score: 0
Accepted
time: 6ms
memory: 3948kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 3260.
Test #122:
score: 0
Accepted
time: 9ms
memory: 3888kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 3316.
Test #123:
score: 0
Accepted
time: 20ms
memory: 3968kb
input:
1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ?...
result:
ok Queries used; 3357.
Test #124:
score: 0
Accepted
time: 2ms
memory: 3960kb
input:
1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left...
result:
ok Queries used; 3445.
Test #125:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ...
result:
ok Queries used; 3554.
Test #126:
score: 0
Accepted
time: 7ms
memory: 3836kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 3806.
Test #127:
score: 0
Accepted
time: 0ms
memory: 4032kb
input:
0 1 1 0 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 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 1 1 1 1 1 1 0 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 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 1 1 1 1 1 1 1 1 0 1 1 0 1 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 0 1 0 1 1 1 1 1 1 0 1 1 ...
output:
? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? right ?...
result:
ok Queries used; 3530.
Test #128:
score: 0
Accepted
time: 0ms
memory: 4028kb
input:
1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 ...
output:
? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? ...
result:
ok Queries used; 3926.
Test #129:
score: 0
Accepted
time: 2ms
memory: 3836kb
input:
0 0 1 0 1 0 1 1 0 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 1 1 1 1 0 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 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 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 1 0 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 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? ri...
result:
ok Queries used; 3841.
Test #130:
score: 0
Accepted
time: 0ms
memory: 3944kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 4085.
Test #131:
score: 0
Accepted
time: 9ms
memory: 3888kb
input:
1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ?...
result:
ok Queries used; 4203.
Test #132:
score: 0
Accepted
time: 10ms
memory: 3940kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 4279.
Test #133:
score: 0
Accepted
time: 5ms
memory: 3956kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4442.
Test #134:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ?...
result:
ok Queries used; 4518.
Test #135:
score: 0
Accepted
time: 4ms
memory: 3892kb
input:
1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? ...
result:
ok Queries used; 4631.
Test #136:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4756.
Test #137:
score: 0
Accepted
time: 4ms
memory: 4036kb
input:
1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ?...
result:
ok Queries used; 4729.
Test #138:
score: 0
Accepted
time: 10ms
memory: 4032kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 4933.
Test #139:
score: 0
Accepted
time: 8ms
memory: 3844kb
input:
0 1 1 1 1 1 0 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 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 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 1 1 1 1 1 1 0 1 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1 1 0 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 1 1 1 1 1 1 ...
output:
? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? l...
result:
ok Queries used; 4711.
Test #140:
score: 0
Accepted
time: 13ms
memory: 3844kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5096.
Test #141:
score: 0
Accepted
time: 8ms
memory: 4032kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5263.
Test #142:
score: 0
Accepted
time: 6ms
memory: 4036kb
input:
0 1 1 1 1 1 1 1 0 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 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 1 1 0 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 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 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 1 0 1 ...
output:
? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ?...
result:
ok Queries used; 5032.
Test #143:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
1 1 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? ...
result:
ok Queries used; 5490.
Test #144:
score: 0
Accepted
time: 0ms
memory: 3948kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 5260.
Test #145:
score: 0
Accepted
time: 0ms
memory: 4032kb
input:
1 1 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5512.
Test #146:
score: 0
Accepted
time: 1ms
memory: 3928kb
input:
1 0 1 0 0 1 0 0 1 0 0 0 0
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ! 3
result:
ok Queries used; 12.
Test #147:
score: 0
Accepted
time: 1ms
memory: 3880kb
input:
0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1
output:
? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ! 4
result:
ok Queries used; 16.
Test #148:
score: 0
Accepted
time: 0ms
memory: 3936kb
input:
1 0 0 0 0 1 0 0 0 0 0 0
output:
? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ! 5
result:
ok Queries used; 11.
Test #149:
score: 0
Accepted
time: 1ms
memory: 3940kb
input:
1 0 0 0 0 0 1 0 0 0 0 0 0 0
output:
? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ! 6
result:
ok Queries used; 13.
Test #150:
score: 0
Accepted
time: 1ms
memory: 3932kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 54.
Test #151:
score: 0
Accepted
time: 1ms
memory: 3940kb
input:
0 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? ...
result:
ok Queries used; 57.
Test #152:
score: 0
Accepted
time: 1ms
memory: 4020kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 71.
Test #153:
score: 0
Accepted
time: 1ms
memory: 4016kb
input:
0 0 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1
output:
? right ? flip ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ...
result:
ok Queries used; 72.
Test #154:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 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 1 1 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 1 1 0 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 1 1 0 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 1 1 1 1 1 1 0 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 400.
Test #155:
score: 0
Accepted
time: 0ms
memory: 3828kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 552.
Test #156:
score: 0
Accepted
time: 0ms
memory: 4016kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 821.
Test #157:
score: 0
Accepted
time: 3ms
memory: 3824kb
input:
0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ...
result:
ok Queries used; 741.
Test #158:
score: 0
Accepted
time: 5ms
memory: 3940kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 955.
Test #159:
score: 0
Accepted
time: 0ms
memory: 3948kb
input:
0 0 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ?...
result:
ok Queries used; 968.
Test #160:
score: 0
Accepted
time: 0ms
memory: 4020kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 1 1 1 1 0 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 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 1037.
Test #161:
score: 0
Accepted
time: 6ms
memory: 4016kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 1189.
Test #162:
score: 0
Accepted
time: 0ms
memory: 4016kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 1 0 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 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 1277.
Test #163:
score: 0
Accepted
time: 9ms
memory: 3880kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 1420.
Test #164:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ?...
result:
ok Queries used; 1548.
Test #165:
score: 0
Accepted
time: 3ms
memory: 3948kb
input:
1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 ...
output:
? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? r...
result:
ok Queries used; 1321.
Test #166:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
0 0 1 0 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 0 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? ...
result:
ok Queries used; 1720.
Test #167:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 1 0 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 1784.
Test #168:
score: 0
Accepted
time: 8ms
memory: 3844kb
input:
0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 1 0 1 1 1 1 1 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ...
result:
ok Queries used; 1849.
Test #169:
score: 0
Accepted
time: 5ms
memory: 3940kb
input:
0 0 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 1 0 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 0 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ...
result:
ok Queries used; 1936.
Test #170:
score: 0
Accepted
time: 0ms
memory: 3960kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 1 0 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 2041.
Test #171:
score: 0
Accepted
time: 8ms
memory: 3828kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ?...
result:
ok Queries used; 2163.
Test #172:
score: 0
Accepted
time: 0ms
memory: 3936kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 1 0 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 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 2183.
Test #173:
score: 0
Accepted
time: 0ms
memory: 3936kb
input:
1 1 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? lef...
result:
ok Queries used; 2065.
Test #174:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 0 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 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 2381.
Test #175:
score: 0
Accepted
time: 0ms
memory: 3944kb
input:
0 0 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 0 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ...
result:
ok Queries used; 2593.
Test #176:
score: 0
Accepted
time: 0ms
memory: 3944kb
input:
0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 0 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 1 1 1 1 1 1 1 1 1 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? ...
result:
ok Queries used; 2688.
Test #177:
score: 0
Accepted
time: 5ms
memory: 3948kb
input:
0 0 1 0 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 1 0 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 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? ...
result:
ok Queries used; 2790.
Test #178:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 2989.
Test #179:
score: 0
Accepted
time: 0ms
memory: 3948kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 3032.
Test #180:
score: 0
Accepted
time: 4ms
memory: 4028kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 0 1 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 3121.
Test #181:
score: 0
Accepted
time: 4ms
memory: 3956kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 3210.
Test #182:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 3338.
Test #183:
score: 0
Accepted
time: 10ms
memory: 3876kb
input:
0 0 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ?...
result:
ok Queries used; 3395.
Test #184:
score: 0
Accepted
time: 10ms
memory: 3868kb
input:
1 1 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 0 1 0 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left...
result:
ok Queries used; 3178.
Test #185:
score: 0
Accepted
time: 8ms
memory: 3836kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 3724.
Test #186:
score: 0
Accepted
time: 10ms
memory: 4032kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 0 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 3646.
Test #187:
score: 0
Accepted
time: 0ms
memory: 3892kb
input:
0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 1 0 1 1 1 1 1 1 1 1 1 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip...
result:
ok Queries used; 3874.
Test #188:
score: 0
Accepted
time: 0ms
memory: 3952kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 0 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4008.
Test #189:
score: 0
Accepted
time: 4ms
memory: 3872kb
input:
1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 ...
output:
? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? right ?...
result:
ok Queries used; 3843.
Test #190:
score: 0
Accepted
time: 0ms
memory: 3952kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 1 1 1 1 0 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 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 3954.
Test #191:
score: 0
Accepted
time: 4ms
memory: 4032kb
input:
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 0 1 ...
output:
? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? righ...
result:
ok Queries used; 3861.
Test #192:
score: 0
Accepted
time: 3ms
memory: 4032kb
input:
1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 ...
output:
? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ...
result:
ok Queries used; 3977.
Test #193:
score: 0
Accepted
time: 0ms
memory: 3956kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 0 1 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4356.
Test #194:
score: 0
Accepted
time: 5ms
memory: 4036kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 1 1 1 1 0 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 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4483.
Test #195:
score: 0
Accepted
time: 0ms
memory: 3956kb
input:
0 0 1 0 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? ...
result:
ok Queries used; 4599.
Test #196:
score: 0
Accepted
time: 0ms
memory: 3948kb
input:
1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 ...
output:
? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? l...
result:
ok Queries used; 4402.
Test #197:
score: 0
Accepted
time: 5ms
memory: 3948kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 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 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 1 0 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 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 4796.
Test #198:
score: 0
Accepted
time: 8ms
memory: 3880kb
input:
0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ...
result:
ok Queries used; 4997.
Test #199:
score: 0
Accepted
time: 0ms
memory: 3960kb
input:
0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 0 1 1 1 1 1 1 1 1 ...
output:
? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right...
result:
ok Queries used; 5054.
Test #200:
score: 0
Accepted
time: 7ms
memory: 3880kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5108.
Test #201:
score: 0
Accepted
time: 6ms
memory: 3844kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 1 0 1 1 1 1 1 1 1 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5187.
Test #202:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 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 1 1 0 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 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ...
result:
ok Queries used; 5314.
Test #203:
score: 0
Accepted
time: 0ms
memory: 4012kb
input:
1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 1 0 0 1 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 0 1 1 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 ...
output:
? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? lef...
result:
ok Queries used; 5050.
Test #204:
score: 0
Accepted
time: 5ms
memory: 3944kb
input:
1 1 0 1 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 1 0 0 1 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? left ? left ? right ? right ?...
result:
ok Queries used; 5150.
Test #205:
score: 0
Accepted
time: 4ms
memory: 3972kb
input:
0 0 1 0 1 0 1 1 0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 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 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 1 0 1 1 1 ...
output:
? right ? flip ? left ? right ? right ? flip ? left ? left ? right ? right ? right ? flip ? left ? left ? left ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? right ? right ? right ? right ? right ? right ? flip ? left ? left ? left ? left ? left ? left ? right ? ...
result:
ok Queries used; 5475.