0_0_17530476_4444.cpp:17:11: error: expected primary-expression before ']' token
}stu[MAXN*];
^
0_0_17530476_4444.cpp: In function 'void pushup(int)':
0_0_17530476_4444.cpp:20:2: error: 'stu' was not declared in this scope
stu[u].maxn=max(stu[2*u].maxn,stu[2*u+1].maxn);
^
0_0_17530476_4444.cpp: In function 'void build(int, int, int)':
0_0_17530476_4444.cpp:24:2: error: 'stu' was not declared in this scope
stu[u].lef=l;stu[u].rig=r;
^
0_0_17530476_4444.cpp: In function 'int query(int, int, int)':
0_0_17530476_4444.cpp:40:11: error: 'stu' was not declared in this scope
int mid=(stu[u].lef+stu[u].rig)/2;
^
0_0_17530476_4444.cpp: In function 'void update(int, int, int)':
0_0_17530476_4444.cpp:48:11: error: 'stu' was not declared in this scope
int mid=(stu[u].lef+stu[u].rig)/2;
^
|