0_0_20989899_13813.cpp:28:14: error: stray '#' in program
c[x]+=val;
^
0_0_20989899_13813.cpp:37:13: error: stray '#' in program
sum+=c[x];
^
0_0_20989899_13813.cpp:38:11: error: stray '#' in program
x+=lowbit(x);
^
0_0_20989899_13813.cpp:47:25: error: stray '#' in program
for(i=2;i<=200000;i++)
^
0_0_20989899_13813.cpp:47:30: error: stray '#' in program
for(i=2;i<=200000;i++)
^
0_0_20989899_13813.cpp:49:29: error: stray '#' in program
for(j=i;j<=200000;j+=i)
^
0_0_20989899_13813.cpp:59:35: error: stray '#' in program
while(scanf("%d%d",&n,&m)&&(n+m))
^
0_0_20989899_13813.cpp:62:24: error: stray '#' in program
for(i=1;i<=n;i++)
^
0_0_20989899_13813.cpp:62:29: error: stray '#' in program
for(i=1;i<=n;i++)
^
0_0_20989899_13813.cpp:65:24: error: stray '#' in program
for(i=1;i<=n;i++)//Ô¤´¦Àíli
^
0_0_20989899_13813.cpp:65:29: error: stray '#' in program
for(i=1;i<=n;i++)//Ô¤´¦Àíli
^
0_0_20989899_13813.cpp:68:29: error: stray '#' in program
for(j=0;j<siz;j++)
^
0_0_20989899_13813.cpp:68:34: error: stray '#' in program
for(j=0;j<siz;j++)
^
0_0_20989899_13813.cpp:78:43: error: stray '#' in program
int siz=vec[a[i]].size(),po=n+1;
^
0_0_20989899_13813.cpp:79:29: error: stray '#' in program
for(j=0;j<siz;j++)
^
0_0_20989899_13813.cpp:79:34: error: stray '#' in program
for(j=0;j<siz;j++)
^
0_0_20989899_13813.cpp:87:24: error: stray '#' in program
for(i=1;i<=n;i++)
^
0_0_20989899_13813.cpp:87:29: error: stray '#' in program
for(i=1;i<=n;i++)
^
0_0_20989899_13813.cpp:100:24: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20989899_13813.cpp:100:29: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20989899_13813.cpp:105:20: error: stray '#' in program
sort(query+1,query+m+1,cmp);
^
0_0_20989899_13813.cpp:105:32: error: stray '#' in program
sort(query+1,query+m+1,cmp);
^
0_0_20989899_13813.cpp:105:38: error: stray '#' in program
sort(query+1,query+m+1,cmp);
^
0_0_20989899_13813.cpp:107:17: error: stray '#' in program
query[m+1].l=-1;
^
0_0_20989899_13813.cpp:108:24: error: stray '#' in program
for(i=1;i<=n;i++)
^
0_0_20989899_13813.cpp:108:29: error: stray '#' in program
for(i=1;i<=n;i++)
^
0_0_20989899_13813.cpp:112:79: error: stray '#' in program
ans[query[num].num]=(getsum(query[num].l)-getsum(query[num].r+1));
^
0_0_20989899_13813.cpp:113:21: error: stray '#' in program
num++;
^
0_0_20989899_13813.cpp:113:26: error: stray '#' in program
num++;
^
0_0_20989899_13813.cpp:119:29: error: stray '#' in program
for(j=0;j<siz;j++)
^
0_0_20989899_13813.cpp:119:34: error: stray '#' in program
for(j=0;j<siz;j++)
^
0_0_20989899_13813.cpp:128:24: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20989899_13813.cpp:128:29: error: stray '#' in program
for(i=1;i<=m;i++)
^
0_0_20989899_13813.cpp: In function 'void add(int, int)':
0_0_20989899_13813.cpp:28:18: error: expected primary-expression before '=' token
c[x]+=val;
^
0_0_20989899_13813.cpp: In function 'int getsum(int)':
0_0_20989899_13813.cpp:37:17: error: expected primary-expression before '=' token
sum+=c[x];
^
0_0_20989899_13813.cpp:38:15: error: expected primary-expression before '=' token
x+=lowbit(x);
^
0_0_20989899_13813.cpp: In function 'void init()':
0_0_20989899_13813.cpp:47:28: error: expected ')' before ';' token
for(i=2;i<=200000;i++)
^
0_0_20989899_13813.cpp:47:31: error: lvalue required as unary '&' operand
for(i=2;i<=200000;i++)
^
0_0_20989899_13813.cpp:47:34: error: expected primary-expression before ')' token
for(i=2;i<=200000;i++)
^
0_0_20989899_13813.cpp: In function 'int main()':
0_0_20989899_13813.cpp:59:38: error: expected ')' before ';' token
while(scanf("%d%d",&n,&m)&&(n+m))
^
0_0_20989899_13813.cpp:59:38: error: expected ')' before ';' token
0_0_20989899_13813.cpp:59:40: error: expected ';' before ')' token
while(scanf("%d%d",&n,&m)&&(n+m))
^
0_0_20989899_13813.cpp:135:1: error: expected '}' at end of input
}
^
|