0_0_23099967_22340.cpp: In function 'void built(int, int, int)':
0_0_23099967_22340.cpp:45:18: error: 'mid' was not declared in this scope
built(rt<<1,l,mid);
^
0_0_23099967_22340.cpp:48:42: error: 'max' was not declared in this scope
maxn[rt]=max(maxn[rt<<1],maxn[rt<<1|1]);
^
0_0_23099967_22340.cpp:49:42: error: 'min' was not declared in this scope
minn[rt]=min(minn[rt<<1],minn[rt<<1|1]);
^
0_0_23099967_22340.cpp: In function 'long long int query(int, int, int, int, int, int, int)':
0_0_23099967_22340.cpp:55:11: error: 'mid' was not declared in this scope
if(L<=mid){
^
0_0_23099967_22340.cpp:58:10: error: 'mid' was not declared in this scope
if(R>mid){
^
0_0_23099967_22340.cpp: In function 'long long int query_lca(int, int, int, int)':
0_0_23099967_22340.cpp:67:21: error: 'swap' was not declared in this scope
swap(x,y);
^
0_0_23099967_22340.cpp:69:28: error: 'n' was not declared in this scope
res=(res+query(1,1,n,dfn[top[x]],dfn[x],up,low));
^
0_0_23099967_22340.cpp:72:30: error: 'swap' was not declared in this scope
if(dfn[x]>dfn[y])swap(x,y);
^
0_0_23099967_22340.cpp:73:24: error: 'n' was not declared in this scope
res=(res+query(1,1,n,dfn[x],dfn[y],up,low));
^
0_0_23099967_22340.cpp: In function 'int main()':
0_0_23099967_22340.cpp:81:25: error: 'n' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF){
^
0_0_23099967_22340.cpp:81:28: error: 'm' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF){
^
0_0_23099967_22340.cpp:81:29: error: 'scanf' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF){
^
0_0_23099967_22340.cpp:81:32: error: 'EOF' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF){
^
0_0_23099967_22340.cpp:82:25: error: 'memset' was not declared in this scope
memset(he,0,sizeof(he));
^
0_0_23099967_22340.cpp:84:8: error: 'i' was not declared in this scope
F(i,1,n){
^
0_0_23099967_22340.cpp:84:13: error: 'F' was not declared in this scope
F(i,1,n){
^
|