0_0_38549332_730.cpp:7:19: error: expected primary-expression before ';' token
const int maxn = ;
^
0_0_38549332_730.cpp:8:14: error: size of array 'pre' is not an integral constant-expression
int pre[maxn],ch[maxn][],key[maxn],addv[maxn],rev[maxn],siz[maxn];
^
0_0_38549332_730.cpp:8:25: error: declaration of 'ch' as multidimensional array must have bounds for all dimensions except the first
int pre[maxn],ch[maxn][],key[maxn],addv[maxn],rev[maxn],siz[maxn];
^
0_0_38549332_730.cpp:8:35: error: size of array 'key' is not an integral constant-expression
int pre[maxn],ch[maxn][],key[maxn],addv[maxn],rev[maxn],siz[maxn];
^
0_0_38549332_730.cpp:8:46: error: size of array 'addv' is not an integral constant-expression
int pre[maxn],ch[maxn][],key[maxn],addv[maxn],rev[maxn],siz[maxn];
^
0_0_38549332_730.cpp:8:56: error: size of array 'rev' is not an integral constant-expression
int pre[maxn],ch[maxn][],key[maxn],addv[maxn],rev[maxn],siz[maxn];
^
0_0_38549332_730.cpp:8:66: error: size of array 'siz' is not an integral constant-expression
int pre[maxn],ch[maxn][],key[maxn],addv[maxn],rev[maxn],siz[maxn];
^
0_0_38549332_730.cpp:9:27: error: size of array 's' is not an integral constant-expression
int tot1,tot2,root,s[maxn]; //sΪÄÚ´æ³Ø
^
0_0_38549332_730.cpp:10:12: error: size of array 'a' is not an integral constant-expression
int a[maxn],n,m,k1,k2;
^
0_0_38549332_730.cpp: In function 'void update_rev(int)':
0_0_38549332_730.cpp:22:11: error: 'ch' was not declared in this scope
swap(ch[r][],ch[r][]);
^
0_0_38549332_730.cpp:22:17: error: expected primary-expression before ']' token
swap(ch[r][],ch[r][]);
^
0_0_38549332_730.cpp:22:25: error: expected primary-expression before ']' token
swap(ch[r][],ch[r][]);
^
0_0_38549332_730.cpp:23:16: error: expected primary-expression before ';' token
rev[r] ^= ;
^
0_0_38549332_730.cpp: In function 'void push_down(int)':
0_0_38549332_730.cpp:29:21: error: 'ch' was not declared in this scope
update_rev(ch[r][]);
^
0_0_38549332_730.cpp:29:27: error: expected primary-expression before ']' token
update_rev(ch[r][]);
^
0_0_38549332_730.cpp:30:27: error: expected primary-expression before ']' token
update_rev(ch[r][]);
^
0_0_38549332_730.cpp:31:19: error: expected primary-expression before ';' token
rev[r] = ;
^
0_0_38549332_730.cpp:35:21: error: 'ch' was not declared in this scope
update_add(ch[r][],addv[r]);
^
0_0_38549332_730.cpp:35:27: error: expected primary-expression before ']' token
update_add(ch[r][],addv[r]);
^
0_0_38549332_730.cpp:36:27: error: expected primary-expression before ']' token
update_add(ch[r][],addv[r]);
^
0_0_38549332_730.cpp:37:20: error: expected primary-expression before ';' token
addv[r] = ;
^
0_0_38549332_730.cpp: In function 'void push_up(int)':
0_0_38549332_730.cpp:42:19: error: 'ch' was not declared in this scope
siz[r] = siz[ch[r][]] + siz[ch[r][]] + ;
^
0_0_38549332_730.cpp:42:25: error: expected primary-expression before ']' token
siz[r] = siz[ch[r][]] + siz[ch[r][]] + ;
^
0_0_38549332_730.cpp:42:40: error: expected primary-expression before ']' token
siz[r] = siz[ch[r][]] + siz[ch[r][]] + ;
^
0_0_38549332_730.cpp:42:45: error: expected primary-expression before ';' token
siz[r] = siz[ch[r][]] + siz[ch[r][]] + ;
^
0_0_38549332_730.cpp: In function 'void NewNode(int&, int, int)':
0_0_38549332_730.cpp:51:15: error: expected primary-expression before ';' token
siz[r] = ;
^
0_0_38549332_730.cpp:52:15: error: expected primary-expression before ';' token
rev[r] = ;
^
0_0_38549332_730.cpp:53:16: error: expected primary-expression before ';' token
addv[r] = ;
^
0_0_38549332_730.cpp:54:6: error: 'ch' was not declared in this scope
ch[r][] = ch[r][] = ;
^
0_0_38549332_730.cpp:54:12: error: expected primary-expression before ']' token
ch[r][] = ch[r][] = ;
^
0_0_38549332_730.cpp:54:22: error: expected primary-expression before ']' token
ch[r][] = ch[r][] = ;
^
0_0_38549332_730.cpp:54:26: error: expected primary-expression before ';' token
ch[r][] = ch[r][] = ;
^
0_0_38549332_730.cpp: In function 'void build(int&, int, int, int)':
0_0_38549332_730.cpp:61:27: error: expected primary-expression before ';' token
int mid = (l + r) >> ;
^
0_0_38549332_730.cpp:63:12: error: 'ch' was not declared in this scope
build(ch[x][],l,mid-,x);
^
0_0_38549332_730.cpp:63:18: error: expected primary-expression before ']' token
build(ch[x][],l,mid-,x);
^
0_0_38549332_730.cpp:63:26: error: expected primary-expression before ',' token
build(ch[x][],l,mid-,x);
^
0_0_38549332_730.cpp:64:18: error: expected primary-expression before ']' token
build(ch[x][],mid+,r,x);
^
0_0_38549332_730.cpp:64:24: error: expected primary-expression before ',' token
build(ch[x][],mid+,r,x);
^
0_0_38549332_730.cpp: In function 'void init()':
0_0_38549332_730.cpp:69:27: error: expected primary-expression before ';' token
tot1 = tot2 = root = ;
^
0_0_38549332_730.cpp:70:19: error: expected primary-expression before ';' token
for (int i = ; i <= n; i++)
^
0_0_38549332_730.cpp:72:19: error: expected primary-expression before ',' token
NewNode(root,,inf);
^
0_0_38549332_730.cpp:73:14: error: 'ch' was not declared in this scope
NewNode(ch[root][],root,inf);
^
0_0_38549332_730.cpp:73:23: error: expected primary-expression before ']' token
NewNode(ch[root][],root,inf);
^
0_0_38549332_730.cpp:74:24: error: expected primary-expression before ']' token
build(ch[ch[root][]][],,n,ch[root][]);
^
0_0_38549332_730.cpp:74:27: error: expected primary-expression before ']' token
build(ch[ch[root][]][],,n,ch[root][]);
^
0_0_38549332_730.cpp:74:29: error: expected primary-expression before ',' token
build(ch[ch[root][]][],,n,ch[root][]);
^
0_0_38549332_730.cpp:74:41: error: expected primary-expression before ']' token
build(ch[ch[root][]][],,n,ch[root][]);
^
0_0_38549332_730.cpp:76:23: error: expected primary-expression before ']' token
push_up(ch[root][]);
^
0_0_38549332_730.cpp: In function 'void Rotate(int, int)':
0_0_38549332_730.cpp:83:6: error: 'ch' was not declared in this scope
ch[y][!kind] = ch[r][kind];
^
0_0_38549332_730.cpp:86:32: error: expected primary-expression before ']' token
ch[pre[y]][ch[pre[y]][] == y] = r;
^
0_0_38549332_730.cpp: In function 'void Splay(int, int)':
0_0_38549332_730.cpp:102:23: error: 'ch' was not declared in this scope
Rotate(r,ch[pre[r]][] == r);
^
0_0_38549332_730.cpp:102:34: error: expected primary-expression before ']' token
Rotate(r,ch[pre[r]][] == r);
^
0_0_38549332_730.cpp:107:26: error: 'ch' was not declared in this scope
int kind = (ch[pre[y]][] == y);
^
0_0_38549332_730.cpp:107:37: error: expected primary-expression before ']' token
int kind = (ch[pre[y]][] == y);
^
0_0_38549332_730.cpp:124:18: error: expected primary-expression before ')' token
if (goal == )
^
0_0_38549332_730.cpp: In function 'int Get_kth(int, int)':
0_0_38549332_730.cpp:130:18: error: 'ch' was not declared in this scope
int t = siz[ch[r][]] + ;
^
0_0_38549332_730.cpp:130:24: error: expected primary-expression before ']' token
int t = siz[ch[r][]] + ;
^
0_0_38549332_730.cpp:130:29: error: expected primary-expression before ';' token
int t = siz[ch[r][]] + ;
^
0_0_38549332_730.cpp:134:31: error: expected primary-expression before ']' token
return Get_kth(ch[r][],k);
^
0_0_38549332_730.cpp:136:31: error: expected primary-expression before ']' token
return Get_kth(ch[r][],k-t);
^
0_0_38549332_730.cpp: In function 'void ADD(int)':
0_0_38549332_730.cpp:140:26: error: expected primary-expression before ')' token
Splay (Get_kth(root,),);
^
0_0_38549332_730.cpp:140:28: error: expected primary-expression before ')' token
Sp
|