0_0_13780240_3850.cpp: In function 'void update(int, int, int)':
0_0_13780240_3850.cpp:18:19: error: 'maxn' was not declared in this scope
for(int i=x;i<maxn;i+=lowbit(i))
^
0_0_13780240_3850.cpp:18:35: error: 'lowbit' was not declared in this scope
for(int i=x;i<maxn;i+=lowbit(i))
^
0_0_13780240_3850.cpp:21:17: error: 'a' was not declared in this scope
a[i][j][k]++;
^
0_0_13780240_3850.cpp: In function 'int sum(int, int, int)':
0_0_13780240_3850.cpp:27:32: error: 'lowbit' was not declared in this scope
for(int i=x;i>0;i-=lowbit(i))
^
0_0_13780240_3850.cpp:30:22: error: 'a' was not declared in this scope
res+=a[i][j][k];
^
|