0_0_20989893_8219.cpp:19:16: error: '#' is not followed by a macro parameter
#define MID(a,b) (a+((b-a)>>1))
^
0_0_20989893_8219.cpp:49:29: error: stray '#' in program
for(int i=0;i<=mx;i++) pos[i]=0;
^
0_0_20989893_8219.cpp:49:34: error: stray '#' in program
for(int i=0;i<=mx;i++) pos[i]=0;
^
0_0_20989893_8219.cpp:51:28: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989893_8219.cpp:51:33: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989893_8219.cpp:54:36: error: stray '#' in program
for(int j=2;j*j<=tmp;j++)
^
0_0_20989893_8219.cpp:54:41: error: stray '#' in program
for(int j=2;j*j<=tmp;j++)
^
0_0_20989893_8219.cpp:70:29: error: stray '#' in program
for(int i=0;i<=mx;i++) pos[i]=n+1;
^
0_0_20989893_8219.cpp:70:34: error: stray '#' in program
for(int i=0;i<=mx;i++) pos[i]=n+1;
^
0_0_20989893_8219.cpp:70:49: error: stray '#' in program
for(int i=0;i<=mx;i++) pos[i]=n+1;
^
0_0_20989893_8219.cpp:75:36: error: stray '#' in program
for(int j=2;j*j<=tmp;j++)
^
0_0_20989893_8219.cpp:75:41: error: stray '#' in program
for(int j=2;j*j<=tmp;j++)
^
0_0_20989893_8219.cpp:96:37: error: stray '#' in program
void clear() { for(int i=1;i<=n+10;i++) T[i]=0; }
^
0_0_20989893_8219.cpp:96:46: error: stray '#' in program
void clear() { for(int i=1;i<=n+10;i++) T[i]=0; }
^
0_0_20989893_8219.cpp:96:51: error: stray '#' in program
void clear() { for(int i=1;i<=n+10;i++) T[i]=0; }
^
0_0_20989893_8219.cpp:101:27: error: stray '#' in program
if(pos==0||pos==n+1) return;
^
0_0_20989893_8219.cpp:102:30: error: stray '#' in program
for(int i=pos;i<=n;i+=lowbit(i)) T[i]++;
^
0_0_20989893_8219.cpp:102:51: error: stray '#' in program
for(int i=pos;i<=n;i+=lowbit(i)) T[i]++;
^
0_0_20989893_8219.cpp:102:56: error: stray '#' in program
for(int i=pos;i<=n;i+=lowbit(i)) T[i]++;
^
0_0_20989893_8219.cpp:107:45: error: stray '#' in program
for(int i=ed;i>=1;i-=lowbit(i)) ans+=T[i];
^
0_0_20989893_8219.cpp:118:23: error: stray '#' in program
for(int i=0;i<m;i++)
^
0_0_20989893_8219.cpp:118:28: error: stray '#' in program
for(int i=0;i<m;i++)
^
0_0_20989893_8219.cpp:127:17: error: stray '#' in program
ind++;
^
0_0_20989893_8219.cpp:127:22: error: stray '#' in program
ind++;
^
0_0_20989893_8219.cpp:129:22: error: stray '#' in program
ans[key][id]+=seg.query(st,ed);
^
0_0_20989893_8219.cpp:143:27: error: stray '#' in program
for(int i=0;i<N;i++)
^
0_0_20989893_8219.cpp:143:32: error: stray '#' in program
for(int i=0;i<N;i++)
^
0_0_20989893_8219.cpp:145:28: error: stray '#' in program
L[i]=0; R[i]=n+1;
^
0_0_20989893_8219.cpp:149:28: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989893_8219.cpp:149:33: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989893_8219.cpp:154:27: error: stray '#' in program
for(int i=0;i<m;i++)
^
0_0_20989893_8219.cpp:154:32: error: stray '#' in program
for(int i=0;i<m;i++)
^
0_0_20989893_8219.cpp:157:24: error: stray '#' in program
num[i]=y-x+1;
^
0_0_20989893_8219.cpp:163:28: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989893_8219.cpp:163:33: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989893_8219.cpp:179:27: error: stray '#' in program
for(int i=0;i<m;i++) printf("%d\n",num[i]-ans[0][i]-ans[1][i]+ans[2][i]);
^
0_0_20989893_8219.cpp:179:32: error: stray '#' in program
for(int i=0;i<m;i++) printf("%d\n",num[i]-ans[0][i]-ans[1][i]+ans[2][i]);
^
0_0_20989893_8219.cpp:179:79: error: stray '#' in program
for(int i=0;i<m;i++) printf("%d\n",num[i]-ans[0][i]-ans[1][i]+ans[2][i]);
^
0_0_20989893_8219.cpp: In function 'void fun(bool)':
0_0_20989893_8219.cpp:49:32: error: expected ')' before ';' token
for(int i=0;i<=mx;i++) pos[i]=0;
^
0_0_20989893_8219.cpp:49:35: error: lvalue required as unary '&' operand
for(int i=0;i<=mx;i++) pos[i]=0;
^
0_0_20989893_8219.cpp:49:38: error: expected primary-expression before ')' token
for(int i=0;i<=mx;i++) pos[i]=0;
^
0_0_20989893_8219.cpp:51:31: error: expected ')' before ';' token
for(int i=1;i<=n;i++)
^
0_0_20989893_8219.cpp:51:34: error: lvalue required as unary '&' operand
for(int i=1;i<=n;i++)
^
0_0_20989893_8219.cpp:51:37: error: expected primary-expression before ')' token
for(int i=1;i<=n;i++)
^
0_0_20989893_8219.cpp:70:32: error: expected ')' before ';' token
for(int i=0;i<=mx;i++) pos[i]=n+1;
^
0_0_20989893_8219.cpp:70:35: error: lvalue required as unary '&' operand
for(int i=0;i<=mx;i++) pos[i]=n+1;
^
0_0_20989893_8219.cpp:70:38: error: expected primary-expression before ')' token
for(int i=0;i<=mx;i++) pos[i]=n+1;
^
0_0_20989893_8219.cpp:75:39: error: expected ')' before ';' token
for(int j=2;j*j<=tmp;j++)
^
0_0_20989893_8219.cpp:75:42: error: lvalue required as unary '&' operand
for(int j=2;j*j<=tmp;j++)
^
0_0_20989893_8219.cpp:75:45: error: expected primary-expression before ')' token
for(int j=2;j*j<=tmp;j++)
^
0_0_20989893_8219.cpp: In member function 'void BIT::clear()':
0_0_20989893_8219.cpp:96:43: error: expected ')' before ';' token
void clear() { for(int i=1;i<=n+10;i++) T[i]=0; }
^
0_0_20989893_8219.cpp:96:44: error: 'i' was not declared in this scope
void clear() { for(int i=1;i<=n+10;i++) T[i]=0; }
^
0_0_20989893_8219.cpp:96:52: error: lvalue required as unary '&' operand
void clear() { for(int i=1;i<=n+10;i++) T[i]=0; }
^
0_0_20989893_8219.cpp:96:55: error: expected primary-expression before ')' token
void clear() { for(int i=1;i<=n+10;i++) T[i]=0; }
^
0_0_20989893_8219.cpp: In member function 'void BIT::updata(int)':
0_0_20989893_8219.cpp:101:30: error: expected ')' before ';' token
if(pos==0||pos==n+1) return;
^
0_0_20989893_8219.cpp:101:32: error: expected ';' before ')' token
if(pos==0||pos==n+1) return;
^
0_0_20989893_8219.cpp:102:33: error: expected ')' before ';' token
for(int i=pos;i<=n;i+=lowbit(i)) T[i]++;
^
0_0_20989893_8219.cpp:102:34: error: expected primary-expression before '=' token
for(int i=pos;i<=n;i+=lowbit(i)) T[i]++;
^
0_0_20989893_8219.cpp:102:42: error: 'i' was not declared in this scope
for(int i=pos;i<=n;i+=lowbit(i)) T[i]++;
^
0_0_20989893_8219.cpp:102:57: error: lvalue required as unary '&' operand
for(int i=pos;i<=n;i+=lowbit(i)) T[i]++;
^
0_0_20989893_8219.cpp: In member function 'int BIT::query(int, int)':
0_0_20989893_8219.cpp:107:49: error: expected primary-expression before '=' token
for(int i=ed;i>=1;i-=lowbit(i)) ans+=T[i];
|