QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#105146 | #1135. Connecting Supertrees | He_Ren | 100 ✓ | 160ms | 22988kb | C++17 | 1.4kb | 2023-05-13 13:25:06 | 2023-05-13 13:25:07 |
Judging History
answer
#include<bits/stdc++.h>
#include"supertrees.h"
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
const int MAXN = 1e3 + 5;
int fa[MAXN];
int find(int u){ return fa[u] == u? u: fa[u] = find(fa[u]);}
int construct(vector< vector<int> > p)
{
int n = (int)p.size();
iota(fa, fa+n, 0);
for(int i=0; i<n; ++i)
for(int j=0; j<i; ++j)
{
if(p[i][j] == 3)
return 0;
if(p[i][j])
fa[find(i)] = find(j);
}
for(int i=0; i<n; ++i)
for(int j=0; j<i; ++j)
if(p[i][j] == 0 && find(i) == find(j))
return 0;
iota(fa, fa+n, 0);
for(int i=0; i<n; ++i)
for(int j=0; j<i; ++j)
if(p[i][j] == 1)
fa[find(i)] = find(j);
for(int i=0; i<n; ++i)
for(int j=0; j<i; ++j)
if(p[i][j] != 1 && find(i) == find(j))
return 0;
vector< vector<int> > res(n, vector<int>(n));
for(int i=0; i<n; ++i)
if(find(i) != i)
res[i][find(i)] = res[find(i)][i] = 1;
vector<int> vis(n);
for(int i=0; i<n; ++i) if(fa[i] == i && !vis[i])
{
vector<int> vec;
vis[i] = 1; vec.emplace_back(i);
for(int j=0; j<n; ++j) if(fa[j] == j && p[i][j] == 2)
vis[j] = 1, vec.emplace_back(j);
if(vec.size() == 1) continue;
if(vec.size() == 2) return 0;
for(int j=0; j<(int)vec.size(); ++j)
{
int u = vec[j], v = vec[(j+1)%(int)vec.size()];
res[u][v] = res[v][u] = 1;
}
}
build(res);
return 1;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 11
Accepted
Test #1:
score: 11
Accepted
time: 2ms
memory: 3620kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0
result:
ok
Test #2:
score: 0
Accepted
time: 2ms
memory: 3576kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 2 1 1 1 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 1 0
result:
ok
Test #3:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 3 1 1 1 1 1 1 1 1 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 1 1 0 0 1 0 0
result:
ok
Test #4:
score: 0
Accepted
time: 2ms
memory: 3584kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 1 1 1 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0
result:
ok
Test #5:
score: 0
Accepted
time: 2ms
memory: 3584kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 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 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 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 1 1 1 1 1 1 1 1 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 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 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
result:
ok
Test #6:
score: 0
Accepted
time: 1ms
memory: 4232kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 200 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 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 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 1 1 1 1 1 1 1...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 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 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 1 1 1 1 1 ...
result:
ok
Test #7:
score: 0
Accepted
time: 143ms
memory: 22916kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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 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 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 1 1 1 1 1 1 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 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 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 1 1 1 1 1 ...
result:
ok
Subtask #2:
score: 10
Accepted
Dependency #1:
100%
Accepted
Test #8:
score: 10
Accepted
time: 1ms
memory: 3628kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 2 1 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 0 0
result:
ok
Test #9:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 3 1 0 0 0 1 0 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 0 0 0 0 0 0 0
result:
ok
Test #10:
score: 0
Accepted
time: 2ms
memory: 3600kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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
result:
ok
Test #11:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 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 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 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 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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
result:
ok
Test #12:
score: 0
Accepted
time: 8ms
memory: 4256kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 200 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...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 ...
result:
ok
Test #13:
score: 0
Accepted
time: 152ms
memory: 22804kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 ...
result:
ok
Test #14:
score: 0
Accepted
time: 2ms
memory: 3616kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 0 0 0 0 0 1 1 1 0 0 1 1 1 1 0 1 1 1 0 0 0 1 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #15:
score: 0
Accepted
time: 2ms
memory: 3620kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 1 0 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0 0 0 1 0 0 1 1 0 0 0 0 1 0 1 1 1 1 1 0 1 0 1 0 0 0 0 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 1 0 0 0 0 1 0 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1 1 1 1 0 1 1 0 0 1 0 0 1 0 0 1 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #16:
score: 0
Accepted
time: 5ms
memory: 3928kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 200 1 1 1 1 0 1 1 1 0 1 1 1 1 0 1 0 0 0 0 0 0 1 0 1 1 1 0 0 1 1 0 0 1 0 1 1 0 0 1 0 0 1 1 0 1 1 1 1 0 0 1 0 0 1 1 0 0 1 1 0 1 1 0 1 1 0 0 0 0 1 1 1 0 1 1 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 1 0 1 1 0 0 1 1 0 1 0 0 0 0...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #17:
score: 0
Accepted
time: 70ms
memory: 11044kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 1 0 1 1 1 1 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 0 1 1 1 0 1 1 0 1 1 0 1 1 1 1 0 1 0 0 1 0 1 1 0 1 1 1 0 0 0 0 0 1 1 1 0 0 1 0 0 1 0 1 0 0 1 1 0 1 0 0 0 1 0 0 1 0 1 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 1 1 1 0 0 1 1 1 0 0 0 1 1 1 1 1 0 1 1 1 1 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #18:
score: 0
Accepted
time: 2ms
memory: 3624kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 3 1 1 0 1 1 1 0 1 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #19:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 4 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #20:
score: 0
Accepted
time: 45ms
memory: 8140kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 500 1 0 0 0 0 1 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 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 1 0 0 0 0 0 0 0 1...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 0 0 0 1 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 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 1 0 0 0 0 0 0 0 ...
result:
ok
Test #21:
score: 0
Accepted
time: 150ms
memory: 22852kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 1 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 1 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 1 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 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 1 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 1 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 1 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 ...
result:
ok
Test #22:
score: 0
Accepted
time: 132ms
memory: 22848kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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 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 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 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 ...
result:
ok
Test #23:
score: 0
Accepted
time: 148ms
memory: 22860kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 1 1 0 1 0 1 0 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 0 1 1 1 0 1 1 1 1 1 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 1 1 1 0 0 1 1 0 1 1 0 1 0 0 0 1 0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 0 1 1 1 0 1 1 0 0 0 1 1 1 0 0 0 1 1 0 0 1 0 1 1 1 1 0 0 1 1 1 1 1 0 0 1 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 0 0 1 1 0 1 0 1 0 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 0 1 1 1 0 1 1 1 1 1 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 1 1 1 0 0 1 1 0 1 1 0 1 0 0 0 1 0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 0 1 1 1 0 1 1 0 0 0 1 1 1 0 0 0 1 1 0 0 1 0 1 1 1 1 0 0 1 1 1 1 1 0 0 1 0 ...
result:
ok
Test #24:
score: 0
Accepted
time: 134ms
memory: 22804kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 ...
result:
ok
Test #25:
score: 0
Accepted
time: 59ms
memory: 10912kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 0 0 0 0 0 1 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 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 1 0 0 0 1 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 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #26:
score: 0
Accepted
time: 63ms
memory: 10916kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #27:
score: 0
Accepted
time: 160ms
memory: 22932kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 1 1 0 1 0 1 0 1 1 1 0 1 0 1 0 0 1 0 1 1 0 0 1 0 1 0 1 1 0 0 1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 1 1 0 1 0 1 1 0 0 0 0 0 0 1 1 1 1 0 1 0 1 0 0 0 1 0 1 0 1 1 1 0 1 0 1 0 1 1 1 0 1 0 1 0 0 0 0 0 1 0 0 1 0 0 1 1 0 1 1 1 0 0 0 0 0 0 1 0 0 0 1 0 1 1 0 1 1 0 0 1 1 1 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 1 0 1 0 1 0 1 1 1 0 1 0 1 0 0 1 0 1 1 0 0 1 0 1 0 1 1 0 0 1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 1 1 0 1 0 1 1 0 0 0 0 0 0 1 1 1 1 0 1 0 1 0 0 0 1 0 1 0 1 1 1 0 1 0 1 0 1 1 1 0 1 0 1 0 0 0 0 0 1 0 0 1 0 0 1 1 0 1 1 1 0 0 0 0 0 0 1 0 0 0 1 0 1 1 0 1 1 0 0 1 1 1 ...
result:
ok
Test #28:
score: 0
Accepted
time: 151ms
memory: 22796kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 ...
result:
ok
Subtask #3:
score: 19
Accepted
Test #29:
score: 19
Accepted
time: 2ms
memory: 3612kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 2 1 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 0 0
result:
ok
Test #30:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 3 1 0 0 0 1 0 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 0 0 0 0 0 0 0
result:
ok
Test #31:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0
result:
ok
Test #32:
score: 0
Accepted
time: 2ms
memory: 3616kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 2 1 2 2 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #33:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 3 1 2 2 2 1 2 2 2 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 1 1 0 1 1 1 0
result:
ok
Test #34:
score: 0
Accepted
time: 2ms
memory: 3628kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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
result:
ok
Test #35:
score: 0
Accepted
time: 2ms
memory: 3624kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 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 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 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 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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
result:
ok
Test #36:
score: 0
Accepted
time: 9ms
memory: 4236kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 200 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...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 ...
result:
ok
Test #37:
score: 0
Accepted
time: 144ms
memory: 22776kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 ...
result:
ok
Test #38:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 2 2 2 2 2 1 2 2 2 2 2 1 2 2 2 2 2 1 2 2 2 2 2 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 0 0 1 1 0 1 0 0 0 1 0 1 0 0 0 1 0 1 1 0 0 1 0
result:
ok
Test #39:
score: 0
Accepted
time: 2ms
memory: 3684kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 1 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 1 0
result:
ok
Test #40:
score: 0
Accepted
time: 9ms
memory: 4320kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 200 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #41:
score: 0
Accepted
time: 139ms
memory: 22936kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #42:
score: 0
Accepted
time: 2ms
memory: 3636kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 0 0 2 2 0 1 0 0 2 0 0 1 2 0 2 0 2 1 2 2 2 0 2 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #43:
score: 0
Accepted
time: 2ms
memory: 3676kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 1 0 0 0 2 2 2 2 0 2 0 1 2 0 0 0 0 2 2 0 0 2 1 0 2 2 0 2 2 0 0 0 0 1 0 0 0 0 0 0 2 0 2 0 1 0 0 0 2 0 2 0 2 0 0 1 2 0 0 2 2 0 0 0 0 2 1 2 0 0 2 2 2 0 0 0 2 1 2 2 0 2 2 0 2 0 0 2 1 2 2 0 0 0 0 2 0 2 2 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #44:
score: 0
Accepted
time: 5ms
memory: 3988kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 200 1 2 0 0 0 0 0 2 0 0 2 2 2 2 2 0 2 0 2 2 0 2 2 2 2 2 0 2 2 2 2 0 0 2 0 2 0 2 0 2 0 2 0 2 2 2 2 0 0 2 2 2 0 0 2 0 2 2 2 2 2 2 0 0 0 0 2 0 0 2 0 0 2 0 2 2 2 0 2 2 2 0 2 0 2 0 0 0 2 2 0 0 0 2 0 2 2 0 2 0 0 0 2 0 2 2 2 0 2 2 2 0 0 0 2 0 2 2 2 2 0 2 2 0 2 2 2 0 2 2...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #45:
score: 0
Accepted
time: 71ms
memory: 10896kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 2 0 2 0 0 2 0 0 0 0 0 0 2 2 0 2 2 2 2 0 2 0 2 0 0 0 2 0 2 0 0 2 0 0 0 2 2 0 2 2 0 0 0 2 2 0 0 0 2 0 2 0 0 2 2 0 2 2 0 2 0 2 0 2 2 0 0 2 0 0 0 0 0 2 0 0 0 0 0 2 2 0 0 2 0 2 0 2 0 0 0 0 2 0 2 2 2 2 0 2 2 0 2 0 2 2 2 2 0 2 2 2 2 2 0 2 0 0 2 2 0 2 2 2 2 2 2 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #46:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 3 1 2 2 2 1 0 2 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #47:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 4 1 2 2 2 2 1 0 2 2 0 1 2 2 2 2 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #48:
score: 0
Accepted
time: 2ms
memory: 3584kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 2 2 2 0 2 1 2 2 0 2 2 1 2 0 2 2 2 1 0 0 0 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0
result:
ok
Test #49:
score: 0
Accepted
time: 45ms
memory: 8156kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 500 1 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #50:
score: 0
Accepted
time: 142ms
memory: 22924kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 0 0 0 2 0 0 2 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 2 0 0 0 2 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #51:
score: 0
Accepted
time: 159ms
memory: 22984kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #52:
score: 0
Accepted
time: 143ms
memory: 22792kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 2 0 2 2 0 2 0 0 2 2 0 2 0 0 2 0 0 2 2 0 2 0 2 0 2 0 0 0 0 2 2 2 2 0 2 0 2 0 2 2 2 2 0 0 2 2 0 2 0 2 0 0 0 2 0 0 0 2 0 0 2 2 0 2 0 0 2 0 0 2 2 2 2 0 2 2 0 0 0 0 0 0 2 0 0 2 0 0 0 0 2 2 2 2 0 2 2 0 0 2 0 0 0 0 0 2 0 0 0 0 2 0 0 2 0 2 0 0 0 0 0 0 0 0 2 2 0 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #53:
score: 0
Accepted
time: 58ms
memory: 15444kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #54:
score: 0
Accepted
time: 64ms
memory: 10976kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 0 0 0 0 0 0 0 0 0 2 0 2 0 2 0 0 0 0 0 0 0 0 2 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 0 0 2 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 2 0 0 0 0 0 0 0 2 0 0 2 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #55:
score: 0
Accepted
time: 141ms
memory: 22920kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 ...
result:
ok
Test #56:
score: 0
Accepted
time: 133ms
memory: 22980kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 2 0 2 0 0 0 2 0 0 0 0 0 2 2 0 2 0 2 2 0 0 0 0 2 2 2 2 2 2 2 0 0 2 2 0 0 2 0 2 2 0 0 0 2 2 0 0 0 2 0 0 2 0 2 0 0 0 0 0 0 0 2 2 0 2 2 2 0 0 0 0 0 2 0 2 0 2 2 0 0 2 2 0 2 0 0 2 2 0 2 2 0 2 2 0 0 2 2 2 0 0 2 2 0 0 2 0 0 0 0 2 2 0 2 0 2 0 2 0 2 2 2 0 0 2 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #57:
score: 0
Accepted
time: 56ms
memory: 15452kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Subtask #4:
score: 35
Accepted
Test #58:
score: 35
Accepted
time: 2ms
memory: 3612kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 3 1 0 0 0 1 0 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 0 0 0 0 0 0 0
result:
ok
Test #59:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 3 1 2 2 2 1 2 2 2 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 1 1 0 1 1 1 0
result:
ok
Test #60:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 0 0 0 0 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 0 0 0 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0
result:
ok
Test #61:
score: 0
Accepted
time: 43ms
memory: 8068kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 500 1 0 0 0 0 1 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 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 1 0 0 0 0 0 0 0 1...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 0 0 0 1 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 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 1 0 0 0 0 0 0 0 ...
result:
ok
Test #62:
score: 0
Accepted
time: 152ms
memory: 22956kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 1 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 1 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 1 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 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 1 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 1 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 1 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 ...
result:
ok
Test #63:
score: 0
Accepted
time: 146ms
memory: 22896kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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 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 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 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 ...
result:
ok
Test #64:
score: 0
Accepted
time: 142ms
memory: 22860kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 1 1 0 1 0 1 0 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 0 1 1 1 0 1 1 1 1 1 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 1 1 1 0 0 1 1 0 1 1 0 1 0 0 0 1 0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 0 1 1 1 0 1 1 0 0 0 1 1 1 0 0 0 1 1 0 0 1 0 1 1 1 1 0 0 1 1 1 1 1 0 0 1 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 0 0 1 1 0 1 0 1 0 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 0 1 1 1 0 1 1 1 1 1 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 1 1 1 0 0 1 1 0 1 1 0 1 0 0 0 1 0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 0 1 1 1 0 1 1 0 0 0 1 1 1 0 0 0 1 1 0 0 1 0 1 1 1 1 0 0 1 1 1 1 1 0 0 1 0 ...
result:
ok
Test #65:
score: 0
Accepted
time: 2ms
memory: 3696kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 2 2 2 0 2 1 2 2 0 2 2 1 2 0 2 2 2 1 0 0 0 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0
result:
ok
Test #66:
score: 0
Accepted
time: 37ms
memory: 8032kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 500 1 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #67:
score: 0
Accepted
time: 150ms
memory: 22988kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 0 0 0 2 0 0 2 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 2 0 0 0 2 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #68:
score: 0
Accepted
time: 158ms
memory: 22928kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #69:
score: 0
Accepted
time: 157ms
memory: 22984kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 2 0 2 2 0 2 0 0 2 2 0 2 0 0 2 0 0 2 2 0 2 0 2 0 2 0 0 0 0 2 2 2 2 0 2 0 2 0 2 2 2 2 0 0 2 2 0 2 0 2 0 0 0 2 0 0 0 2 0 0 2 2 0 2 0 0 2 0 0 2 2 2 2 0 2 2 0 0 0 0 0 0 2 0 0 2 0 0 0 0 2 2 2 2 0 2 2 0 0 2 0 0 0 0 0 2 0 0 0 0 2 0 0 2 0 2 0 0 0 0 0 0 0 0 2 2 0 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #70:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 2 2 2 0 2 1 2 2 0 2 2 1 2 0 2 2 2 1 0 0 0 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0
result:
ok
Test #71:
score: 0
Accepted
time: 2ms
memory: 3700kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 1 2 2 2 0 0 0 0 0 2 2 1 2 2 0 0 0 0 0 2 2 2 1 2 0 0 0 0 0 2 2 2 2 1 0 0 0 0 0 2 0 0 0 0 1 1 0 1 1 0 0 0 0 0 1 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 1 0 0 0 0 0 1 1 0 1 1 0 2 2 2 2 0 0 0 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 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 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0
result:
ok
Test #72:
score: 0
Accepted
time: 2ms
memory: 3632kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 1 2 0 0 1 2 0 0 0 0 2 1 0 0 2 2 0 0 0 0 0 0 1 2 0 0 0 2 0 0 0 0 2 1 0 0 0 2 0 0 1 2 0 0 1 2 0 0 0 0 2 2 0 0 2 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 2 2 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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 1 0
result:
ok
Test #73:
score: 0
Accepted
time: 32ms
memory: 8076kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 500 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 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 ...
result:
ok
Test #74:
score: 0
Accepted
time: 148ms
memory: 22860kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 0 0 0 2 0 0 2 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 2 0 0 0 2 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #75:
score: 0
Accepted
time: 128ms
memory: 22920kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 2 0 0 0 0 0 0 0 0 0 0 0 2 0 2 0 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 2 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #76:
score: 0
Accepted
time: 154ms
memory: 22812kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 2 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 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 ...
result:
ok
Test #77:
score: 0
Accepted
time: 142ms
memory: 22808kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 ...
result:
ok
Subtask #5:
score: 21
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Test #78:
score: 21
Accepted
time: 2ms
memory: 3616kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 0 0 1 0 0 1 0 0 2 0 0 1 2 2 1 0 2 1 2 0 2 2 2 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #79:
score: 0
Accepted
time: 2ms
memory: 3572kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 1 2 2 2 0 1 0 1 2 2 2 1 2 0 0 1 1 2 2 0 2 2 1 0 2 2 1 2 0 0 2 0 0 1 1 2 1 2 0 0 0 0 2 1 1 0 1 0 0 1 1 1 2 2 0 1 1 2 1 0 0 1 1 1 1 1 1 1 2 2 1 2 2 2 0 2 1 1 0 0 2 2 0 0 0 1 2 0 1 1 2 0 0 0 1 0 2 0 1 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #80:
score: 0
Accepted
time: 5ms
memory: 3992kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 200 1 1 1 2 0 0 1 1 1 2 1 1 0 2 1 2 1 1 2 1 0 0 2 1 2 2 2 0 0 1 2 2 1 1 0 1 2 2 1 2 2 0 0 2 0 2 0 0 0 2 1 0 0 2 0 0 0 2 2 2 0 1 0 1 0 2 0 1 1 1 1 0 1 0 1 1 0 2 2 0 2 0 0 0 1 0 2 1 2 1 0 0 0 0 0 2 1 2 0 1 0 0 0 0 1 1 2 2 0 2 2 0 0 1 2 2 1 0 0 1 1 1 1 0 0 0 0 2 2 0...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #81:
score: 0
Accepted
time: 65ms
memory: 10920kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 2 1 1 2 1 0 1 1 1 2 0 0 0 0 2 1 1 1 0 1 2 1 0 2 2 1 1 1 2 0 2 0 1 1 1 1 1 2 0 2 1 2 1 0 0 1 0 2 0 2 1 1 1 1 1 1 2 2 2 0 0 1 0 2 1 2 2 0 2 1 0 2 2 2 0 0 1 2 2 1 1 1 2 2 0 1 0 2 0 0 1 2 1 1 2 2 2 0 0 1 0 0 2 2 1 1 1 0 1 1 1 1 2 1 2 1 2 2 0 2 2 1 2 0 1 1 1 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #82:
score: 0
Accepted
time: 2ms
memory: 3616kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 0 2 2 2 0 1 0 0 0 2 0 1 2 2 2 0 2 1 2 2 0 2 2 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 1 0 1 0 0 0 0 0 1 0 0 1 0 0 0 1 0 1 1 0 0 1 0
result:
ok
Test #83:
score: 0
Accepted
time: 1ms
memory: 3696kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 1 1 0 0 0 0 1 0 1 1 1 1 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 2 2 0 2 0 0 0 0 0 2 1 2 0 2 0 0 0 0 0 2 2 1 0 2 0 0 1 1 0 0 0 0 1 0 1 1 0 0 0 2 2 2 0 1 0 0 1 1 0 0 0 0 1 0 1 1 1 1 0 0 0 0 1 0 1 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 1 0 0 0 0 1 0 1 1 1 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 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
result:
ok
Test #84:
score: 0
Accepted
time: 2ms
memory: 3632kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 1 0 2 0 0 0 2 0 0 0 0 1 0 0 2 0 0 0 0 2 2 0 1 0 0 0 2 0 0 0 0 0 0 1 0 1 0 1 0 0 0 2 0 0 1 0 0 0 0 2 0 0 0 1 0 1 0 1 0 0 2 0 2 0 0 0 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 2 0 0 2 0 0 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 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 1 0 0 1 0 0 0 0 0
result:
ok
Test #85:
score: 0
Accepted
time: 39ms
memory: 7984kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 500 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...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 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 ...
result:
ok
Test #86:
score: 0
Accepted
time: 62ms
memory: 10892kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 2 0 0 0 0 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 2 0 0 2 0 0 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #87:
score: 0
Accepted
time: 58ms
memory: 10976kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 2 0 0 0 0 0 0 0 2 0 0 0 2 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 2 0 2 0 2 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 2 0 2 0 0 0 0 2 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #88:
score: 0
Accepted
time: 67ms
memory: 11072kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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 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 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 1 0 0 0 0 0 0 0 0 0 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #89:
score: 0
Accepted
time: 64ms
memory: 15460kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Subtask #6:
score: 4
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Dependency #5:
100%
Accepted
Test #90:
score: 4
Accepted
time: 2ms
memory: 3612kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 1 3 3 3 1 1 1 0 2 3 1 1 1 3 3 0 1 1 3 3 2 3 3 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #91:
score: 0
Accepted
time: 2ms
memory: 3672kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 1 1 1 3 1 0 0 1 2 3 1 1 1 2 3 3 3 2 0 3 1 1 1 1 0 0 1 2 3 3 3 2 1 1 3 3 2 0 2 0 1 3 0 3 1 0 0 2 3 1 0 3 0 3 0 1 0 3 3 2 0 3 1 2 0 0 1 2 1 1 1 2 2 0 2 3 2 1 1 1 2 0 3 2 3 3 1 1 1 0 3 3 3 0 1 2 1 1 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #92:
score: 0
Accepted
time: 2ms
memory: 3908kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 200 1 2 2 3 0 3 1 1 3 1 1 3 2 0 2 0 3 3 0 2 1 1 2 2 2 1 0 3 1 2 2 3 1 3 2 0 3 3 1 3 0 2 3 1 0 2 1 0 3 2 1 2 3 2 2 2 3 0 3 0 1 0 0 1 1 1 1 0 3 1 0 1 0 0 2 1 2 1 2 0 3 2 1 1 1 0 0 1 0 1 0 0 1 0 0 2 0 0 1 2 3 0 1 2 1 3 0 1 0 1 2 3 2 0 2 0 3 0 3 0 1 3 3 3 1 1 3 2 0 0...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #93:
score: 0
Accepted
time: 69ms
memory: 11076kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 3 2 1 1 1 3 2 2 0 0 0 0 3 1 0 3 2 2 2 3 3 3 3 2 1 1 1 0 0 3 3 1 3 2 1 2 0 3 0 0 3 0 3 2 3 3 2 2 2 1 3 0 1 3 0 2 1 0 2 2 2 1 0 3 0 3 0 3 0 0 0 1 0 2 2 0 3 2 0 2 0 2 3 2 0 2 0 1 2 2 2 0 2 1 1 0 2 3 2 0 2 0 3 3 1 3 3 2 1 3 0 1 3 1 3 3 0 3 3 1 0 1 1 3 2 0 1 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #94:
score: 0
Accepted
time: 2ms
memory: 3592kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 5 1 3 2 2 0 3 1 2 2 0 2 2 1 2 0 2 2 2 1 0 0 0 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #95:
score: 0
Accepted
time: 2ms
memory: 3600kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 1 0 0 2 2 0 0 0 2 0 0 1 1 0 0 1 1 0 0 1 0 1 1 3 0 1 1 0 0 1 2 0 3 1 2 0 0 0 2 0 2 0 0 2 1 0 0 0 2 0 0 1 1 0 0 1 1 0 0 1 0 1 1 0 0 1 1 0 0 1 0 0 0 0 0 0 0 1 0 0 2 0 0 2 2 0 0 0 1 0 0 1 1 0 0 1 1 0 0 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #96:
score: 0
Accepted
time: 2ms
memory: 3636kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 10 1 0 0 2 2 0 2 0 0 0 0 1 0 0 0 0 0 0 2 2 0 0 1 0 0 0 0 1 0 0 2 0 0 1 2 0 2 0 0 0 2 0 0 2 1 0 2 0 0 0 0 0 0 0 0 1 0 0 0 3 2 0 0 2 2 0 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 2 0 0 0 0 0 0 1 2 0 2 0 0 0 3 0 0 2 1
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #97:
score: 0
Accepted
time: 18ms
memory: 5108kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 500 1 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #98:
score: 0
Accepted
time: 53ms
memory: 10976kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 2 0 0 0 2 0 0 0 0 0 0 2 0 0 0 0 2 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 2 0 0 2 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #99:
score: 0
Accepted
time: 52ms
memory: 10960kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 2 0 0 0 0 0 2 0 0 0 0 0 2 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 0 0 0 0 0 0 0 0 2 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #100:
score: 0
Accepted
time: 65ms
memory: 10976kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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 2 0 0 0 0 0 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #101:
score: 0
Accepted
time: 59ms
memory: 10932kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 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:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #102:
score: 0
Accepted
time: 70ms
memory: 10984kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #103:
score: 0
Accepted
time: 56ms
memory: 10976kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 2 3 2 3 2 3 3 3 3 3 2 2 3 3 2 2 2 2 3 3 2 3 2 3 2 2 3 3 3 3 3 3 2 3 3 2 2 3 3 2 2 2 3 3 2 3 2 3 3 3 3 2 2 3 3 2 3 2 2 3 2 3 3 3 3 2 2 2 2 2 2 2 3 2 3 2 3 2 3 3 3 2 2 2 2 3 2 3 2 2 2 3 2 3 2 2 3 3 3 3 2 2 3 3 2 2 3 2 2 2 3 3 3 3 3 2 2 3 3 3 2 3 2 2 2 3 2 2 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #104:
score: 0
Accepted
time: 55ms
memory: 11060kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 3 1 1 1 3 1 1 1 1 1 3 1 3 1 3 1 1 1 3 1 1 1 1 3 1 3 3 3 1 3 1 1 1 1 3 3 1 1 1 1 3 1 1 1 3 1 3 3 3 3 1 3 3 1 1 3 3 3 1 3 1 1 3 3 3 1 3 3 3 1 1 3 1 1 3 1 3 3 3 3 1 3 3 1 1 1 3 1 1 1 1 1 1 3 1 3 1 1 3 1 1 1 3 1 3 1 1 1 3 3 3 1 3 1 3 1 3 1 3 1 3 1 1 1 1 1 3 1 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Test #105:
score: 0
Accepted
time: 69ms
memory: 10960kb
input:
005602cc-10e6-44fc-b5bf-57ff77778fe1 1000 1 0 0 3 0 3 0 0 0 3 3 3 0 0 0 0 3 0 0 0 3 3 0 0 3 0 0 0 0 3 0 3 3 3 0 0 0 0 0 3 0 3 3 0 3 3 0 0 0 0 0 3 3 3 0 3 0 3 3 3 0 3 0 0 3 3 3 0 0 3 3 3 3 3 0 0 0 0 0 3 0 3 3 3 0 0 0 0 3 0 0 3 0 3 3 3 0 3 3 0 3 3 0 0 3 3 0 0 0 3 0 3 3 0 0 3 3 0 0 0 3 0 0 0 0 3 0 3 3 ...
output:
1f0934cc-cf56-429c-b010-8533ab3ded9e OK 0
result:
ok
Extra Test:
score: 0
Extra Test Passed