0_0_13806807_11577.cpp: In function 'void build(int, int, int)':
0_0_13806807_11577.cpp:43:1: error: 'intmid' was not declared in this scope
intmid=(lt+rt)/2;
^
0_0_13806807_11577.cpp:60:10: error: 'mid' was not declared in this scope
build(lt,mid,2*v);
^
0_0_13806807_11577.cpp: In function 'void update(int, int, int, int)':
0_0_13806807_11577.cpp:73:1: error: 'intmid' was not declared in this scope
intmid=(d[v].b+d[v].e)/2;
^
0_0_13806807_11577.cpp:86:8: error: 'mid' was not declared in this scope
if(rt<=mid)
^
0_0_13806807_11577.cpp: In function 'int query(int, int, int)':
0_0_13806807_11577.cpp:113:1: error: 'intmid' was not declared in this scope
intmid=(d[v].b+d[v].e)/2;
^
0_0_13806807_11577.cpp:120:8: error: 'mid' was not declared in this scope
if(rt<=mid)
^
0_0_13806807_11577.cpp:121:22: error: 'returnquery' was not declared in this scope
returnquery(lt,rt,2*v);
^
|