QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#402034 | #6509. Not Another Range Query Problem | AFewSuns | AC ✓ | 201ms | 61564kb | C++17 | 3.0kb | 2024-04-29 19:32:16 | 2024-04-29 19:32:16 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
namespace my_std{
#define ll int
#define bl bool
ll my_pow(ll a,ll b,ll mod){
ll res=1;
if(!b) return 1;
while(b){
if(b&1) res=(res*a)%mod;
a=(a*a)%mod;
b>>=1;
}
return res;
}
ll qpow(ll a,ll b){
ll res=1;
if(!b) return 1;
while(b){
if(b&1) res*=a;
a*=a;
b>>=1;
}
return res;
}
#define db double
#define pf printf
#define pc putchar
#define fr(i,x,y) for(register ll i=(x);i<=(y);i++)
#define pfr(i,x,y) for(register ll i=(x);i>=(y);i--)
#define go(u) for(ll i=head[u];i;i=e[i].nxt)
#define enter pc('\n')
#define space pc(' ')
#define fir first
#define sec second
#define MP make_pair
#define il inline
#define inf 8e18
#define random(x) rand()*rand()%(x)
#define inv(a,mod) my_pow((a),(mod-2),(mod))
il ll read(){
ll sum=0,f=1;
char ch=0;
while(!isdigit(ch)){
if(ch=='-') f=-1;
ch=getchar();
}
while(isdigit(ch)){
sum=sum*10+(ch^48);
ch=getchar();
}
return sum*f;
}
il void write(ll x){
if(x<0){
x=-x;
pc('-');
}
if(x>9) write(x/10);
pc(x%10+'0');
}
il void writeln(ll x){
write(x);
enter;
}
il void writesp(ll x){
write(x);
space;
}
}
using namespace my_std;
vector<ll> vec[500050],V[500050];
pair<ll,ll> st[2][500050];
ll t,n,q,a[500050],top[2],tree[500050],ans[500050];
char s[500050];
struct node{
ll l,r,k;
}p[500050];
il ll lowbit(ll x){
return x&(-x);
}
il void mdf(ll x,ll v){
while(x<=n){
tree[x]+=v;
x+=lowbit(x);
}
}
il ll query(ll x){
ll res=0;
while(x){
res+=tree[x];
x-=lowbit(x);
}
return res;
}
il void ins(bl o,ll v){
if(!top[o]) st[o][++top[o]]=MP(v,v);
else if(v<(st[o][top[o]].fir-1)) st[o][++top[o]]=MP(v,v);
else if(v==(st[o][top[o]].fir-1)) st[o][top[o]].fir=v;
else if(v==(st[o][top[o]].sec+1)){
st[o][top[o]].sec=v;
if(top[o]>1&&st[o][top[o]].sec==(st[o][top[o]-1].fir-1)){
st[o][top[o]-1].fir=st[o][top[o]].fir;
top[o]--;
}
}
}
il ll del(bl o){
ll res=st[o][top[o]].fir;
st[o][top[o]].fir++;
if(st[o][top[o]].fir>st[o][top[o]].sec) top[o]--;
return res;
}
int main(){
n=read();
q=read();
scanf("%s",s+1);
fr(i,1,n) a[i]=(s[i]=='1');
fr(i,1,q){
p[i].l=read();
p[i].r=read();
p[i].k=min(n,read());
vec[p[i].k].push_back(i);
}
top[0]=top[1]=1;
st[0][1]=st[1][1]=MP(1,n+1);
fr(i,1,n){
ll pos=del(a[i]);
ins(a[i]^1,pos);
V[pos].push_back(i);
}
pfr(i,n,0){
fr(j,0,(ll)vec[i].size()-1) ans[vec[i][j]]+=query(p[vec[i][j]].r);
fr(j,0,(ll)V[i].size()-1) mdf(V[i][j],1);
}
fr(i,0,n) V[i].clear();
fr(i,1,n) tree[i]=0;
top[0]=top[1]=1;
st[0][1]=st[1][1]=MP(1,n+1);
pfr(i,n,1){
ll pos=del(a[i]);
ins(a[i]^1,pos);
V[pos].push_back(i);
}
pfr(i,n,0){
fr(j,0,(ll)vec[i].size()-1) ans[vec[i][j]]-=query(p[vec[i][j]].l-1);
fr(j,0,(ll)V[i].size()-1) mdf(V[i][j],1);
}
fr(i,0,n) V[i].clear();
fr(i,1,n) tree[i]=0;
fr(i,1,q) writeln(max(0,ans[i]));
}
这程序好像有点Bug,我给组数据试试?
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 5ms
memory: 35328kb
input:
9 7 100110001 2 5 1 3 6 1 4 8 2 2 7 1 1 9 1 1 9 0 1 9 8
output:
2 1 1 3 4 9 0
result:
ok 7 numbers
Test #2:
score: 0
Accepted
time: 10ms
memory: 39548kb
input:
100 100000 0000011010101000111011110110000111110101101010111111101011011010111001111010111000001000011000001010 76 99 3 25 84 7 45 83 11 10 12 10 69 86 4 27 28 1 22 42 42 4 86 25 26 91 22 20 81 17 50 78 0 77 93 50 31 50 34 7 46 13 78 89 0 79 98 0 2 84 33 58 93 11 56 75 2 55 77 68 7 9 41 44 46 11 47 ...
output:
8 13 4 0 3 0 0 0 0 4 29 0 0 0 12 20 0 0 5 0 0 0 0 0 0 0 0 10 18 1 0 57 0 0 11 0 3 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 19 0 0 0 12 5 0 0 2 0 0 0 0 10 12 0 0 0 5 0 8 0 1 16 0 19 29 40 21 12 26 0 21 6 0 10 18 0 3 0 2 5 0 0 5 0 0 0 51 0 0 0 18 11 0 20 5 9 10 0 16 22 0 20 0 26 0 0 0 0 0 0 11 46 59 2 9 43 1...
result:
ok 100000 numbers
Test #3:
score: 0
Accepted
time: 23ms
memory: 42696kb
input:
100000 100000 0000000000000100001000000010000000010100000100000000000000100000010000000000000000000001100010000000100000000000000000000000000000000000010000000000001000000100000010000000000000000000000100001010000000000000100000101000001000010000000110000000001001100001001000001000000000000000000000...
output:
22471 25961 5992 28726 71306 32974 19300 27865 4043 18931 20250 10170 0 6468 23117 30898 0 35198 39326 23429 1392 1912 5358 0 0 37098 20809 19360 36450 38461 58630 10729 7118 1080 1791 16314 15830 33873 11823 37496 47846 12635 3677 27787 0 50176 38497 13639 34736 14197 28295 25390 0 12080 0 17512 15...
result:
ok 100000 numbers
Test #4:
score: 0
Accepted
time: 114ms
memory: 58512kb
input:
500000 500000 1111110111111110000111111111011111111111111100011111111111111011111111111011111111111111111101111011111110111111111111111111111111101111111111111111111110111101111111111111111111111101011111101101111011111111111011011111111111111111111101110111110111011111111111111111111011111011111111...
output:
65113 79195 78497 27073 110743 0 98954 37617 115803 62102 294531 59323 103115 375574 213640 247596 76421 5472 268412 222972 0 191535 218096 208961 0 244488 90040 206328 0 316633 0 1144 79985 102387 123718 0 54278 265635 161129 242470 221342 165350 187996 24797 0 63688 113984 0 335223 209103 163243 1...
result:
ok 500000 numbers
Test #5:
score: 0
Accepted
time: 93ms
memory: 49556kb
input:
499995 450000 1111110011110100111111000011100001001000111111101001010111011100011101001110100110010011100111011001101000110010000110111111011011110010110100110011010100011010100111001100110000011010010011001001010010101101000100111011111011101110110101000101011011101110000111101110000000011111101101...
output:
0 9425 0 64593 883 9595 271421 8042 177892 0 0 0 0 0 9577 1239 1120 512 0 1108 0 1937 0 2087 13932 12365 0 0 2962 0 0 0 11630 40102 202178 42955 43163 3718 28589 45857 0 0 3499 70041 0 0 0 573 0 0 876 70136 0 0 147 475 0 784 0 4216 99776 0 0 0 0 30679 29871 25750 25204 58 443 0 594 0 0 72123 22 0 32...
result:
ok 450000 numbers
Test #6:
score: 0
Accepted
time: 111ms
memory: 50152kb
input:
487654 499999 0101010010110100100100001001100101001001000101100010000001000010001010000011101100011000000001000011010110010001001000000000010110011010100010001011001000101000000001001001100101101010001001100010001001000101001000000000111011111001100011100111010000000010100100010100000110100000101000...
output:
0 15932 61894 0 50238 0 0 0 43138 0 20624 24675 4117 0 1645 0 10406 39732 44955 59109 1768 19447 22324 42794 28030 11966 24651 24703 26485 69084 0 0 52568 10877 24059 12128 32317 0 38342 55182 0 37591 49814 3503 11886 0 29806 6142 41071 1148 258242 39911 54349 0 1451 47631 63365 29883 52049 28530 47...
result:
ok 499999 numbers
Test #7:
score: 0
Accepted
time: 64ms
memory: 45040kb
input:
54321 500000 10101000101100010101111000011010101111101011111110110101110111000100111100111010100111010011010111101101111100101011101100001001110101111010000011010011111000100010101010110111011100111011001010011001101011111100001010111100011110001100011001010011111011110100100100001111000110111001000...
output:
0 0 0 0 0 0 0 39485 277 281 12471 0 0 0 2194 1004 0 0 5865 410 2008 0 0 0 1206 0 0 18 52 26 29 0 0 42581 0 4351 0 11701 0 6904 1713 1097 1241 0 0 0 887 809 0 0 728 0 0 0 169 0 0 0 0 0 10950 0 0 833 26 0 778 0 0 0 0 229 4685 520 0 1061 0 0 87 0 123 10094 0 0 0 0 0 726 438 1376 0 2166 0 0 0 1428 0 0 0...
result:
ok 500000 numbers
Test #8:
score: 0
Accepted
time: 117ms
memory: 55696kb
input:
499999 499999 1011111101110101110111101111111110111111111111110101101111111110111010111111111101111111110110111011110010111110001110110111101011111111111111111111101111100010110111111101011110111011000110011110011101111010111111111011111011011010100111111111111010101111101111111100011010011110111011...
output:
35972 50716 126004 92774 7516 0 3322 104978 177545 6729 111792 65267 122024 270941 6878 121060 142561 134697 71619 20055 26237 186508 124909 93059 132116 180341 93982 189726 76092 116938 160272 0 52819 8972 0 111022 197908 128934 200240 16266 121229 153685 95656 60452 173216 211731 77232 0 242730 14...
result:
ok 499999 numbers
Test #9:
score: 0
Accepted
time: 145ms
memory: 54020kb
input:
500000 500000 0010111100110110000001110110101011001110011111001101001110011111001010100100100111001101100101110111101101100111001000010011010000111100011011100100001101101000011100001110001101100111011011110010011001100110011110011001110000100100110001110110100110010010011111110100111101011001011101...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 1200 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #10:
score: 0
Accepted
time: 143ms
memory: 50680kb
input:
500000 500000 0110000000011001110000001000110011111111000001000111011000001111111011111001111011111000111000101110000001001110001110011100111000110001110011101011100011001101111000111000011100000100011011100001110010001110100111011000100111011000111001110110001110100100011011100010010001001100010111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #11:
score: 0
Accepted
time: 131ms
memory: 52252kb
input:
500000 500000 0000111101000011100011111100110001100010011100011110110011110010011000000110110000111000111100111100110111100001100001111101100011110001100111100111000011111110000100111100001100011100111100011100100000101101011110000111000111101100111101110000001000011100100111111000111001110001110000...
output:
0 0 0 0 0 0 0 0 706 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #12:
score: 0
Accepted
time: 130ms
memory: 51244kb
input:
500000 500000 1111111100111111101111111100000000111111100000000111111011000000000111111110001111101000001111111101111000000001111110000011111111000000111110000011111111100000011111110001111101111110000000111111111111111100000000111000000111100000011110000000011110110000111110001110000000011100000011...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1159 0 0 0 0 0 0 0 0 0 114 0 3017 0 0 0 0 0 0 0 0 0 0 0 0 0 544 0 0 0 0 0 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 500000 numbers
Test #13:
score: 0
Accepted
time: 108ms
memory: 48744kb
input:
500000 500000 0000111000000111111111111111100000000000100000000000001111111000000000000111111111100000000000011111111100000000000000111100000111111111111100000001111111100000000000000111111111100000000001000111111111000000000000000000000111111111100000111110000000011111111111111000000000000000110001...
output:
0 24 0 0 0 0 0 0 1839 0 0 0 0 0 0 0 0 0 0 0 0 0 0 493 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 712 0 0 0 0 0 0 0 0 58 0 1657 0 0 0 0 0 0 0 108 1361 93 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 274 0 0 0 0 0 0 0 0 0 0 0 0 26 0 0 0 1088 0 0 0 0 0 0 0 7191 0 0 0 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #14:
score: 0
Accepted
time: 106ms
memory: 48452kb
input:
500000 500000 0001111111111111111111110000111111111110000000000001111111111111111111000000000000111111111111111111110000000000000001111110000000000000000001111111111111111111111111100000000000000000011111111111111110000000000000000000000000000011000000000000000000000000000000111111111111111111100000...
output:
0 0 0 0 0 299 0 0 0 0 0 0 0 5169 0 0 0 0 0 3529 0 0 0 0 0 0 104964 0 3015 107 0 0 0 0 0 0 0 0 0 96 664 0 0 0 0 0 0 0 0 0 1010 0 0 3947 1334 0 0 0 0 0 0 0 0 0 0 0 1 0 270 0 302 265 0 0 0 763 0 0 0 0 0 4152 0 0 0 730 0 0 0 0 135 0 0 0 80 0 962 0 115 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1701 0 0...
result:
ok 500000 numbers
Test #15:
score: 0
Accepted
time: 108ms
memory: 48300kb
input:
500000 500000 0000000000000000000000000001111111111111111111111111111111111111111000000000000000000000000000111111111100000000000000000000000000000000001111111111110000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111100000000000000000111111111111111111111111111...
output:
1135 0 1321 0 0 598 0 3647 2102 0 5815 2486 1605 0 0 1701 0 22 0 0 722 0 0 0 0 0 0 420 698 0 30 599 0 14 0 2335 1981 40605 0 230 147 0 0 796 0 0 988 1565 0 1367 530 0 0 0 1057 933 321 0 1238 0 0 0 0 0 0 0 420 0 817 0 0 1353 312 58363 0 0 79 1544 1267 1339 1102 0 2310 2611 0 0 0 0 482 7159 2068 0 0 2...
result:
ok 500000 numbers
Test #16:
score: 0
Accepted
time: 91ms
memory: 48332kb
input:
500000 500000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000011111111111111111111111111111111111111...
output:
1578 497 8739 20574 7968 1793 23766 18048 23442 3536 10110 4144 6409 6071 2859 2541 3478 9853 1966 8011 62324 1081 25407 1087 14694 6017 6330 5073 9865 5763 7724 2457 5594 16601 5323 3659 28490 1853 6124 3627 2208 4187 1110 575 5533 2552 2433 17611 8228 3632 2007 1494 14764 686 3146 2876 10097 26847...
result:
ok 500000 numbers
Test #17:
score: 0
Accepted
time: 104ms
memory: 50800kb
input:
500000 500000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111...
output:
31118 17778 45825 162219 27209 3137 78430 18654 32233 29128 22576 36616 67092 32589 50077 146919 41379 176519 23365 25618 47512 7908 196072 88859 26585 36517 26307 33125 27460 30447 12082 25305 27715 35022 45930 66602 16161 31083 43271 130515 10045 95691 120779 33472 72375 25952 24464 23039 48806 64...
result:
ok 500000 numbers
Test #18:
score: 0
Accepted
time: 89ms
memory: 48724kb
input:
500000 500000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
output:
233847 35017 32673 232828 252117 85658 61720 66022 172620 229662 142043 5852 123285 314350 90197 47772 228752 178887 183872 164470 32490 62336 40890 99363 161364 48328 103662 310906 167245 31752 37990 294768 246459 271508 108735 85765 212995 158159 197540 122890 170842 212936 30983 15895 49973 25090...
result:
ok 500000 numbers
Test #19:
score: 0
Accepted
time: 98ms
memory: 49156kb
input:
500000 500000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
output:
45863 185066 255109 191334 21128 377707 253744 124430 325336 97160 15273 203757 20720 380662 220187 32762 59981 220229 305170 78575 203752 181081 66499 377617 27932 121024 386589 392657 67381 309087 361798 61395 66956 299323 151034 71363 33799 365451 58545 141774 26259 38276 170667 217070 262328 116...
result:
ok 500000 numbers
Test #20:
score: 0
Accepted
time: 95ms
memory: 48524kb
input:
500000 500000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
output:
144989 96300 90649 68265 129278 116180 191771 201996 342866 1682 197186 309878 41565 28796 118292 252878 168288 96516 104362 23061 134110 20932 206787 265990 424672 119978 80145 128118 69583 35354 333046 109340 19722 150360 34233 37536 169435 32110 335784 208000 92710 259717 367119 78274 350321 1098...
result:
ok 500000 numbers
Test #21:
score: 0
Accepted
time: 97ms
memory: 51076kb
input:
500000 500000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
output:
204567 139481 355511 90463 222947 62687 189638 282832 124702 12815 184639 454167 25556 60526 112198 171208 60816 77511 373490 52533 466071 34763 107312 107002 182074 279465 17191 122893 101013 6773 181868 218126 294138 144597 109546 217858 21601 80687 362172 208554 47693 34011 118957 211573 40205 20...
result:
ok 500000 numbers
Test #22:
score: 0
Accepted
time: 184ms
memory: 60092kb
input:
500000 500000 0011110011111111110111101111111111111111111111111110000001000000000011000010111111111111111111111111111111111111111111111111111111111111111111111111111100000001000000000010000000000000000000000000000000001000000000000000001111101111111111111111111111111111111111111111111111111111111111...
output:
0 52224 263455 85015 0 0 180717 74460 0 0 91225 0 0 0 0 44840 0 0 25992 0 136744 0 0 0 0 234583 0 0 0 0 0 0 119479 0 0 45555 0 0 0 0 123294 0 0 109518 0 0 0 0 0 0 0 60067 205674 196855 0 0 0 0 0 0 0 41061 0 274250 7261 0 0 0 0 67533 0 181085 0 138905 0 26725 0 0 0 172422 118041 0 104670 0 0 98279 94...
result:
ok 500000 numbers
Test #23:
score: 0
Accepted
time: 201ms
memory: 61564kb
input:
500000 500000 0111111111111111101111101111111111111111111111111111011110100000000000111110111111111111111111111111111111111111111111111111111111111111111111111111111100111110111111111010000001111111111111111111111111100000000000000000010000001111111111111111111111111111111111111111111111111111111111...
output:
75131 0 0 0 0 0 0 0 0 0 0 0 0 0 0 17231 0 0 0 0 0 0 23496 0 0 0 0 0 7362 0 44275 0 0 58222 0 0 0 0 0 0 46397 0 30378 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36174 0 21782 0 0 88573 0 0 186824 0 0 0 0 0 85232 0 0 0 0 0 0 0 0 0 0 46462 59398 0 0 0 0 0 116653 0 0 0 38444 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1...
result:
ok 500000 numbers
Test #24:
score: 0
Accepted
time: 149ms
memory: 56872kb
input:
500000 500000 0111110011111111101000000111111111111111111111111111000000111111111100111100000000000000000000000000000000000000000000000000000000000000000000000000000000000011000000000101111000000000000000000000000000011000011000000000101111110000000000000000000000000000000000000000000000000000000000...
output:
204614 405612 263336 310409 285799 257259 356738 251744 342285 278535 281918 266070 21236 272500 99734 220757 0 3803 185503 249139 334265 285886 349160 249156 43691 14322 120268 286683 296739 309370 360148 316609 266433 342392 286760 221701 335250 314744 265350 353615 290310 273087 165254 233536 159...
result:
ok 500000 numbers
Test #25:
score: 0
Accepted
time: 148ms
memory: 56820kb
input:
500000 500000 1111110111111111110000010000000000000000000000000000000000000000000001111101000000000000000000000000000000000000000000000000000000000000000000000000000010000011111111111101111011111111111111111111111111100000010000000000111111101111111111111111111111111111111111111111111111111111111111...
output:
50790 30341 282160 238923 80982 74345 116709 40614 193058 70806 310579 2660 80164 132811 387390 218228 76454 135368 0 59172 198136 112976 0 95792 141856 46101 3548 160074 122612 66804 153235 19197 45789 1716 202693 87215 0 38633 61925 271952 246980 33584 185698 145559 165322 15284 12762 231272 44147...
result:
ok 500000 numbers
Test #26:
score: 0
Accepted
time: 89ms
memory: 48608kb
input:
499500 500000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111...
output:
281213 127170 353975 405055 312094 101975 318283 144077 362454 219220 124837 331783 135171 196755 106856 164835 101919 170292 99969 401208 472333 176384 354128 205631 311555 266497 308589 400497 450927 161817 387664 271868 132174 237411 399027 113567 293651 131113 310205 274021 101592 110497 414352 ...
result:
ok 500000 numbers
Test #27:
score: 0
Accepted
time: 100ms
memory: 48852kb
input:
499500 500000 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111...
output:
57015 6218 39637 1492 35321 45299 360383 7679 211216 9404 21621 289831 268285 3117 13880 30975 6752 44758 1556 4228 5240 34801 3720 18750 3584 47791 27146 1693 3067 300590 488540 13250 20055 56837 19560 11153 8669 13485 9920 56977 4428 53074 5626 1527 30335 2163 11755 7400 283192 5408 1968 5560 1223...
result:
ok 500000 numbers
Test #28:
score: 0
Accepted
time: 85ms
memory: 48056kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 480092 494980 470345 465572 469421 476244 483050 473335 471325 472282 478224 474317 478168 481150 475282 474267 467464 494988 494940 467466 468464 496918 483053 481120 464573 478142 476241 496912 483118 495929 488041 497878 492009 478210 477232 484088 475213 480123 480112 468406 478223 488956 4742...
result:
ok 500000 numbers
Test #29:
score: 0
Accepted
time: 82ms
memory: 48736kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 434247 497895 461646 444515 468406 494909 489017 443578 432352 441761 413997 483053 436096 429558 490954 457850 413979 454032 413965 491990 474321 414839 457899 442689 480147 409407 471381 454968 480159 485041 399551 455922 430500 495903 436985 435200 495937 399489 423108 473297 431391 399465 4013...
result:
ok 500000 numbers
Test #30:
score: 0
Accepted
time: 78ms
memory: 48620kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 461663 382721 380953 347684 388841 331947 496922 479154 415783 344269 442639 426784 336919 444497 466469 331962 424000 440743 479203 368854 494997 448378 436096 375744 470435 493936 350153 350110 443565 393316 480101 413914 486004 331187 451178 374814 435159 484076 445454 443647 309575 319078 4121...
result:
ok 500000 numbers
Test #31:
score: 0
Accepted
time: 86ms
memory: 48680kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 377445 226297 384456 499888 230953 391468 432340 397764 224282 304057 309509 240661 396788 272911 477202 484063 287087 309541 264789 448303 496957 290885 435211 411179 286376 275138 348482 309566 357767 374906 489963 279542 267702 323856 383567 439828 465557 311074 278129 481148 281048 482119 3915...
result:
ok 500000 numbers
Test #32:
score: 0
Accepted
time: 85ms
memory: 47876kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 246925 261867 138075 187071 117855 152660 479145 180370 497897 141778 180903 259044 423106 165608 275110 261864 140715 291672 150426 430472 127765 237109 362859 162735 388838 384495 149897 484058 243354 465571 269163 226919 200064 256864 385306 180379 440826 216227 410282 315027 162165 328718 3688...
result:
ok 500000 numbers
Test #33:
score: 0
Accepted
time: 72ms
memory: 50740kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 91378 158822 292491 166176 309485 58996 108345 419437 315842 429577 441672 300153 169071 157131 230942 42778 284092 233671 264057 498981 114960 81003 48828 435137 196929 370547 51040 85078 44551 174962 485991 101025 169675 264854 77815 261892 438882 287902 42778 137550 340201 389755 67161 260420 4...
result:
ok 500000 numbers
Test #34:
score: 0
Accepted
time: 83ms
memory: 49356kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 233682 130816 220199 220868 228966 97903 54615 42486 27261 134940 424070 407636 13861 304040 26565 328733 374875 11026 351840 268502 40186 10731 231621 472323 382650 207767 387074 201357 43956 277288 220886 490015 41616 438013 75078 38503 387128 32385 293209 113050 7140 11628 325499 60031 37128 21...
result:
ok 500000 numbers
Test #35:
score: 0
Accepted
time: 93ms
memory: 48112kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 58311 266235 96580 300 122760 289387 161539 148240 49141 476244 439848 78606 249008 83845 496913 172066 128271 2556 361138 5995 28441 13203 196944 111156 61776 21945 235133 154290 115440 97903 378309 436053 132870 202634 56280 252564 432332 94395 413991 15 0 492919 384427 304089 0 2556 339372 3906...
result:
ok 500000 numbers
Test #36:
score: 0
Accepted
time: 90ms
memory: 50788kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 480141 167918 109746 59685 459749 31375 369725 4465 453110 3916 341778 200140 0 290155 0 149331 398632 0 0 0 40186 394179 5778 0 157080 85905 223541 72390 452138 0 110685 0 350196 278131 0 0 325491 0 309542 0 76636 9045 257608 355168 19503 361131 0 0 322285 121278 2556 320631 0 0 0 0 0 71631 2415 ...
result:
ok 500000 numbers
Test #37:
score: 0
Accepted
time: 91ms
memory: 49288kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 62835 162763 20301 40470 0 0 180319 291667 0 0 121278 112101 0 0 93961 362797 223550 210 0 0 0 0 75078 32640 0 439883 0 300143 300139 151525 0 336887 0 106030 0 437984 110685 214977 98790 101475 473328 387968 0 405799 28680 259055 11781 45150 0 0 903 0 0 0 168536 0 327096 0 112101 166820 0 39060 0...
result:
ok 500000 numbers
Test #38:
score: 0
Accepted
time: 101ms
memory: 50696kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 143411 0 345149 0 0 0 77028 0 0 279624 0 0 0 0 410333 0 0 143916 0 128271 0 0 0 0 0 0 0 151022 326290 0 214915 0 285644 149331 20503 46056 194492 0 68635 0 0 40470 0 0 0 231 103285 471342 338507 0 0 0 0 0 0 0 0 0 0 77028 0 0 23653 0 0 0 10731 0 0 0 8778 45150 450207 0 0 89253 0 325459 46971 17020 ...
result:
ok 500000 numbers
Test #39:
score: 0
Accepted
time: 93ms
memory: 49412kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 465 0 0 306387 356028 0 0 0 0 0 0 10585 0 152656 0 0 20503 233076 0 0 0 0 0 0 24976 33670 0 0 0 313446 0 0 0 161046 0 0 0 321443 1891 0 125250 379227 0 0 0 0 0 990 0 0 0 444504 0 0 0 0 0 0 0 0 0 0 0 0 0 377457 0 0 281032 463598 0 0 478152 235818 0 0 0 436125 0 0 0 78 0 0 0 0 0 33411 0 1470...
result:
ok 500000 numbers
Test #40:
score: 0
Accepted
time: 85ms
memory: 48776kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 179711 0 0 0 0 0 2775 127765 0 0 146070 0 0 0 0 0 0 28 14196 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6105 0 0 0 298589 60726 17020 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 84255 0 0 148822 0 0 150426 0 0 0 38503 0 0 0 0 0 0 237851 0 0 0 0 0 0 80601 0 0 29161 0 0 0 0 73920 0 0 0 0 0 0 0 0 0 0 0 245496 0 0 0 300...
result:
ok 500000 numbers
Test #41:
score: 0
Accepted
time: 93ms
memory: 49396kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 216221 0 0 0 0 0 0 0 0 0 0 203261 0 0 0 39060 0 0 0 0 0 235741 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 378310 192598 0 234402 0 426794 0 0 0 0 0 0 0 0 0 0 0 47586 0 0 96580 321448 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 142311 0 0 0 215574 0 0 0 0 0 0 0 0 106491 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #42:
score: 0
Accepted
time: 90ms
memory: 50988kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 630 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 40755 0 0 0 0 0 0 0 0 272142 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 424008 0 0 226260 0 0 0 0 0 0 175583 0 0 0 0 0 42195 0 0 0 0 0 0 0 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 500000 numbers
Test #43:
score: 0
Accepted
time: 90ms
memory: 49400kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 93961 0 0 0 0 0 0 0 0 0 0 0 9453 0 0 0 0 0 0 0 0 385322 0 4656 0 0 361075 0 0 336078 0 0 0 0 0 0 0 0 0 172665 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36315 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 261157 0 0 0 0 0 0 171991 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #44:
score: 0
Accepted
time: 93ms
memory: 49244kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 278094 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 21 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12561 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 267690 347656 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 143916 0...
result:
ok 500000 numbers
Test #45:
score: 0
Accepted
time: 97ms
memory: 49584kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 116886 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 40186 0 0 0 0 0 120295 0 0 0 0 0 0 0 0 0 55945 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1891 0 0 0 0 0 0 0 13912...
result:
ok 500000 numbers
Test #46:
score: 0
Accepted
time: 99ms
memory: 49476kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 153181 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 104653 0 0 0 0 0 0 0 87990 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 258992 6565 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #47:
score: 0
Accepted
time: 159ms
memory: 55728kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #48:
score: 0
Accepted
time: 82ms
memory: 50072kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 460610 461956 499856 15848 482186 494512 489019 471366 467320 455256 494454 467339 497181 480869 451249 467325 468671 466001 497164 474092 461986 455269 471366 489019 498537 480862 466001 480862 474118 480834 490385 466001 487693 491766 460610 494456 460627 489053 498515 495826 489020 482186 49449...
result:
ok 500000 numbers
Test #49:
score: 0
Accepted
time: 82ms
memory: 48816kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 476797 377947 445920 483553 381646 478126 387851 448586 365747 415747 410603 472715 365747 482233 395363 399146 413171 448594 427438 376718 373043 405491 175008 448581 404218 424826 402947 401678 474110 426131 371822 362126 441941 447252 415747 360923 389098 415747 472764 494459 431371 486260 4849...
result:
ok 500000 numbers
Test #50:
score: 0
Accepted
time: 98ms
memory: 48916kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 409322 371822 292403 250723 467347 427438 256771 370603 380411 323483 257786 422222 451261 480849 424826 464662 470054 478116 321211 316691 308858 336122 397883 448594 415747 285947 315566 455274 264947 282746 486260 326906 360923 368171 308858 257786 471391 256771 426131 369386 167687 368171 4944...
result:
ok 500000 numbers
Test #51:
score: 0
Accepted
time: 93ms
memory: 48592kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 455254 430058 125038 168643 379178 143363 422222 380411 215947 331498 195971 373043 447262 170291 439290 413171 426131 489025 155747 302222 483543 166186 147178 369386 364538 254747 135883 167822 227251 199531 475464 262891 410603 437966 402947 158923 162131 130766 227251 255758 445925 242771 1388...
result:
ok 500000 numbers
Test #52:
score: 0
Accepted
time: 86ms
memory: 48024kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 127171 51808 87931 154171 340778 284878 441944 390347 272206 74263 173611 113291 53179 264947 451260 444601 73720 375491 475445 39483 104051 499914 330347 219683 147178 237866 36000 92138 415747 120131 151822 72103 171947 216878 83822 455269 381646 108622 48679 57879 96443 114643 343118 269083 451...
result:
ok 500000 numbers
Test #53:
score: 0
Accepted
time: 83ms
memory: 50656kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 192443 414458 22480 35623 12823 955 217811 277451 122923 374266 74263 13048 482242 494477 156538 80585 119438 135146 426131 448586 371822 82091 302222 453920 89722 102763 107963 215018 241786 3760 147947 276398 46504 270122 100846 54568 14203 381646 19048 132947 36760 90323 138851 460631 1648 3303...
result:
ok 500000 numbers
Test #54:
score: 0
Accepted
time: 97ms
memory: 51488kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 144122 218746 329198 55504 1723 132947 26523 227 302222 5179 262891 274298 147 6679 227 197 149491 200 26848 260 246 321211 568 202222 288 64288 43433 113966 3643 201 106651 274 97691 6055 79246 128 241 75904 360 176122 137 17440 419626 252731 38695 679 444591 424826 1303 431371 406766 436643 9831...
result:
ok 500000 numbers
Test #55:
score: 0
Accepted
time: 81ms
memory: 48024kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 222 95 47803 281683 0 168 122923 8 48 203 277451 106 125747 181198 20160 2779 427438 141 93358 285947 120826 64 89123 137 109946 6363 0 448586 121523 4635 0 30555 428747 36000 145646 415747 27 40680 350186 68400 59 162 118747 80378 14203 181198 157 175283 0 32679 2779 66328 22779 165371 238 10 317...
result:
ok 500000 numbers
Test #56:
score: 0
Accepted
time: 87ms
memory: 48636kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 144 28168 60795 21015 10888 9495 87795 15655 0 81 3 72103 3570 64795 10480 0 354938 0 395363 0 114 264947 13968 66328 0 0 1120 134 241786 83 37528 0 74 0 330347 125038 417038 74263 16 210 114643 354938 215947 69 0 0 46504 0 0 42715 1008 288 1303 489016 0 73179 467325 0 0 0 0 7335 97066 251 67879 0...
result:
ok 500000 numbers
Test #57:
score: 0
Accepted
time: 94ms
memory: 49332kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 374266 297838 0 33075 0 89123 0 432686 0 471366 125747 5 0 0 39088 0 2583 11095 0 107 0 0 55504 0 55975 0 14644 4768 65815 222 0 0 0 21304 254 5755 53640 397883 262891 0 0 143 198638 235 1648 254 181198 260843 268046 0 0 0 94 0 0 0 0 0 0 127886 137363 0 86 0 264947 0 0 246731 0 263 370603 ...
result:
ok 500000 numbers
Test #58:
score: 0
Accepted
time: 86ms
memory: 48672kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 408043 0 0 435322 122923 0 0 232 0 30904 20 51355 0 0 0 0 0 0 0 431371 0 0 0 0 0 308858 249 0 55035 0 0 339611 62280 0 28503 0 0 312203 0 0 0 0 0 0 0 0 0 417038 0 0 256771 0 0 480868 401678 0 167822 4903 340778 0 426131 0 441941 0 128 0 0 89722 0 81518 16155 223451 158126 720 137 0 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #59:
score: 0
Accepted
time: 91ms
memory: 49372kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 208 0 0 0 0 0 0 0 0 278 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0 65 0 0 0 85 288091 318947 0 568 0 0 0 0 45648 340778 6208 0 0 0 0 0 0 0 0 0 0 25560 0 0 113892 0 0 0 0 72640 0 0 0 0 106 0 0 242771 0 118 334963 0 0 461969 0 0 0 415747 0 189 0 0 0 0 0 0 0 25879 0 0 182906 256 0 0 0 129322 58360 337...
result:
ok 500000 numbers
Test #60:
score: 0
Accepted
time: 96ms
memory: 48808kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 57 0 0 0 3643 0 0 0 0 0 0 0 241 359722 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 268046 0 128 0 373043 0 0 0 0 0 139 0 0 0 0 0 0 42715 0 0 0 0 0 0 358523 0 0 0 0 0 0 0 0 0 171947 0 6615 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 32679 0 0 132218 0 0 0 0 0 0 0 0 904 0 0 0 0 0 0 7003 0 0 50 256771 269 0 0 ...
result:
ok 500000 numbers
Test #61:
score: 0
Accepted
time: 91ms
memory: 49300kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 105347 0 102763 0 0 0 201323 0 0 0 0 0 0 0 0 0 0 267011 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6208 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 341947 0 0 0 110611 0 0 0 0 38304 0 0 0 452591 0 0 0 0 0 0 0 7504 0 0 0 0 0 0 0 0 0 0 195 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 55504...
result:
ok 500000 numbers
Test #62:
score: 0
Accepted
time: 83ms
memory: 50980kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 409322 0 0 0 0 0 0 0 0 150266 0 0 0 0 0 0 0 0 0 0 0 203 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 118058 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 475416 0 0 325763 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 39483 0 0 0 0 223451 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #63:
score: 0
Accepted
time: 93ms
memory: 49332kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 219683 0 0 0 0 0 0 0 0 0 0 0 0 0 321211 0 0 0 0 0 0 0 0 0 0 0 17703 0 0 178 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 77008 0 0 0 0 0 2128 0 0 0 0 0 0 0 0 0 251 0 0 0 0 0 0 0 0 0 17440 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 13735 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #64:
score: 0
Accepted
time: 95ms
memory: 49140kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 415747 0 0 0 0 0 0 0 0 0 0 68923 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 495773 0 0 0 0 0 0 0 356131 0 51 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 14 0 0 0 0 20160 0 241 0 0 0...
result:
ok 500000 numbers
Test #65:
score: 0
Accepted
time: 101ms
memory: 51392kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 30 0 0 0 0 0 0 0 0 0 0 0 0 0 0 105 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 144883 0 0 0 0 150 0 0 0 0 0 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 500000 numbers
Test #66:
score: 0
Accepted
time: 102ms
memory: 49396kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 220622 0 0 0 0 0 75 0 0 0 0 0 0 89722 0 0 0 0 0 0 133 0 0 0 0 0 0 0 1240 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 179498 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #67:
score: 0
Accepted
time: 154ms
memory: 55712kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #68:
score: 0
Accepted
time: 113ms
memory: 48780kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 8164 8537 11037 6476 6132 13768 956 6153 9497 4688 15597 677 13064 711 11076 15370 7665 2162 2457 14381 10022 14222 7279 15781 1769 10198 10200 1298 15399 13479 0 8414 14065 13560 10940 4695 15131 9933 13488 11857 15614 2382 12898 6029 1206 6841 8568 12543 13462 10621 2787 352 8715 3664 2830 3417 ...
result:
ok 500000 numbers
Test #69:
score: 0
Accepted
time: 83ms
memory: 50324kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 3839 2323 3378 1870 3123 2993 1935 1285 3205 1494 326 2538 248 1758 1292 165 3035 2010 3572 2720 3170 1466 1725 1515 1780 2514 1042 3187 15141 1983 1443 3499 2322 3546 2523 479 230 10759 2411 2761 2912 1001 93 4000 778 1024 667 2152 1253 2078 1029 1963 2540 2828 2510 2815 3510 1967 3247 2936 3605 ...
result:
ok 500000 numbers
Test #70:
score: 0
Accepted
time: 89ms
memory: 50912kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 638 210 459 684 271898 488 740 693 331813 621 377 216 693 509 821 1291 1525 1569 1212 1510 897 1670 207959 155 192 337 1135 1735 729 252 415011 1150 1590 443692 375 473248 1444 310088 688 1716 1556 195705 1731 1153 219 228373 1544 253 1570 1378 191 238 1494 961 415051 89390 373 1159 477 909 62553 ...
result:
ok 500000 numbers
Test #71:
score: 0
Accepted
time: 89ms
memory: 49864kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 270 1290 88151 117323 210822 15716 849 362 834 316 761 267 24870 18107 383 420691 424 48410 775 51204 5354 645 440 1549 695 773 325 256 329921 758 579 67723 600 86294 481 8763 259734 553 680 538 696 509 95217 18107 447713 16100 693 54811 525 318 266 26880 18107 126111 778 731 10837 330 18107 28780...
result:
ok 500000 numbers
Test #72:
score: 0
Accepted
time: 83ms
memory: 48716kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 255370 261904 339324 222198 318216 337727 327893 321437 240655 475282 256862 356849 392373 293227 218895 360245 212976 470346 233070 300900 265569 280277 412186 297069 350156 264056 239193 258985 400420 447362 287149 318250 265527 395917 270618 309495 470392 271437 345940 223535 294761 219590 4473...
result:
ok 500000 numbers
Test #73:
score: 0
Accepted
time: 115ms
memory: 49268kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 4434 12727 0 4565 0 0 3850 0 0 0 5100 0 0 0 0 0 15889 0 0 0 0 13778 14490 11860 2030 12943 0 0 8944 0 13875 5998 583 0 0 0 9941 3006 0 0 0 4831 6842 0 7016 0 5613 12483 0 2744 0 1338 0 0 0 12427 10867 0 6521 10086 0 0 0 1467 13523 0 15511 8500 10947 0 0 2186 0 10573 0 0 0 0 8690 0 0 603 0 8517 0 7...
result:
ok 500000 numbers
Test #74:
score: 0
Accepted
time: 93ms
memory: 48708kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 2341 3413 0 0 481 0 264514 0 0 0 0 0 0 0 0 3115 1778 4058 780 0 0 226 286 0 784 839 1689 57 0 3482 0 1880 0 2675 0 0 0 0 0 1744 703 0 0 3319 0 744 0 3020 0 2481 0 0 3755 1776 0 0 0 1616 0 0 593 0 1895 0 0 0 3837 0 0 0 0 0 2691 0 0 0 0 1803 0 0 0 0 0 2975 1619 1972 3305 0 0 748 0 0 3553 0 3228 0 0 ...
result:
ok 500000 numbers
Test #75:
score: 0
Accepted
time: 88ms
memory: 48448kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 1387 0 0 0 1570 0 2253 0 1398 0 0 0 0 297 31 1715 396 0 1164 73 0 251 0 0 175 89187 0 0 0 0 0 18003 456 0 0 58586 0 314 938 0 0 765 567 1590 0 0 286 0 0 0 0 0 0 0 0 0 0 0 274738 0 116868 570 0 1384 994 134237 0 1735 0 0 148 0 0 0 0 1499 31 0 0 1556 0 0 0 0 1153 861 0 0 0 309 0 0 0 0 1694 0 1244 11...
result:
ok 500000 numbers
Test #76:
score: 0
Accepted
time: 88ms
memory: 49152kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 416633 0 0 370994 0 0 0 379 0 0 10220 500 0 0 0 0 0 265 0 164 0 15 0 443 0 471327 849 0 0 0 0 0 0 683 155 107821 149481 0 0 0 0 0 383 342 617 0 816 0 120 0 0 0 47043 0 188 0 310239 0 0 683 747 0 0 816 499921 0 367231 486 0 0 304 646 0 52 0 0 0 0 117 0 588 0 0 0 0 0 0 0 0 0 0 335 746 0 185559 0...
result:
ok 500000 numbers
Test #77:
score: 0
Accepted
time: 90ms
memory: 48000kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 30381 39621 141778 449320 90100 496865 19701 489003 0 16653 406697 10878 0 254701 0 3403 32385 1540 15225 3 219569 0 266268 703 353536 58653 237881 283306 0 4095 109746 421320 1540 780 333586 195097 341785 498941 130305 433274 97461 469389 100128 285619 209032 112575 39060 463657 226903 52326 1407...
result:
ok 500000 numbers
Test #78:
score: 0
Accepted
time: 115ms
memory: 51652kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 12277 9092 0 0 0 0 0 0 0 0 10014 0 0 0 0 0 0 12119 0 0 9073 0 0 0 0 0 0 1059 0 0 0 0 0 0 0 0 0 4906 11267 11489 0 0 0 7930 0 0 0 0 0 0 0 11904 0 0 11408 0 0 12558 0 0 0 0 0 0 2233 0 0 0 0 0 0 0 12877 0 0 0 0 0 4232 4187 0 2978 11156 0 12140 0 0 0 0 0 0 0 11020 0 0 4336 0 0 0 0 0 0 0 0 0 0 0 0 6252...
result:
ok 500000 numbers
Test #79:
score: 0
Accepted
time: 93ms
memory: 48308kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 418 0 493 0 0 3402 0 2831 0 0 3627 3270 2861 0 0 3332 0 1691 0 3472 2353 0 0 0 0 0 3830 0 0 0 0 0 0 3796 4024 0 4064 0 706 0 0 45 0 0 0 100555 0 0 0 0 0 2896 0 3405 1167 0 0 0 0 0 0 0 0 2841 0 0 0 0 0 0 1485 3946 0 0 113 0 0 0 0 0 0 1683 0 0 0 3498 0 0 0 0 0 0 0 0 0 0 0 393 0 0 0 0 0 0 2722 ...
result:
ok 500000 numbers
Test #80:
score: 0
Accepted
time: 87ms
memory: 48268kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 222 513 0 0 0 1657 195 1118 463 0 0 0 346 0 0 1103 0 416 0 0 0 0 475 0 0 0 0 1568 0 1859 0 0 0 149429 523 0 0 0 0 134 1565 587 752 0 0 0 292 0 253 0 0 1607 0 1417 0 429234 910 334956 794 0 0 0 0 0 0 0 0 0 0 0 1626 0 0 0 1692 0 0 664 0 0 0 15393 0 0 0 0 884 1444 0 0 0 68 1073 0 163477 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #81:
score: 0
Accepted
time: 90ms
memory: 48548kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 486 706 0 0 588 0 0 0 0 0 246 0 0 0 0 0 0 0 0 96753 0 0 0 0 0 0 0 517 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 82640 0 0 0 0 0 0 0 0 13452 0 0 0 0 227060 402 0 0 252 0 0 0 0 0 778 0 428 0 0 426 740 0 0 109 0 0 0 394 0 79 0 0 0 0 0 159389 400446 0 0 0 5781 0 0 0 0 192416 0 0 411 0 224063 339 0 0 0 0 0...
result:
ok 500000 numbers
Test #82:
score: 0
Accepted
time: 84ms
memory: 49532kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 82621 95266 142311 76636 10878 0 0 0 72771 12880 135981 395987 38781 0 10878 27028 134940 0 0 224901 166801 0 0 173841 5671 133903 409447 0 0 0 0 469461 417650 305639 0 395921 0 0 0 25878 185830 112575 0 13366 0 0 0 28441 0 0 0 195655 0 210328 87990 0 193839 17020 206545 0 303240 141778 703 1857...
result:
ok 500000 numbers
Test #83:
score: 0
Accepted
time: 120ms
memory: 50268kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 12537 0 0 0 0 0 0 0 0 3306 0 8073 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11204 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12974 0 0 0 0 0 0 0 0 12342 0 0 0 0 0 0 0 0 0 0 14106 0 0 0 0 0 0 0 0 0 16042 0 0 0 0 0 0 9415 0 0 5831 0 0 0 0 0 0 0 0 13591 0 11012 0 0 0 0 2667 12773 0 0 0 1395 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #84:
score: 0
Accepted
time: 108ms
memory: 51148kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 3868 0 1171 0 0 0 3013 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 62 3087 1478 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2330 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 234 2341 0 0 0 0 4061 0 0 0 1067 0 0 0 0 0 2079 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1668 0 0 ...
result:
ok 500000 numbers
Test #85:
score: 0
Accepted
time: 98ms
memory: 49012kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 570 0 0 22 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 217998 1203 45239 0 321 0 0 591 0 0 0 0 0 0 0 0 0 0 5977 0 0 0 113275 0 0 0 0 0 0 0 0 0 0 0 0 0 1797 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 74 0 1741 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 181606 0 2506 ...
result:
ok 500000 numbers
Test #86:
score: 0
Accepted
time: 82ms
memory: 48684kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 739 0 0 0 4753 469126 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 473447 202221 0 0 0 0 0 0 0 0 0 0 0 168 0 0 0 0 0 0 231 0 0 0 0 0 0 0 197990 0 64767 0 0 419 0 0 0 0 0 0 0 0 0 0 0 812 0 0 0 0 0 208 0 576 0 0 0 0 0 0 0 0 0 0 196 0 0 0 653 62396 0 182 0 0 0 229 25317 0 0 24 0 0 0 900 0 62396 ...
result:
ok 500000 numbers
Test #87:
score: 0
Accepted
time: 89ms
memory: 48612kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 10731 452125 0 0 0 207799 0 0 0 0 71631 0 0 0 0 278835 0 0 0 0 0 58653 0 0 0 0 0 0 127765 0 35245 222878 0 0 0 469436 246192 351871 0 0 0 4186 99235 0 0 0 0 0 154290 0 0 3655 0 0 365380 0 0 310360 247570 438948 216879 0 0 0 0 6328 0 0 0 4465 0 190138 167331 0 0 0 0 96141 0 0 0 0 0 0 0 0 138078 201...
result:
ok 500000 numbers
Test #88:
score: 0
Accepted
time: 120ms
memory: 50892kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15899 0 0 0 0 0 1132 14596 0 0 0 0 0 0 0 0 0 13840 0 0 0 0 9859 0 0 0 0 0 0 0 0 7939 0 0 0 0 0 0 0 0 0 5363 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11462 2052 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3097 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #89:
score: 0
Accepted
time: 107ms
memory: 48964kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 2645 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2561 1008 3200 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3613 0 0 0 2842 0 0 3596 0 0 0 0 0 0 0 0 2462 2799 0 0 0 0 3725 0 0 0 0 0 1518 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3015 0 0 0 0 0 648 0 938 0 3586 3075 3857 0 0 0 0 1739 0 0 0 ...
result:
ok 500000 numbers
Test #90:
score: 0
Accepted
time: 105ms
memory: 48704kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 825 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1033 0 0 0 1552 0 0 0 0 0 0 0 0 533 0 0 0 0 1098 0 0 124 61211 0 0 0 0 0 0 0 0 1233 1579 0 0 0 8116 876 0 0 0 1425 108 0 0 0 0 0 256 0 0 0 0 0 86021 0 0 0 0 0 0 0 0 0 265 0 0 0 152691 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #91:
score: 0
Accepted
time: 91ms
memory: 48788kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 60839 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 403 0 875 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 841 0 262964 0 0 0 0 0 0 0 0 0 0 0 0 0 26864 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 813 0 0 0 0 0 0 612 0 0 0 0...
result:
ok 500000 numbers
Test #92:
score: 0
Accepted
time: 96ms
memory: 49400kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 394141 51681 0 67896 0 0 0 0 7503 0 0 0 0 0 0 0 115440 0 0 222903 430525 0 0 0 378341 0 0 52003 0 0 0 0 0 0 0 13203 0 286146 0 0 119805 0 0 0 1653 0 0 46665 150431 0 0 30730 0 0 0 0 0 167934 0 73920 0 440771 273572 0 0 0 0 0 0 0 163338 0 3160 267726 0 0 9591 0 0 0 182739 0 0 21321 42778 0 0 0 ...
result:
ok 500000 numbers
Test #93:
score: 0
Accepted
time: 126ms
memory: 53628kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 3255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12663 0 0 0 0 0 0 0 0 0 0 0 7109 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 13316 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10379 1544 0 0 4173 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3294 0 0 0 0 0 0 2331 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #94:
score: 0
Accepted
time: 115ms
memory: 49708kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 3588 0 0 0 0 0 0 0 0 0 0 0 0 0 0 524 0 0 0 0 0 0 0 838 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2264 0 0 0 0 0 2641 0 0 3584 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3085 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #95:
score: 0
Accepted
time: 97ms
memory: 49148kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 731 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1008 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1305 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 856 0 0 0 0 0 0 13...
result:
ok 500000 numbers
Test #96:
score: 0
Accepted
time: 106ms
memory: 50984kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 199394 0 0 104741 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 48410 412555 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 642 0 0 0 0 0 0 0 0 0 0 0 0 154395 0 0 0 0 0 0 0 8763 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 588 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #97:
score: 0
Accepted
time: 85ms
memory: 49436kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 451210 0 0 0 0 0 0 0 0 0 0 0 220261 226275 0 0 0 78210 0 0 0 0 0 0 0 0 0 0 0 1176 0 0 0 0 0 0 0 0 0 0 0 5253 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2080 0 0 0 0 0 55278 0 0 0 0 0 314234 52650 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 337707 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #98:
score: 0
Accepted
time: 148ms
memory: 57452kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6085 0 0 0 0 0 0 0 0 1877 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10880 0 0 0 0 0 3374 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #99:
score: 0
Accepted
time: 120ms
memory: 53488kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 2028 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 686 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1859 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 888 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #100:
score: 0
Accepted
time: 117ms
memory: 52108kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 1331 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 976 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1345 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #101:
score: 0
Accepted
time: 111ms
memory: 49508kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 378796 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 79950 0 0 0 0 0 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 500000 numbers
Test #102:
score: 0
Accepted
time: 84ms
memory: 49260kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 72390 0 0 0 0 0 0 0 0 0 0 0 0 0 43660 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1953 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 187632 0 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 500000 numbers
Test #103:
score: 0
Accepted
time: 138ms
memory: 57524kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2874 0 0 0 0 0 0 0 0 0 0 0 0 1140 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11260 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5723 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8951 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #104:
score: 0
Accepted
time: 132ms
memory: 54944kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3405 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3118 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #105:
score: 0
Accepted
time: 141ms
memory: 54392kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 341 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 527 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #106:
score: 0
Accepted
time: 130ms
memory: 51904kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #107:
score: 0
Accepted
time: 118ms
memory: 50240kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #108:
score: 0
Accepted
time: 155ms
memory: 55212kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11219 0 0 0 0 0 1824 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12138 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11791 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #109:
score: 0
Accepted
time: 142ms
memory: 57080kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1645 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3401 0 0 0 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 500000 numbers
Test #110:
score: 0
Accepted
time: 139ms
memory: 55320kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1047 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #111:
score: 0
Accepted
time: 151ms
memory: 55440kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #112:
score: 0
Accepted
time: 146ms
memory: 55680kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #113:
score: 0
Accepted
time: 101ms
memory: 48612kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 15447 14425 6494 7286 6145 561 355 12244 5675 7644 5077 13568 11960 4806 6810 5854 7487 7899 3146 15339 12823 14712 7911 7658 6238 13929 7167 499802 15996 12569 9838 8132 15406 1292 3136 13327 8125 16084 5197 7678 15554 10433 6952 8402 428 12357 5933 7577 7903 11084 10427 4323 13321 15892 2117 808...
result:
ok 500000 numbers
Test #114:
score: 0
Accepted
time: 90ms
memory: 50208kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 3023 3787 2138 220 3271 844 751 2266 952 1224 3400 3705 368903 2033 2000 905 383254 2994 3450 3765 475 4036 1579 1159 280 2713 314 2948 364 2789 3383 2074 2550 2382 297 346 130 2641 1905 602 267 2946 3851 184 692 958 3670 889 734 2447 2324 2271 2018 712 3193 3184 2303 772 1989 1746 1045 2665 1818 ...
result:
ok 500000 numbers
Test #115:
score: 0
Accepted
time: 78ms
memory: 48716kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 589 1776 1070 1041 395 253 999 1530 449 628 597 590 1385 1578 715 1790 1657 1860 1313 2656 1801 852 662 301854 1154 1299 959 1057 718 1906 545 1430 382 1662 1522 1039 1750 1227 1885 249 792 1355 577 1467 1633 1532 254 1360 1561 1361 880 84698 826 1248 622 777 1804 646 425 1724 1241 655 508 37753 8...
result:
ok 500000 numbers
Test #116:
score: 0
Accepted
time: 81ms
memory: 47904kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 1059 40889 2711 642 249423 415240 672 59247 1059 1246 244733 9392 634 1259 686 1117 1053 273668 994 398546 406838 400648 98635 641 1129 16092 1241 1122 100556 853 778 887 272012 1175 749 879 1157 1142 92992 1188 222106 1631 750 277003 814 1031 472305 805 690 335500 53643 1233 1013 759 45797 1094 1...
result:
ok 500000 numbers
Test #117:
score: 0
Accepted
time: 93ms
memory: 48680kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 250284 193407 167407 227019 200476 270520 372756 324664 169822 321244 442532 145563 141049 404975 402488 347624 492963 367909 273554 497022 420351 347714 298061 310047 341835 168181 135215 168509 249252 336048 143310 178113 226104 143342 490140 388658 235625 214911 433344 469496 203092 449185 2894...
result:
ok 500000 numbers
Test #118:
score: 0
Accepted
time: 98ms
memory: 49244kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 15975 0 0 6766 0 0 10679 0 0 10917 4451 0 0 12536 0 14582 0 0 0 0 0 0 0 14446 0 1162 0 3176 0 0 0 10690 8323 11591 15583 0 0 0 0 0 0 0 13663 0 14518 0 12680 10511 0 0 0 7759 0 10354 0 0 0 869 6627 12889 0 0 15805 0 4732 0 0 9729 0 0 0 6637 0 0 5361 12777 0 0 0 0 1358 11906 0 0 0 0 0 0 0 0 0 2578...
result:
ok 500000 numbers
Test #119:
score: 0
Accepted
time: 91ms
memory: 48644kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 1878 873 0 3214 0 1712 850 0 0 0 16542 0 0 0 0 901 0 3166 0 2728 2592 0 3291 0 0 1828 0 0 0 0 2986 2937 0 0 0 0 0 0 0 0 0 3938 0 0 3392 0 0 0 0 0 0 0 0 0 0 3828 0 0 0 0 1436 0 0 0 422 393 2347 0 0 0 3363 0 2757 3667 3721 0 0 900 0 0 0 0 0 3881 0 3975 1690 3782 0 3888 0 3749 477 3198 0 0 0 ...
result:
ok 500000 numbers
Test #120:
score: 0
Accepted
time: 91ms
memory: 48528kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 1349 0 1359 0 0 0 0 0 0 451 0 551 1015 0 0 775 0 0 0 0 1720 0 0 0 0 0 39796 0 0 0 31037 0 0 180005 0 1822 0 0 39796 0 1176 225 1191 0 0 721 922 328 0 46 0 0 0 0 0 959 183 0 0 0 120 0 1356 889 0 0 793 514 0 766 0 0 0 0 0 0 204 1290 1494 261 0 0 0 0 0 28 0 1767 0 954 0 0 0 1663 1073 0 0 0 500 410 0 ...
result:
ok 500000 numbers
Test #121:
score: 0
Accepted
time: 87ms
memory: 49224kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 634 897 1137 1264 0 665 0 19 0 155 863 0 607 0 19332 0 0 0 0 0 258 0 0 0 425916 986 278 653 0 0 678 0 193796 0 0 1021 329 1054 481 0 0 128 0 0 0 972 1047 0 130656 0 83987 0 0 0 0 0 991 0 506 711 302 0 730 217730 362 837 20631 0 18911 0 0 0 0 276 236 34658 1071 0 0 1024 0 1083 0 139 500 237043 182 ...
result:
ok 500000 numbers
Test #122:
score: 0
Accepted
time: 87ms
memory: 48064kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 28167 2595 54007 317817 3441 147814 55347 141062 36429 3909 262250 6414 437287 399983 245333 9290 3759 152440 227914 234602 17322 3969 263336 410063 2589 437277 135978 4659 495696 23262 442560 483229 110399 4335 147849 209405 255279 2781 3339 4569 215861 163397 2679 3483 38232 2637 49672 4849 2907...
result:
ok 500000 numbers
Test #123:
score: 0
Accepted
time: 115ms
memory: 49840kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 12674 0 0 4736 0 0 14300 284 0 0 0 0 1621 5910 0 0 0 0 13210 0 0 0 1100 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8607 0 0 12169 0 0 0 0 2223 0 8628 7241 0 0 0 0 0 0 0 0 0 0 5753 0 0 14190 0 0 0 0 9830 3993 0 0 0 0 0 6178 0 0 0 0 0 0 12876 0 0 0 0 0 0 2606 2692 0 0 0 0 0 0 0 0 0 0 1165...
result:
ok 500000 numbers
Test #124:
score: 0
Accepted
time: 93ms
memory: 50564kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 3925 0 0 0 0 0 0 0 0 0 0 0 0 1365 0 133 3090 0 1898 0 0 0 0 0 0 0 0 0 0 0 413 2057 0 0 1887 3080 1317 0 0 0 0 0 2534 0 0 0 0 0 216 0 0 0 0 896 0 0 0 0 0 0 0 907 0 1519 828 0 0 0 0 0 0 0 0 0 0 3464 2224 0 3559 435806 0 1270 0 0 0 0 0 0 0 1734 0 0 0 857 0 0 0 0 3387 0 0 3760 0 0 0 1119 0 0 0 0...
result:
ok 500000 numbers
Test #125:
score: 0
Accepted
time: 83ms
memory: 48404kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 340 0 0 0 0 149 0 0 0 0 0 1366 0 0 0 0 0 0 0 0 0 1746 0 0 0 0 0 31977 0 0 1888 1783 0 0 0 2507 0 0 0 0 0 0 0 0 0 0 163 0 0 0 0 0 0 0 0 0 0 0 0 1117 0 397 0 0 0 0 166 1282 0 0 0 0 1406 0 0 1483 0 0 0 0 0 479 0 0 0 0 0 0 0 0 0 0 910 0 0 0 618 0 0 0 1562 0 0 0 1638 0 0 0 0 909 0 0 0 270 0 878 0 0 0 0...
result:
ok 500000 numbers
Test #126:
score: 0
Accepted
time: 92ms
memory: 48652kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 158 0 0 110 425896 0 0 0 863 0 0 399 0 1179 50 0 0 0 0 708 952 0 158 959 0 0 0 0 0 1126 124 1072 0 0 0 0 24 0 0 0 87529 0 473 0 0 0 107 0 0 0 0 0 219185 0 0 386 0 0 0 0 0 0 0 0 0 0 1911 126254 0 775 0 0 118745 1226 0 1156 0 0 0 291 0 1095 0 22182 1761 63 0 0 0 0 0 0 860 989 0 219 0 0 390362 ...
result:
ok 500000 numbers
Test #127:
score: 0
Accepted
time: 99ms
memory: 49492kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 290 483180 5398 3321 87118 2835 4335 88834 278 2247 801 589 544 1467 455900 285122 13252 520 381323 4149 218532 32974 326885 209404 326 260246 9316 578 546 2157 795 1035 2733 296 498 342 3225 275721 415156 3687 4257 6414 939 520 16230 4467 173075 1413 2211 41220 3021 135244 4527 3423 12711 4395 38...
result:
ok 500000 numbers
Test #128:
score: 0
Accepted
time: 116ms
memory: 50352kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12390 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11958 0 0 0 0 0 0 0 0 0 0 0 0 0 0 13966 1126 0 0 0 0 0 0 8207 0 0 0 0 0 0 11125 0 0 3021 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6812 0 0 0 0 0 0 0 0 8998 0 0 660 2998 0 0 0 5090 0 0 0 0 0 0 0 0 0 0 15341 0 0 13982 0...
result:
ok 500000 numbers
Test #129:
score: 0
Accepted
time: 100ms
memory: 51092kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 1388 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2634 1540 0 0 0 0 0 0 0 4095 0 0 1078 0 0 0 0 276 3435 3494 0 0 0 0 0 0 0 0 0 0 359 0 0 0 0 0 2151 0 0 0 0 34 0 0 1616 0 0 0 0 0 56 0 0 1822 0 0 0 0 0 0 0 2113 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1065 0 864 0 0 ...
result:
ok 500000 numbers
Test #130:
score: 0
Accepted
time: 85ms
memory: 49004kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 1549 0 0 0 1673 714 0 0 0 0 0 0 0 0 64 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 386 0 0 0 0 0 246 0 0 109 78709 0 0 0 0 0 17605 0 0 0 0 0 0 0 0 0 0 0 0 241 0 0 0 0 0 0 505 97377 0 0 0 842 0 0 465 154 0 0 0 0 0 0 0 0 0 0 0 0 0 0 827 0 0 0 0 0 1592 0 0 589 0 0 0 0 1455 0 0 0 0 0...
result:
ok 500000 numbers
Test #131:
score: 0
Accepted
time: 84ms
memory: 48936kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 164 0 801 0 0 0 0 0 0 0 0 0 0 4 474 859 0 0 0 0 0 1158 138964 0 0 0 994 0 313 0 0 0 0 0 0 0 797 225047 1217 0 0 0 0 0 0 0 0 0 0 254 0 0 0 1064 829 962 0 483738 0 0 0 0 477 1115 1361 100556 0 0 399 0 0 0 0 0 0 556 0 1001 0 0 0 354 38531 0 0 638 0 0 0 94 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #132:
score: 0
Accepted
time: 85ms
memory: 48660kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 3681 0 4065 32640 1797 0 0 27862 256 408 74 0 472149 2169 0 0 435944 90575 170631 410 0 71269 0 0 1449 241 0 37144 348 237 4383 819 334 0 20397 3435 228924 341 0 159382 0 47 65 1035 3531 291 555 0 473 61836 0 2439 382527 2661 445237 180 225084 96550 0 0 0 3261 0 1281 4737 951 385 1671 392 3441 3...
result:
ok 500000 numbers
Test #133:
score: 0
Accepted
time: 119ms
memory: 50892kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 188 0 0 0 0 9872 0 0 0 2561 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7476 0 0 0 1966 0 3494 0 0 0 0 0 0 10796 2640 0 0 0 13070 0 0 0 0 4334 0 0 0 0 0 0 10368 0 0 0 0 0 12948 0 0 0 0 0 0 0 0 0 0 0 0 13242 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11899 0 11646 0 0 0 0 10223 0 0 0 0 0 16017 0 0...
result:
ok 500000 numbers
Test #134:
score: 0
Accepted
time: 103ms
memory: 48828kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 397898 0 745 0 0 0 0 0 0 0 0 0 0 0 0 0 15 0 0 0 2423 0 281 0 0 0 0 0 1262 0 0 0 0 2041 0 0 0 2910 0 0 0 0 0 0 0 0 1358 0 0 0 941 0 0 0 0 0 0 0 0 2184 2083 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 879 0 0 0 0 0 0 1880 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4117 3112 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #135:
score: 0
Accepted
time: 90ms
memory: 48828kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 1579 0 0 0 0 0 0 0 0 0 0 0 0 0 0 200 0 1643 773 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 687 0 0 0 0 0 0 0 0 0 0 0 0 2267 0 0 0 0 0 0 0 0 0 0 0 1873 0 0 0 0 0 0 0 0 1024 1293 0 0 875 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1893 0 0 0 244750 236693 0 0 0 0 0 0 70 0 0 0 0 ...
result:
ok 500000 numbers
Test #136:
score: 0
Accepted
time: 79ms
memory: 48696kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 832 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 180391 0 0 0 0 0 0 0 0 0 1472 578 0 0 0 0 740 0 0 0 0 0 578 0 0 0 0 0 52 0 0 0 0 0 0 0 0 0 707 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 271 0 0 0 0 328 0 1019 94853 0 0 0 439 0 0 0 0 229 0 0 0 0 0 0 0 0 0 0 0 0 0 954 0 ...
result:
ok 500000 numbers
Test #137:
score: 0
Accepted
time: 84ms
memory: 49480kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 259 498 24 119060 257214 963 0 176445 0 0 0 3279 0 516 0 0 5265 595 0 0 49250 409 0 0 589 0 38232 0 389971 103 0 0 578 1335 58080 0 8 1167 4383 1833 0 0 0 567 263 515 3903 0 194264 0 85370 0 0 540 11355 1383 2007 4503 0 0 426759 0 0 2199 0 0 251 0 7832 483225 0 23 32640 470 0 136 110 4575 0 0 51...
result:
ok 500000 numbers
Test #138:
score: 0
Accepted
time: 146ms
memory: 53820kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 498 0 0 0 0 0 0 0 0 0 0 0 0 221 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7054 0 0 0 0 0 0 0 0 0 3570 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8942 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #139:
score: 0
Accepted
time: 114ms
memory: 49612kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 619 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3704 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2285 0 0 0 0 0 0 0 0 0 3461 3323 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3067 0 2170 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #140:
score: 0
Accepted
time: 107ms
memory: 49156kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1357 0 0 0 0 0 0 1419 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1778 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1780 0 0 0 0 0 0 0 0 1093 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 305 0 0 0 0 0 95 0 0 0 0 0 0 0 0 0 0 0 0 0 0 49...
result:
ok 500000 numbers
Test #141:
score: 0
Accepted
time: 101ms
memory: 48884kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 1472 0 0 417 0 0 0 0 0 0 0 0 0 0 0 0 0 0 329924 0 0 0 0 0 29739 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1392 0 0 0 0 711 0 352602 0 17271 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 776 0 0 0 0 0 0 0 0 0 0 0 0 0 0 456 0 0 0 0 0 1152 0 0 0 662 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #142:
score: 0
Accepted
time: 88ms
memory: 51200kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 381 18002 711 0 441 0 1959 75 0 0 2769 0 0 0 0 0 516 0 0 0 0 0 0 0 0 510 0 0 18002 0 0 5052 0 0 0 0 0 0 2085 0 1425 0 0 1749 0 356 351245 0 77067 0 439877 0 0 0 0 0 1305 4377 0 0 0 0 446536 4761 0 0 4011 39337 196 0 0 0 2337 0 128767 0 0 523 0 0 0 0 0 0 0 0 168231 1551 0 1 0 0 0 0 0 0 18699 7410 0...
result:
ok 500000 numbers
Test #143:
score: 0
Accepted
time: 142ms
memory: 57452kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1839 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10004 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1671 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5241 0 0 0 0 0 0 0 0 0 0 0 0 0 0 16065 0 0 0...
result:
ok 500000 numbers
Test #144:
score: 0
Accepted
time: 122ms
memory: 51200kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 3035 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 322 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 968 0 0 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #145:
score: 0
Accepted
time: 114ms
memory: 50024kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #146:
score: 0
Accepted
time: 113ms
memory: 49664kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 220 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 479110 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #147:
score: 0
Accepted
time: 96ms
memory: 48976kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 394940 450516 0 0 0 0 0 0 0 0 0 0 1641 125306 0 198653 0 0 0 0 0 0 0 47167 0 0 0 0 0 0 0 0 0 0 0 0 0 403700 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 219 0 0 65227 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1497 0 0 0 0 0 0 0 2067 32974 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #148:
score: 0
Accepted
time: 139ms
memory: 55424kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 729 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1348 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #149:
score: 0
Accepted
time: 148ms
memory: 55204kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 569 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #150:
score: 0
Accepted
time: 129ms
memory: 56152kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #151:
score: 0
Accepted
time: 114ms
memory: 52012kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 4511 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 331767 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 647 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 500000 numbers
Test #152:
score: 0
Accepted
time: 113ms
memory: 50140kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 214011 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 141 0 0 0 921 0 0 0 0 0 0 0 0 0 0 0 0 0 496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
result:
ok 500000 numbers
Test #153:
score: 0
Accepted
time: 138ms
memory: 55372kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10251 0 0 0 0 0 0 0 1494 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11850 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #154:
score: 0
Accepted
time: 142ms
memory: 55172kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #155:
score: 0
Accepted
time: 158ms
memory: 55200kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #156:
score: 0
Accepted
time: 140ms
memory: 57456kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #157:
score: 0
Accepted
time: 149ms
memory: 56000kb
input:
500000 500000 0110001111000001111110000000111111110000000001111111111000000000001111111111110000000000000111111111111110000000000000001111111111111111000000000000000001111111111111111110000000000000000000111111111111111111110000000000000000000001111111111111111111111000000000000000000000001111111111...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #158:
score: 0
Accepted
time: 147ms
memory: 55380kb
input:
500000 500000 1101001100101101001011001101001100101100110100101101001100101101001011001101001011010011001011001101001100101101001011001101001100101100110100101101001100101100110100110010110100101100110100101101001100101101001011001101001100101100110100101101001100101101001011001101001011010011001011...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #159:
score: 0
Accepted
time: 165ms
memory: 57524kb
input:
500000 500000 1101001100101101001011001101001100101100110100101101001100101101001011001101001011010011001011001101001100101101001011001101001100101100110100101101001100101100110100110010110100101100110100101101001100101101001011001101001100101100110100101101001100101101001011001101001011010011001011...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 500000 numbers
Test #160:
score: 0
Accepted
time: 102ms
memory: 52648kb
input:
500000 500000 1101001100101101001011001101001100101100110100101101001100101101001011001101001011010011001011001101001100101101001011001101001100101100110100101101001100101100110100110010110100101100110100101101001100101101001011001101001100101100110100101101001100101101001011001101001011010011001011...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 421276 0 0 0 345525 0 356615 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 101606 0 0 0 0 0 0 0 0 0 0 0 0 0 0 344722 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 310447 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 317929 0 0 0 0...
result:
ok 500000 numbers
Test #161:
score: 0
Accepted
time: 116ms
memory: 52600kb
input:
500000 500000 1101001100101101001011001101001100101100110100101101001100101101001011001101001011010011001011001101001100101101001011001101001100101100110100101101001100101100110100110010110100101100110100101101001100101101001011001101001100101100110100101101001100101101001011001101001011010011001011...
output:
0 0 0 0 0 0 0 155330 0 36790 0 0 0 0 249779 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 224934 88006 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 369763 0 0 0 0 41367 0 10914 0 183523 421703 0 0 0 0 0 0 0 0 168546 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 193832 0 0 0 ...
result:
ok 500000 numbers