QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#535548 | #2167. QC QC | zhouhuanyi | AC ✓ | 77ms | 3852kb | C++14 | 2.4kb | 2024-08-28 09:51:12 | 2024-08-28 09:51:12 |
Judging History
answer
#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<random>
#include<algorithm>
#define N 100
using namespace std;
mt19937 RAND(random_device{}());
struct reads
{
int num,data;
};
reads st[N+1];
int T,n,cnt,leng,rt[N+1],sz[N+1],ans[N+1],tong[N+1],length,tong2[N+1],length2,nt[N+1],nt2[N+1];
char cs[N+1],cs2[N+1];
vector<int>p[N+1];
int find(int x)
{
if (rt[x]==x) return x;
return rt[x]=find(rt[x]);
}
void unionn(int x,int y)
{
sz[y]+=sz[x],rt[x]=y;
return;
}
bool cmp(reads x,reads y)
{
return x.data>y.data;
}
int main()
{
int a,b,c,srt;
cin>>T;
while (T--)
{
cin>>n,srt=0;
for (int i=1;i<=n;++i) rt[i]=i,sz[i]=1;
while (!srt)
{
for (int i=1;i<=n;++i) p[i].clear(),nt[i]=nt2[i]=0;
for (int i=1;i<=n;++i) p[find(i)].push_back(i);
while (1)
{
leng=0;
for (int i=1;i<=n;++i)
if (find(i)==i&&!p[i].empty())
st[++leng]=(reads){i,p[i].size()};
sort(st+1,st+leng+1,cmp);
if (leng>=3) a=st[1].num,b=st[2].num,c=st[3].num,nt[p[a].back()]=p[b].back(),nt[p[b].back()]=p[c].back(),nt[p[c].back()]=p[a].back(),p[a].pop_back(),p[b].pop_back(),p[c].pop_back();
else if (leng==2) a=st[1].num,b=st[2].num,nt[p[a].back()]=p[b].back(),nt[p[b].back()]=p[a].back(),p[a].pop_back(),p[b].pop_back();
else break;
}
for (int i=1;i<=n;++i)
if (nt[i])
nt2[nt[i]]=i;
cout<<"test"<<' ';
for (int i=1;i<=n;++i) cout<<nt[i]<<' ';
cout<<endl;
fflush(stdout);
for (int i=1;i<=n;++i) cin>>cs[i];
cout<<"test"<<' ';
for (int i=1;i<=n;++i) cout<<nt2[i]<<' ';
cout<<endl;
fflush(stdout);
for (int i=1;i<=n;++i) cin>>cs2[i];
for (int i=1;i<=n;++i)
if (nt[i]&&cs[i]=='1'&&cs2[nt[i]]=='1'&&find(i)!=find(nt[i]))
unionn(find(i),find(nt[i]));
for (int i=1;i<=n;++i)
if (find(i)==i&&(sz[i]<<1)>n)
{
srt=i;
break;
}
}
for (int i=1;i<=n;++i) nt[i]=0;
length=length2=0;
for (int i=1;i<=n;++i)
{
if (find(i)==find(srt)) ans[i]=1,tong[++length]=i;
else tong2[++length2]=i;
}
for (int i=1;i<=length2;++i) nt[tong[i]]=tong2[i];
cout<<"test"<<' ';
for (int i=1;i<=n;++i) cout<<nt[i]<<' ';
cout<<endl;
fflush(stdout);
for (int i=1;i<=n;++i) cin>>cs[i];
for (int i=1;i<=length2;++i) ans[tong2[i]]=(cs[tong[i]]=='1');
cout<<"answer"<<' ';
for (int i=1;i<=n;++i) cout<<ans[i];
cout<<endl;
fflush(stdout);
}
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3820kb
input:
1 5 01110 10010 11011 11001 0-0--
output:
test 2 3 1 5 4 test 3 1 2 5 4 test 5 4 2 3 1 test 5 3 4 2 1 test 2 0 4 0 0 answer 10101
result:
ok correct
Test #2:
score: 0
Accepted
time: 1ms
memory: 3780kb
input:
2 4 111- 111- 1--- 7 000111- 001111- 010-001 101-010 -0-00--
output:
test 2 3 1 0 test 3 1 2 0 test 4 0 0 0 answer 1111 test 2 3 1 5 6 4 0 test 3 1 2 6 4 5 0 test 2 6 7 0 3 1 5 test 6 1 5 0 7 2 3 test 0 1 0 3 7 0 0 answer 0101110
result:
ok correct
Test #3:
score: 0
Accepted
time: 6ms
memory: 3524kb
input:
500 3 110 101 -0- 3 011 110 0-- 3 100 010 0-- 4 111- 111- 0--- 4 111- 111- 0--- 4 010- 001- 0-01 0-10 -0-- 5 11001 10101 10011 10101 -00-- 5 11100 11100 00--- 5 11111 11111 00--- 5 11110 11110 01--- 5 01111 11011 11110 11011 0---- 5 00111 10011 10110 10011 0---- 6 110101 101011 111001 100111 -00--- ...
output:
test 2 3 1 test 3 1 2 test 0 1 0 answer 011 test 2 3 1 test 3 1 2 test 2 0 0 answer 101 test 2 3 1 test 3 1 2 test 3 0 0 answer 110 test 2 3 1 0 test 3 1 2 0 test 4 0 0 0 answer 1110 test 2 3 1 0 test 3 1 2 0 test 4 0 0 0 answer 1110 test 2 3 1 0 test 3 1 2 0 test 4 0 1 3 test 3 0 ...
result:
ok correct
Test #4:
score: 0
Accepted
time: 14ms
memory: 3620kb
input:
500 27 100001111110110111111111111 010100111111110011111111111 010101111010110111111111111 110001011111110101111111111 00-1-11011-1---111--------- 27 111111111111101111111111110 111111111111101111111111101 111111111111011111111111101 111111111111011111111111110 00------------------------- 27 1111111...
output:
test 2 3 1 5 6 4 8 9 7 21 23 15 25 27 16 12 18 19 17 10 20 11 22 13 24 14 26 test 3 1 2 6 4 5 9 7 8 20 22 16 24 26 12 15 19 17 18 21 10 23 11 25 13 27 14 test 3 6 4 1 7 8 12 2 19 15 13 5 14 11 17 18 10 20 21 16 9 24 25 26 27 22 23 test 4 8 1 3 12 2 5 6 21 17 14 7 11 13 10 20 15 16 9 18 19 26 27 2...
result:
ok correct
Test #5:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
1 1 - - -
output:
test 0 test 0 test 0 answer 1
result:
ok correct
Test #6:
score: 0
Accepted
time: 5ms
memory: 3596kb
input:
500 38 10111111111110110111100101101110111111 01111111110011111111010100011101011100 01111111010010011101111100111011101111 10101101110111011101011011011011111110 00-00000-00--------------------------- 38 11111110000101111011110001011111110000 11111101000101000111110010101111110101 11100100001101010...
output:
test 2 3 1 5 6 4 8 10 26 7 28 32 16 34 36 18 38 13 20 29 22 30 24 23 9 25 11 27 19 21 12 31 14 33 15 35 17 37 test 3 1 2 6 4 5 10 7 25 8 27 31 18 33 35 13 37 16 29 19 30 21 24 23 26 9 28 11 20 22 32 12 34 14 36 15 38 17 test 3 25 4 1 18 36 14 33 7 6 26 31 23 9 34 32 13 29 30 22 12 28 17 15 38 27 1...
result:
ok correct
Test #7:
score: 0
Accepted
time: 1ms
memory: 3780kb
input:
3 2 11 11 -- 3 111 111 --- 3 011 110 0--
output:
test 2 1 test 2 1 test 0 0 answer 11 test 2 3 1 test 3 1 2 test 0 0 0 answer 111 test 2 3 1 test 3 1 2 test 2 0 0 answer 101
result:
ok correct
Test #8:
score: 0
Accepted
time: 27ms
memory: 3824kb
input:
500 46 111101111111111011111110111111-011111111011111 111011111111111111111101111111-101111111101101 11101101101-1111111111111111110001111111111111 01111101111-0111111111110111111101111111111110 00000-0--------------------------------------- 46 111110010111010110101111111111-111111111011111 11110110...
output:
test 2 3 1 5 6 4 8 9 7 33 14 40 42 17 44 46 11 29 28 21 38 27 24 35 26 36 37 39 30 18 0 10 32 12 23 25 22 20 19 34 13 41 15 43 16 45 test 3 1 2 6 4 5 9 7 8 32 17 34 41 11 43 45 14 30 39 38 20 37 35 23 36 25 22 19 18 29 0 33 10 40 24 26 27 21 28 12 42 13 44 15 46 16 test 4 38 9 6 2 1 10 42 44 13 23...
result:
ok correct
Test #9:
score: 0
Accepted
time: 23ms
memory: 3556kb
input:
500 53 11111111111110111100111111110110110000110111011101111 11111111010111111110011111101111110101010111011001111 00100011111011111110001100111110011101100111111101011 11100001110011111110011111101010110100110011011111110 000---0000000---------------------------------------- 53 11101111101111111111...
output:
test 2 3 1 5 6 4 8 10 36 7 38 47 16 49 51 18 53 13 20 39 32 23 44 31 26 40 30 29 41 42 43 45 34 33 9 35 11 37 19 25 28 27 24 22 21 12 46 14 48 15 50 17 52 test 3 1 2 6 4 5 10 7 35 8 37 46 18 48 50 13 52 16 39 19 45 44 22 43 40 25 42 41 28 27 24 21 34 33 36 9 38 11 20 26 29 30 31 23 32 47 12 49 14 5...
result:
ok correct
Test #10:
score: 0
Accepted
time: 29ms
memory: 3820kb
input:
500 59 00111111011011111100111001111111111111111110101111111111011 11011111111111011111111110111111011111001101111101101111111 01111111111110011111101110101111101111111111111111110111111 11101111110110110110011101011011111101111111111111110111111 0-0000000--------------------------------------------...
output:
test 2 3 1 5 6 4 8 10 40 7 42 53 16 55 57 18 59 13 20 43 36 23 50 35 26 44 34 29 47 33 32 45 46 48 49 51 38 37 9 39 11 41 19 25 31 30 28 27 24 22 21 12 52 14 54 15 56 17 58 test 3 1 2 6 4 5 10 7 39 8 41 52 18 54 56 13 58 16 43 19 51 50 22 49 44 25 48 47 28 46 45 31 30 27 24 21 38 37 40 9 42 11 20 2...
result:
ok correct
Test #11:
score: 0
Accepted
time: 33ms
memory: 3624kb
input:
500 65 01011110111011010010111011100101101110100011100101101111101011110 10011101111111100100011110101111010111100101111010110101100100101 01011101101010010100011100110011010111111111101101010111101111100 10001111101000011111101100110010011111101111111011001111100011100 01000000100101011101001100110...
output:
test 2 3 1 5 6 4 8 10 43 7 45 59 16 61 63 18 65 13 20 46 38 23 56 37 26 47 36 29 53 35 32 50 34 51 52 54 55 57 40 39 49 9 42 11 44 19 25 41 48 31 33 30 28 27 24 22 21 12 58 14 60 15 62 17 64 test 3 1 2 6 4 5 10 7 42 8 44 58 18 60 62 13 64 16 46 19 57 56 22 55 47 25 54 53 28 52 50 31 51 33 30 27 24 ...
result:
ok correct
Test #12:
score: 0
Accepted
time: 27ms
memory: 3600kb
input:
500 70 1111110100010110010000010111111101011111111-01010111010011100101101110 1111110011011011110100000111111010111000111-10011110010011111011001100 1111111000110001010001001011-11011001000101100011000011011100001011011 1111111110010110101110011000-10000010001111010010011010001101011010000 -------00...
output:
test 2 3 1 5 6 4 8 9 7 47 14 64 66 17 68 70 11 41 40 21 62 39 24 49 38 27 59 37 30 54 36 33 56 35 55 57 58 60 61 63 43 51 18 0 53 10 46 12 23 42 50 45 52 29 34 32 31 28 26 25 22 20 19 48 13 65 15 67 16 69 test 3 1 2 6 4 5 9 7 8 46 17 48 65 11 67 69 14 43 63 62 20 61 49 23 60 59 26 58 54 29 57 56 32...
result:
ok correct
Test #13:
score: 0
Accepted
time: 38ms
memory: 3828kb
input:
500 75 101101100100011101100101110111000011110111111101001001110011110101001001000 011011000110001001000001011110110100101111101011000011011000011110010001110 011110101000000101101001101011011100100011111011001000101011101111011101100 11101100110010100000111111010011110010101110100110101011100111111...
output:
test 2 3 1 5 6 4 8 9 7 48 69 15 71 73 17 75 12 19 68 39 22 50 38 25 65 37 28 51 36 31 62 35 34 60 61 63 64 66 67 41 43 59 40 58 10 57 56 45 11 21 27 42 44 46 47 55 54 53 52 33 32 30 29 26 24 23 20 18 49 13 70 14 72 16 74 test 3 1 2 6 4 5 9 7 8 45 49 17 70 72 12 74 15 68 18 67 50 21 66 65 24 64 51 2...
result:
ok correct
Test #14:
score: 0
Accepted
time: 21ms
memory: 3604kb
input:
500 79 0111111111011011101111101001100111110110111-11111001011101010111110101110101111 1101111111000111010111011010011111110011110-10111011101110101111101011110111111 0111111111010011100011110110111010101011011111111010011101-11111111111100111111 11101101101111110011101100000011111000111010111110111...
output:
test 2 3 1 5 6 4 8 9 7 49 14 73 75 17 77 79 11 41 40 21 71 39 24 52 38 27 68 37 30 63 36 33 65 35 64 66 67 69 70 72 43 54 18 0 62 61 10 60 47 59 12 23 42 53 45 46 48 50 58 57 56 55 29 34 32 31 28 26 25 22 20 19 51 13 74 15 76 16 78 test 3 1 2 6 4 5 9 7 8 47 17 51 74 11 76 78 14 43 72 71 20 70 52 23...
result:
ok correct
Test #15:
score: 0
Accepted
time: 39ms
memory: 3568kb
input:
500 83 11111101101100111011100001100111111111111111110101010110011100000111111101111010011 11111100111100001111110000110111111101111111011111101110100001000111110110111100111 11111111001111111111101011110011011111111111111101100110011101011111111111111110011 11111111101111101111111010110011111111111...
output:
test 2 3 1 5 6 4 8 10 44 7 48 77 16 79 81 18 83 13 20 50 38 23 74 37 26 53 36 29 71 35 32 68 34 69 70 72 73 75 40 39 67 9 66 42 57 11 65 46 64 19 63 62 25 41 43 45 56 47 49 51 52 61 60 59 58 55 54 31 33 30 28 27 24 22 21 12 76 14 78 15 80 17 82 test 3 1 2 6 4 5 10 7 42 8 46 76 18 78 80 13 82 16 50 ...
result:
ok correct
Test #16:
score: 0
Accepted
time: 33ms
memory: 3772kb
input:
500 87 001011101111111011110111110101011111110111101111101010111111111111111001111111011111111 100110011111111111111011110110111111110110101111111010110111011111111111110111111111101 011111010110101110110111111111101110111110111001110111100111111111111011101111011111111 10100101111110101011110111101...
output:
test 2 3 1 5 6 4 8 9 7 48 81 15 83 85 17 87 12 19 80 39 22 52 38 25 77 37 28 54 36 31 74 35 34 72 73 75 76 78 79 41 43 71 40 70 10 69 60 45 11 68 67 21 66 27 65 42 44 46 47 59 50 51 53 55 64 63 62 61 58 57 56 33 32 30 29 26 24 23 20 18 49 13 82 14 84 16 86 test 3 1 2 6 4 5 9 7 8 45 49 17 82 84 12 8...
result:
ok correct
Test #17:
score: 0
Accepted
time: 44ms
memory: 3628kb
input:
500 91 1111000011011111111111010111110101111111111-11100111111101010110101101001100011011111111110 1110010100111110011111111101101001011111111-11101110011011110111110101001011101101111111111 0111110010011010110110101100111100111111111000011111111111011110101-11101111011111111111101 11110001010011101...
output:
test 2 3 1 5 6 4 8 9 7 49 14 85 87 17 89 91 11 41 40 21 83 39 24 53 38 27 80 37 30 75 36 33 77 35 76 78 79 81 82 84 43 58 18 0 74 73 10 72 47 63 12 71 23 70 42 69 68 55 45 46 48 50 62 52 54 56 57 67 66 65 64 61 60 59 29 34 32 31 28 26 25 22 20 19 51 13 86 15 88 16 90 test 3 1 2 6 4 5 9 7 8 47 17 51...
result:
ok correct
Test #18:
score: 0
Accepted
time: 50ms
memory: 3544kb
input:
500 95 01010011011001111010001011111101010010000100100010111110100101110010000111110000001000110111111 00101011110101101101100011011000001100001010001110101010000010110111101001110001101011000111111 00111001111100001100000100001000111110001100010100100100000111100010010100100111100100100000011 10001...
output:
test 2 3 1 5 6 4 8 10 44 7 48 89 16 91 93 18 95 13 20 50 38 23 86 37 26 53 36 29 83 35 32 80 34 81 82 84 85 87 40 39 79 9 78 42 61 11 77 46 76 19 75 66 25 41 74 73 43 72 45 71 59 47 49 51 52 65 55 56 58 60 70 69 68 67 64 63 62 57 54 31 33 30 28 27 24 22 21 12 88 14 90 15 92 17 94 test 3 1 2 6 4 5 1...
result:
ok correct
Test #19:
score: 0
Accepted
time: 63ms
memory: 3560kb
input:
500 98 11111101111111110111111001101111111111010110111111101111111111101111011000100101111011111011001110 11111111001110111111011111111111101110011111111101110000111010111011111111101101101110101111111101 11111111111100111111111010011001111110100001011111111110111110111101011101111111101111111111111...
output:
test 2 3 1 5 6 4 8 10 44 7 48 92 16 94 96 18 98 13 20 50 38 23 89 37 26 53 36 29 86 35 32 83 34 84 85 87 88 90 40 39 82 9 81 42 61 11 80 46 79 19 78 67 25 41 77 76 43 75 45 72 59 74 47 49 51 52 66 55 56 58 60 71 62 73 70 69 68 65 64 63 57 54 31 33 30 28 27 24 22 21 12 91 14 93 15 95 17 97 test 3 1 ...
result:
ok correct
Test #20:
score: 0
Accepted
time: 65ms
memory: 3644kb
input:
500 99 111111111110110110001001111101100001111011010110000011111110100010000001011000100111110110010001111 111111111001010101000101111101111000100001110001010001010100100101001001101111001110011111101011111 111011000010010011111011111100000010100001100101110111011010000110100111010100101110111111001...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #21:
score: 0
Accepted
time: 61ms
memory: 3556kb
input:
500 100 0101000101011110010110111010101001010100111-00101010110110100001100001100011100101000111011111000010 0010100011010001111111111001011100110100101-10111110100011000100001001111100011000000010110101010100 00011100101000100101010000000001000001001010100011011001110111101101-100000110000110010110...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #22:
score: 0
Accepted
time: 65ms
memory: 3576kb
input:
500 100 1010100111111001110000101001100100111101000-00100011101110001100010101000011000010001101111110011111 0111001100001111101010011011001011101111001-00111110100001001010001011101000001001010101010001100111 0101110010001100110111011000110110001101100000101010001-0101001011100010011100111000100101...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #23:
score: 0
Accepted
time: 76ms
memory: 3620kb
input:
500 99 111011111000000010010010100010011101001101000001111010110110001100110110111001111000010110111001010 111110111110001000110001100010101000101000100110011010010000110111111010010111000111101001101000101 111001011110111000010000000100011100001010111010110000000011001100101110111101110111101110110...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #24:
score: 0
Accepted
time: 47ms
memory: 3852kb
input:
500 99 110010001010010000001100010111111101000101010001111101111111110111100011000000111100011000010001011 101100010100000100101100001111101001000000110110111100010100000011010111101101111111111100001001100 101011000011001000100100110110100001000101011111111101001101100011100010101101111111011000001...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #25:
score: 0
Accepted
time: 72ms
memory: 3808kb
input:
500 99 000110011001111100111101111000111000000000010100111100100111001111001110101011101100010100101000101 000101110011010111001101000001100000101000010110001111101101100111010010010110111101100110101101010 000111001100001010101100100111000101111001100000110100101111001001001110110100111101110010101...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #26:
score: 0
Accepted
time: 56ms
memory: 3668kb
input:
500 99 101010100110011110000011110101011100111010011000110010110001110010010100100101110100111101110011100 011100011000111000110011011000101011111100011001111010000110000010110001110010011011110111001001110 010111011010000011101100001010100110110010011001000110111000100010110010011101111101101111101...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #27:
score: 0
Accepted
time: 57ms
memory: 3620kb
input:
500 99 000101011011011010101111010110110011110011111110100000000010011001111011001110100101110010000101001 000011110001001111001010111011110110000110010001101000111111101100001010101101100000101011001011100 000011111101000010010000111101100011010001100100111010110010011101111011011111010100111001011...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #28:
score: 0
Accepted
time: 70ms
memory: 3624kb
input:
500 99 001011101100010001011101110110000011111001000110100011010010011000100111100011011011100011001110111 010110011010100100011011111110010110010001001100010110011001001100100010111111000010001110111011001 001011110101100010001101110100010001000000100110111101010100001110110101010101001010101111111...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #29:
score: 0
Accepted
time: 66ms
memory: 3572kb
input:
500 99 110101010001001010101001010110000101100001110111101111000011001001010011100101110111011111100101000 101011100101001011000100111110101101111011010000011110010111001101001010011100101000001110001010100 111010000110001010100111100100010001100001010011100011000111000101100111110110101111011100111...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #30:
score: 0
Accepted
time: 54ms
memory: 3552kb
input:
500 99 101011100011101001010111000101111101101101110011001000110001010010011101010100000010101101011110110 011110001111110010111000011011000011110011100000000000110111011001011000101010011011110011110110001 011101100000001000100101100010011110010011101011000010111100100000011001011101011011111111101...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #31:
score: 0
Accepted
time: 54ms
memory: 3616kb
input:
500 99 110100111001001111111101011011100001101001101000100111001110111011010110010110110101000000011100000 101001111011001011111100010111000100000011010001010101011010010100101111100110110100011110110010010 101001111110100011101100110110110000100101101100101101000101100010000110010110111111011100110...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #32:
score: 0
Accepted
time: 69ms
memory: 3608kb
input:
500 99 111100001011010001000100101100111101001100110001111101111011001010110010010100001101000010011011110 111001011111110010111101101111001100000010110100100001000110011111011110000101011011100000011001101 011111000000100011100111000100010110111111000010100111011101000011100011000111010111010010011...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #33:
score: 0
Accepted
time: 66ms
memory: 3804kb
input:
500 99 111110100110110100101010001001011101100110000001101001100101011101101110010011111110100000000100111 111101001100010101000000010110001010000101111110111111101000010101010000100111101101110001001111011 011111100010000100110100000110011010010111000001100100000111011001111100111001110101111000101...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #34:
score: 0
Accepted
time: 61ms
memory: 3632kb
input:
500 99 101011000001010101011010001110101110100011111110100111100111000111010101000101100100111100001010110 011110000010110010000100011101111011100110010011001111010111001000111010001010110101001001111001011 011101001101001010100101101110100011111000111110100101000100100101001001100111001101110110101...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #35:
score: 0
Accepted
time: 46ms
memory: 3572kb
input:
500 99 110011000001110101101010010101110000111101110101101010100101110000111100001101111000101000111111010 101010000110100011110010011001000011001010100100011110110111100001111001100011001100110101011110111 111010000011000011110110110100000010100010010111101100010101011000111100001111111101010001110...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #36:
score: 0
Accepted
time: 61ms
memory: 3624kb
input:
500 99 110000110011101010101000011100111000111010010010011001001000010001011000101101111011111011111111110 101000101011111011110010111101100101011101000100111111100110101011001100111000100001100100000110101 101000001011001010010110011100110100100001011000000011100111011011110011111000111010110111111...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #37:
score: 0
Accepted
time: 48ms
memory: 3624kb
input:
500 99 001101101010010101101100101011000010011011011110111110111010001101011100011010010010011101000101011 010011011000000101011111000000110001110101001011110101111101111111111110000010100010011000011111111 001011111000101110001101001100111001001001001111001100111101111100111100001010111010010010111...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #38:
score: 0
Accepted
time: 57ms
memory: 3852kb
input:
500 99 010010100001010101101110000111010010111110000010010000111110111110111110011011100111110100001100010 100100001010000011011010011000110110100101110010001110101000111110011111100111010110111001010011011 010010100101010010001000100001111110111100100101011110111100011100111111011111111000100100010...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #39:
score: 0
Accepted
time: 77ms
memory: 3548kb
input:
500 99 111110011011100101010000100101100111010011011001110001001000110011111010111000110011110101001011011 111100110110100110000011001111111110110100000001111000110100110010001101110101110000010000111100111 011111011000110001001001010010010001010000011101101101011111101011011000111000110111110011001...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #40:
score: 0
Accepted
time: 58ms
memory: 3576kb
input:
500 99 101100100011110111010111111001100101001110100001000111110100101101011100100110010111000001011011011 011001001110101110111101000111001100010111110010110001101010000100111001010010100110010111110101111 010100100110011100101100011101100111110011111000010100010101001001011001010100011111000110111...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #41:
score: 0
Accepted
time: 43ms
memory: 3628kb
input:
500 99 000010110010011101111111011000101111001101001010000010100111100011111111110101000011100111111000110 000100101011010001111000100011011110111001100001100111110010011010111011011111111101000111110001001 000010111011101010101000111010011101111100001001000101101110001000111110111101001011110100111...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #42:
score: 0
Accepted
time: 69ms
memory: 3644kb
input:
500 99 110110011111011011101100101001001011001100011101001101001000000110011101011011011101010111000001010 101101110111001011011101100110110100110000111111110111101101110001001100001010010001010100010001101 101011011001101011000101100111100111000101011111001111101011001111110101010010101101000100010...
output:
test 2 3 1 5 6 4 8 9 7 48 93 15 95 97 17 99 12 19 92 39 22 52 38 25 89 37 28 54 36 31 86 35 34 84 85 87 88 90 91 41 43 83 40 82 10 81 64 45 11 80 79 21 78 27 69 42 77 44 76 46 75 74 47 63 50 51 53 55 68 57 59 61 62 73 72 71 70 67 66 65 60 58 56 33 32 30 29 26 24 23 20 18 49 13 94 14 96 16 98 test 3...
result:
ok correct
Test #43:
score: 0
Accepted
time: 51ms
memory: 3852kb
input:
500 100 0111111000001001010001000110011010101100110-01110001100100101110000001110110101011111110101110000110 1101110010000010010010011111110111110011001-11011000011010010111001010101110100001100010101000100011 01111110000110001001010001100100001101101011011100001-010011110000000111011100101101111110...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #44:
score: 0
Accepted
time: 60ms
memory: 3620kb
input:
500 100 1000100111011111100010100011001011000011100-01000110011110011111110110100100101010011011010100000011 0011001100100111011111000100110100111100000-00110110110011010100110111011110011011001011000001101011 1000100011000101001101110010001000111100110100110010-0001110110111010010001111111101010001...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #45:
score: 0
Accepted
time: 76ms
memory: 3636kb
input:
500 100 1110111011001100011000000101001110011011110-00100111110111010001011001001111001100101110000010001101 1111100110100011011001010001001110110001010-10101101011000001010101111110011000110000111100011100100 1110110101100100101100000110000110010111101000011000001001-0011011110110111111110010011110...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #46:
score: 0
Accepted
time: 49ms
memory: 3624kb
input:
500 100 1100100011011001000011001010101001110110110-10101001110101101001101000111110011101100001111000001001 1011000101000001010101011110001001001110010-11101011011110110010011110001011100110111010011000100110 101111000101000001001101111010100001111001110010110010-01110001100101001110101111010101011...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #47:
score: 0
Accepted
time: 73ms
memory: 3632kb
input:
500 100 0010001010111101000101011111101011001100001-00101100100101110001011110011110011101000110011101011111 0100000011111011100010111001000110010110110-01001111010100000010100010010011111110111011111100100111 001000101011010011011000111010110001011100000010011011-01110000011111100100111100010110111...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #48:
score: 0
Accepted
time: 66ms
memory: 3836kb
input:
500 100 1001101000111111111001000111011011000010101-11100110000101100011100011101010011010011110010000001010 0011010010100100110001000100110110110100111-00011010010110100110110010100101010010101011101011101111 1001010011000100101101111011001010111000111000110100100101-0000101011110011011010111111011...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #49:
score: 0
Accepted
time: 67ms
memory: 3548kb
input:
500 100 0110111100100100011110010010001011101011110-10101101100011000111001001101000111000000011010111110010 1101101011111000111111110101000101011101011-00001000011110110000101001100101000111001010001110010001 011101101001100110101000011100011111000100100111111110100101-01100011110100000010011100100...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #50:
score: 0
Accepted
time: 67ms
memory: 3620kb
input:
500 100 0010011010100010110011100111010011101001100-01111101010110000000100111101110110100001111011111010110 0100100111011110111110000101100111111101001-00001001100110010111111111100011011000001001101000001001 001001011100111110010010000101100011100111101011000110-00100000111101111110111110101110110...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #51:
score: 0
Accepted
time: 72ms
memory: 3644kb
input:
500 100 0101011100010011011000110101110110110100010-11100011100111110010101101111011011000010000110011001110 1000111010010010000000111010111101000100011-00001010111110101110011011110101101100110101100011001110 0100111110100000001101011010011001011011001011110010100011-0010010110111111011111011100001...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #52:
score: 0
Accepted
time: 57ms
memory: 3504kb
input:
500 100 1010001101101100111110111000100010101111000-11011101110011000001010010000100111111010100110111001000 0110001011110100101111111011010111000101011-01110101110100110101101101010010010010010000010110100100 0101000010111100101010110011011100010101001111001001111010-1000111101001001010111101011101...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #53:
score: 0
Accepted
time: 63ms
memory: 3504kb
input:
500 100 1110110101010010000110010001111011111000011-00001110110000101100111001111101001101100100111001101100 1111101001010010000100110011101111000110100-11100111001010001000110100101011100101111011000101011100 111011010011000000111000000100000100010010110110101011100-10110011100100101110110011111110...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #54:
score: 0
Accepted
time: 68ms
memory: 3804kb
input:
500 100 1000011111001001000111011010100101101100111-00100001000010011001001100010110111111111001101011100011 0010101110010001010100101111010001101011100-11111001011100010010001001111010101110011100011100110011 100001011101001000001110111011010110011001100000101010000-11000110110011110111010010101111...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #55:
score: 0
Accepted
time: 52ms
memory: 3800kb
input:
500 100 1001011110100101111101001011011011101000111-00001000011010001001111101011000010101101010111111100110 0010111111110110110010000111100101110101101-11000101001101000000010101101001101110001011011110010011 10001111100101001110100001011010011111011010001011110000011000-010101011110101110101111111...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #56:
score: 0
Accepted
time: 57ms
memory: 3548kb
input:
500 100 0111110111111100101010110010010010000110001-10010110101010010110011001011011111110110100110110110010 0101111100101100100111111110110110000101100-10110111110101011011100001110101100101100000000011110001 011111011000111010101011001100000110101100010000001010-01110111011110011101110100011011011...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #57:
score: 0
Accepted
time: 68ms
memory: 3772kb
input:
500 100 1010101011100100010110101110101011010111110-01010100101010011111000001110001110101011010010101101110 0111000110110010111111011100011100110100001-01100101101110011101100001111100100011011010110100010101 01011101000010001000111100011100111101001010011101011111000011-110011111010111011110001011...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #58:
score: 0
Accepted
time: 49ms
memory: 3552kb
input:
500 100 1111100001010010011010101010110001000011100-00111011101001001111010000011111100011000011010111111111 1111010001011011011111010100100000011101011-01111110100001011011001000001111100011011000010011011101 01111100011000100011000100001100000001110110011110110011010-110100100001111100101111010010...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #59:
score: 0
Accepted
time: 60ms
memory: 3608kb
input:
500 100 0111111111000100000101011001010101001110101-01110110101101000001100011010111101110100010110101100110 1101111110110010010011111010100000010100110-11111001010001011111110010100010110010001101011101010001 0111110110110011100010011100010001000100111000011111111110001-0111110111111101001000011101...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #60:
score: 0
Accepted
time: 49ms
memory: 3568kb
input:
500 100 1111011100101000000100001110000011101010111-10100010111100100111110011011111111011001110010010001111 1110111000000011110001010101000101110101100-01011100011101111010010110100111110011101000110101100101 11101111001110000101010010000100001001011010001111001-011101111111001101111001100011111011...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #61:
score: 0
Accepted
time: 67ms
memory: 3544kb
input:
500 100 0000111111100100101111111011101001101110100-01101010011110101100001011011000101000110011101011000000 0001101111110100110101101111010001011011000-10101000110001010100100111101001110101111011011111000000 0000111110000110100001010011010001111111001111111011100000100110001-1011101111110100101111...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #62:
score: 0
Accepted
time: 70ms
memory: 3804kb
input:
500 100 0110110110101100000111100110011011110111111-10010111000110101010011010100111011110101010000101001001 1101101100110001111111001100101101110001100-10010101111110101011101011001110010100101010001101100100 011111001010111110001010011001000011100010101101101011110011-11101111010011111111110101000...
output:
test 2 3 1 5 6 4 8 9 7 49 14 94 96 17 98 100 11 41 40 21 92 39 24 53 38 27 89 37 30 84 36 33 86 35 85 87 88 90 91 93 43 58 18 0 83 82 10 81 47 66 12 80 23 79 42 78 71 55 45 77 76 46 75 48 50 65 52 54 56 57 70 60 61 63 74 73 72 69 68 67 64 62 59 29 34 32 31 28 26 25 22 20 19 51 13 95 15 97 16 99 tes...
result:
ok correct
Test #63:
score: 0
Accepted
time: 10ms
memory: 3600kb
input:
339 85 1001111110001010010001110011111110110001111-11110101111100111111010010110110000000001 0101111111100000011000111110111111011010111-00010100111100111111111111111000000010110 00011101100001001101101101110111101010101111110-1000101110111011011110110000010001111 11001101101000101001001101001001111...
output:
test 2 3 1 5 6 4 8 9 7 49 14 79 81 17 83 85 11 41 40 21 77 39 24 53 38 27 74 37 30 69 36 33 71 35 70 72 73 75 76 78 43 56 18 0 68 67 10 66 47 61 12 65 23 64 42 55 45 46 48 50 60 52 54 63 62 59 58 57 29 34 32 31 28 26 25 22 20 19 51 13 80 15 82 16 84 test 3 1 2 6 4 5 9 7 8 47 17 51 80 11 82 84 14 43...
result:
ok correct