0_0_16209950_14079.cpp:2:7: error: 'maxn' was not declared in this scope
int C[maxn][maxn];
^
0_0_16209950_14079.cpp:2:13: error: 'maxn' was not declared in this scope
int C[maxn][maxn];
^
0_0_16209950_14079.cpp: In function 'void update(int, int)':
0_0_16209950_14079.cpp:4:33: error: 'lowbit' was not declared in this scope
for(int i=x;i<=n;i+=lowbit(i))
^
0_0_16209950_14079.cpp:6:5: error: 'C' was not declared in this scope
C[i][j]++;
^
0_0_16209950_14079.cpp: In function 'int query(int, int)':
0_0_16209950_14079.cpp:10:32: error: 'lowbit' was not declared in this scope
for(int i=x;i>0;i-=lowbit(i))
^
0_0_16209950_14079.cpp:12:10: error: 'C' was not declared in this scope
ret+=C[i][j];
^
0_0_16209950_14079.cpp: In function 'int main()':
0_0_16209950_14079.cpp:18:5: error: 'cin' was not declared in this scope
cin>>t;
^
0_0_16209950_14079.cpp:21:13: error: 'C' was not declared in this scope
clr(C,0);
^
0_0_16209950_14079.cpp:21:16: error: 'clr' was not declared in this scope
clr(C,0);
^
0_0_16209950_14079.cpp:23:38: error: 'scanf' was not declared in this scope
scanf("%s%d%d",op,&x1,&y1);
^
0_0_16209950_14079.cpp:33:35: error: 'puts' was not declared in this scope
puts(sum%2?"1":"0");
^
0_0_16209950_14079.cpp:36:16: error: 'puts' was not declared in this scope
puts("");//55.a PE get.
^
|