0_0_14976064_32482.cpp:12:1: error: expected unqualified-id before 'int'
int num[22][N];
^
0_0_14976064_32482.cpp: In function 'void build(int, int, int)':
0_0_14976064_32482.cpp:38:3: error: 'num' was not declared in this scope
num[h][i]=num[h][i-1]+flag;
^
0_0_14976064_32482.cpp: In function 'long long int query(int, int, int, int, int, int)':
0_0_14976064_32482.cpp:48:9: error: 'num' was not declared in this scope
int lx=num[h][l-1]-num[h][ll-1];
^
|