QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#333792 | #7804. Intersegment Activation | yhk1001 | AC ✓ | 11ms | 3708kb | C++14 | 1.3kb | 2024-02-20 16:05:49 | 2024-02-20 16:05:50 |
Judging History
answer
#include <cstdio>
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
// #define Debug
// #define LOCAL
// #define TestCases
const int N = 10;
int n;
vector<int> s[N + 5];
void init()
{
s[1].push_back(0), s[1].push_back(1);
for (int i = 2; i <= n; i++)
{
s[i] = s[i - 1];
for (auto it = s[i - 1].rbegin(); it != s[i - 1].rend(); it++)
s[i].push_back((*it) | (1 << (i - 1)));
}
return ;
}
int get_num()
{
int k;
cin >> k;
if (k == n)
exit(0);
return k;
}
void solve()
{
cin >> n;
init();
int cur = get_num();
for (int t = n; t > 0; t--)
{
int Max = cur, key = 0, lst = 0;
s[t].push_back(0);//return
for (auto v : s[t])
{
if (v == lst)//s[t][0]
continue;
int pos = __lg(v ^ lst) + 1;
lst = v;
cout << pos << " " << t << endl;
cur = get_num();
if (cur > Max)
Max = cur, key = v;
}
while (key)
{
int pos = __lg(key & -key) + 1;
key -= key & -key;
cout << pos << " " << t << endl;
cur = get_num();
}
}
return ;
}
int main()
{
#ifdef LOCAL
freopen("data.in", "r", stdin);
freopen("mycode.out", "w", stdout);
#endif
int T = 1;
#ifdef TestCases
scanf("%d", &T);
#endif
while (T--)
solve();
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3608kb
input:
3 0 0 0 1 0 0 0 0 0 1 3
output:
1 3 2 3 1 3 3 3 1 3 2 3 1 3 3 3 2 3 1 2
result:
ok OK, 10 queries
Test #2:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
1 0 1
output:
1 1
result:
ok OK, 1 queries
Test #3:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
2 1 0 0 0 1 2
output:
1 2 2 2 1 2 2 2 1 1
result:
ok OK, 5 queries
Test #4:
score: 0
Accepted
time: 1ms
memory: 3532kb
input:
2 0 0 1 0 0 0 1 2
output:
1 2 2 2 1 2 2 2 1 2 2 2 1 1
result:
ok OK, 7 queries
Test #5:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
2 0 0 0 1 0 1 2
output:
1 2 2 2 1 2 2 2 2 2 1 1
result:
ok OK, 6 queries
Test #6:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
2 0 2
output:
1 2
result:
ok OK, 1 queries
Test #7:
score: 0
Accepted
time: 1ms
memory: 3536kb
input:
3 0 1 0 0 0 0 0 0 0 1 2 1 1 1 2 3
output:
1 3 2 3 1 3 3 3 1 3 2 3 1 3 3 3 1 3 1 2 2 2 1 2 2 2 1 2 1 1
result:
ok OK, 15 queries
Test #8:
score: 0
Accepted
time: 1ms
memory: 3688kb
input:
3 0 0 0 0 0 1 0 0 0 0 0 1 1 2 1 1 1 2 3
output:
1 3 2 3 1 3 3 3 1 3 2 3 1 3 3 3 1 3 2 3 3 3 1 2 2 2 1 2 2 2 1 2 2 2 1 1
result:
ok OK, 18 queries
Test #9:
score: 0
Accepted
time: 1ms
memory: 3684kb
input:
3 0 0 0 0 0 0 0 1 0 1 1 1 2 1 2 3
output:
1 3 2 3 1 3 3 3 1 3 2 3 1 3 3 3 3 3 1 2 2 2 1 2 2 2 2 2 1 1
result:
ok OK, 15 queries
Test #10:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
3 0 3
output:
1 3
result:
ok OK, 1 queries
Test #11:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
4 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 1 2 1 1 3 1 1 1 1 2 3 2 2 2 3 4
output:
1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 1 4 3 4 4 4 1 3 2 3 1 3 3 3 1 3 2 3 1 3 3 3 1 3 2 3 3 3 1 2 2 2 1 2 2 2 1 1
result:
ok OK, 35 queries
Test #12:
score: 0
Accepted
time: 1ms
memory: 3688kb
input:
4 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 2 1 1 1 1 1 2 2 3 2 2 2 3 4
output:
1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 1 4 2 4 3 4 4 4 1 3 2 3 1 3 3 3 1 3 2 3 1 3 3 3 1 3 2 3 3 3 1 2 2 2 1 2 2 2 1 2 2 2 1 1
result:
ok OK, 38 queries
Test #13:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 1 1 1 1 2 1 2 2 2 3 2 3 4
output:
1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 4 4 1 3 2 3 1 3 3 3 1 3 2 3 1 3 3 3 3 3 1 2 2 2 1 2 2 2 2 2 1 1
result:
ok OK, 32 queries
Test #14:
score: 0
Accepted
time: 1ms
memory: 3544kb
input:
4 0 4
output:
1 4
result:
ok OK, 1 queries
Test #15:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
5 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 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 2 2 2 2 3 2 2 2 2 2 3 4 5
output:
1 5 2 5 1 5 3 5 1 5 2 5 1 5 4 5 1 5 2 5 1 5 3 5 1 5 2 5 1 5 5 5 1 5 2 5 1 5 3 5 1 5 2 5 1 5 4 5 1 5 2 5 1 5 3 5 1 5 2 5 1 5 5 5 1 5 4 5 5 5 1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 1 4 4 4 1 3 2 3 1 3 3 3 1 3 2 3 1 3 3 3 2 3 3 3 1 2 2 2
result:
ok OK, 65 queries
Test #16:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
5 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 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 2 2 2 2 2 3 2 2 2 2 2 3 3 4 3 3 3 4 5
output:
1 5 2 5 1 5 3 5 1 5 2 5 1 5 4 5 1 5 2 5 1 5 3 5 1 5 2 5 1 5 5 5 1 5 2 5 1 5 3 5 1 5 2 5 1 5 4 5 1 5 2 5 1 5 3 5 1 5 2 5 1 5 5 5 1 5 2 5 3 5 4 5 5 5 1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 1 4 2 4 3 4 4 4 1 3 2 3 1 3 3 3 1 3 2 3 1 3 3 3 1 3 2 3 3 3 1 2 2 2 1 2 2 2 1 2 2 2 1 1
result:
ok OK, 75 queries
Test #17:
score: 0
Accepted
time: 1ms
memory: 3692kb
input:
5 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 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 2 2 2 2 2 2 2 3 2 3 3 3 4 3 4 5
output:
1 5 2 5 1 5 3 5 1 5 2 5 1 5 4 5 1 5 2 5 1 5 3 5 1 5 2 5 1 5 5 5 1 5 2 5 1 5 3 5 1 5 2 5 1 5 4 5 1 5 2 5 1 5 3 5 1 5 2 5 1 5 5 5 5 5 1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 1 4 2 4 1 4 3 4 1 4 2 4 1 4 4 4 4 4 1 3 2 3 1 3 3 3 1 3 2 3 1 3 3 3 3 3 1 2 2 2 1 2 2 2 2 2 1 1
result:
ok OK, 65 queries
Test #18:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
5 0 5
output:
1 5
result:
ok OK, 1 queries
Test #19:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
6 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 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 2 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 4 3 4 6
output:
1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 5 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 6 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 5 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 6 6 2 6 4 6 5 6 1 5 2 5 1 5 3 5 1 5 2 5 1 5 4 5 ...
result:
ok OK, 129 queries
Test #20:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
6 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 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 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 2 2 2 2 2 2 2 2 2 3 3 3 3 3 4 3 3 3 3 3 4 4 5 4 4 4 5 6
output:
1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 5 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 6 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 5 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 6 6 1 6 2 6 3 6 4 6 5 6 6 6 1 5 2 5 1 5 3 5 1 5 ...
result:
ok OK, 145 queries
Test #21:
score: 0
Accepted
time: 1ms
memory: 3684kb
input:
6 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 1 1 1 1 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 2 3 3 3 3 3 3 3 4 3 4 4 4 5 4 5 6
output:
1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 5 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 6 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 5 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 4 6 1 6 2 6 1 6 3 6 1 6 2 6 1 6 6 6 6 6 1 5 2 5 1 5 3 5 1 5 2 5 1 5 4 5 1 5 2 5 ...
result:
ok OK, 130 queries
Test #22:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
6 0 6
output:
1 6
result:
ok OK, 1 queries
Test #23:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
7 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 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 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 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 5 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 6 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 5 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 7 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 ...
result:
ok OK, 251 queries
Test #24:
score: 0
Accepted
time: 2ms
memory: 3568kb
input:
7 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 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 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 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 5 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 6 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 5 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 7 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 ...
result:
ok OK, 280 queries
Test #25:
score: 0
Accepted
time: 2ms
memory: 3540kb
input:
7 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 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 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 0 0 0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 5 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 6 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 5 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 7 7 1 7 2 7 1 7 3 7 1 7 2 7 1 7 4 7 1 7 2 7 1 7 ...
result:
ok OK, 259 queries
Test #26:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
7 0 7
output:
1 7
result:
ok OK, 1 queries
Test #27:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
8 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 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 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 5 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 6 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 5 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 7 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 ...
result:
ok OK, 524 queries
Test #28:
score: 0
Accepted
time: 4ms
memory: 3696kb
input:
8 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 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 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 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 ...
output:
1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 5 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 6 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 5 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 7 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 ...
result:
ok OK, 544 queries
Test #29:
score: 0
Accepted
time: 3ms
memory: 3592kb
input:
8 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 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 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 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 ...
output:
1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 5 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 6 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 5 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 7 8 1 8 2 8 1 8 3 8 1 8 2 8 1 8 4 8 1 8 2 8 1 8 ...
result:
ok OK, 516 queries
Test #30:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
8 0 8
output:
1 8
result:
ok OK, 1 queries
Test #31:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
9 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 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 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 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 ...
output:
1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 5 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 6 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 5 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 7 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 ...
result:
ok OK, 1040 queries
Test #32:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
9 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 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 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 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 ...
output:
1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 5 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 6 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 5 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 7 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 ...
result:
ok OK, 1065 queries
Test #33:
score: 0
Accepted
time: 7ms
memory: 3628kb
input:
9 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 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 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 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 ...
output:
1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 5 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 6 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 5 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 7 9 1 9 2 9 1 9 3 9 1 9 2 9 1 9 4 9 1 9 2 9 1 9 ...
result:
ok OK, 1029 queries
Test #34:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
9 0 9
output:
1 9
result:
ok OK, 1 queries
Test #35:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2068 queries
Test #36:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2099 queries
Test #37:
score: 0
Accepted
time: 3ms
memory: 3572kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2054 queries
Test #38:
score: 0
Accepted
time: 1ms
memory: 3640kb
input:
10 0 10
output:
1 10
result:
ok OK, 1 queries
Test #39:
score: 0
Accepted
time: 6ms
memory: 3548kb
input:
10 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 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 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2054 queries
Test #40:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
10 0 1 2 0 0 3 1 0 0 1 4 0 0 2 1 0 0 1 2 0 0 5 1 0 0 1 3 0 0 2 1 0 0 1 2 0 0 3 1 0 0 1 6 0 0 2 1 0 0 1 2 0 0 4 1 0 0 1 3 0 0 2 1 0 0 1 2 0 0 3 1 0 0 1 4 0 0 2 1 0 0 1 2 0 0 7 1 0 0 1 3 0 0 2 1 0 0 1 2 0 0 3 1 0 0 1 5 0 0 2 1 0 0 1 2 0 0 4 1 0 0 1 3 0 0 2 1 0 0 1 2 0 0 3 1 0 0 1 4 0 0 2 1 0 0 1 2 0 0...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 682 queries
Test #41:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2037 queries
Test #42:
score: 0
Accepted
time: 4ms
memory: 3612kb
input:
10 6 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1 0 0 2 2 0 0 1 1 0 0 4 4 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1 0 0 2 2 0 0 1 1 0 0 5 5 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2033 queries
Test #43:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
10 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 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 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 0 0 0 3 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2051 queries
Test #44:
score: 0
Accepted
time: 6ms
memory: 3580kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2045 queries
Test #45:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2044 queries
Test #46:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2051 queries
Test #47:
score: 0
Accepted
time: 8ms
memory: 3616kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2038 queries
Test #48:
score: 0
Accepted
time: 6ms
memory: 3624kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2060 queries
Test #49:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2051 queries
Test #50:
score: 0
Accepted
time: 4ms
memory: 3568kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2051 queries
Test #51:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2066 queries
Test #52:
score: 0
Accepted
time: 6ms
memory: 3584kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2059 queries
Test #53:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2080 queries
Test #54:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2073 queries
Test #55:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
10 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 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 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 0 0 0 0 0...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2074 queries
Test #56:
score: 0
Accepted
time: 11ms
memory: 3552kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2089 queries
Test #57:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2080 queries
Test #58:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2082 queries
Test #59:
score: 0
Accepted
time: 2ms
memory: 3708kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2093 queries
Test #60:
score: 0
Accepted
time: 4ms
memory: 3564kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2089 queries
Test #61:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2087 queries
Test #62:
score: 0
Accepted
time: 3ms
memory: 3620kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2096 queries
Test #63:
score: 0
Accepted
time: 9ms
memory: 3640kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2091 queries
Test #64:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2094 queries
Test #65:
score: 0
Accepted
time: 3ms
memory: 3556kb
input:
10 9 0 0 0 0 0 0 1 1 0 0 0 0 0 0 2 2 0 0 0 0 0 0 1 1 0 0 0 0 0 0 3 3 0 0 0 0 0 0 1 1 0 0 0 0 0 0 2 2 0 0 0 0 0 0 1 1 0 0 0 0 0 0 4 4 0 0 0 0 0 0 1 1 0 0 0 0 0 0 2 2 0 0 0 0 0 0 1 1 0 0 0 0 0 0 3 3 0 0 0 0 0 0 1 1 0 0 0 0 0 0 2 2 0 0 0 0 0 0 1 1 0 0 0 0 0 0 5 5 0 0 0 0 0 0 1 1 0 0 0 0 0 0 2 2 0 0 0 0...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 2045 queries
Test #66:
score: 0
Accepted
time: 3ms
memory: 3704kb
input:
10 9 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1 0 0 2 2 0 0 1 1 0 0 4 4 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1 0 0 2 2 0 0 1 1 0 0 5 5 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1 0 0 2 2 0 0 1 1 0 0 4 4 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1 0 0 2 2 0 0 1 1 0 0 6 6 0 0 1 1 0 0 2 2 0 0 1 1 0 0 3 3 0 0 1 1...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 1023 queries
Test #67:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
10 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 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 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 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...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 1025 queries
Test #68:
score: 0
Accepted
time: 1ms
memory: 3704kb
input:
10 1 0 0 10
output:
1 10 2 10 1 10
result:
ok OK, 3 queries
Test #69:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
10 2 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1...
output:
1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 6 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 5 10 1 10 2 10 1 10 3 10 1 10 2 10 1 10 4 10 1 10 2 10 1 10 3 10 ...
result:
ok OK, 1027 queries
Extra Test:
score: 0
Extra Test Passed