0_0_16349509_22114.cpp: In function 'void build_tree(int, int, int)':
0_0_16349509_22114.cpp:17:15: error: 'l' was not declared in this scope
#define mid ((l+r)>>1)
^
0_0_16349509_22114.cpp:89:13: note: in expansion of macro 'mid'
int mid = (L+R) >> 1;
^
0_0_16349509_22114.cpp:17:17: error: 'r' was not declared in this scope
#define mid ((l+r)>>1)
^
0_0_16349509_22114.cpp:89:13: note: in expansion of macro 'mid'
int mid = (L+R) >> 1;
^
0_0_16349509_22114.cpp: In function 'void update1(int, int, int)':
0_0_16349509_22114.cpp:17:15: error: 'l' was not declared in this scope
#define mid ((l+r)>>1)
^
0_0_16349509_22114.cpp:106:13: note: in expansion of macro 'mid'
int mid = (L+R)>>1;
^
0_0_16349509_22114.cpp:17:17: error: 'r' was not declared in this scope
#define mid ((l+r)>>1)
^
0_0_16349509_22114.cpp:106:13: note: in expansion of macro 'mid'
int mid = (L+R)>>1;
^
0_0_16349509_22114.cpp: In function 'void update2(int, int, SgTreeDataType, int)':
0_0_16349509_22114.cpp:17:15: error: 'l' was not declared in this scope
#define mid ((l+r)>>1)
^
0_0_16349509_22114.cpp:119:13: note: in expansion of macro 'mid'
int mid = (L+R)>>1;
^
0_0_16349509_22114.cpp:17:17: error: 'r' was not declared in this scope
#define mid ((l+r)>>1)
^
0_0_16349509_22114.cpp:119:13: note: in expansion of macro 'mid'
int mid = (L+R)>>1;
^
0_0_16349509_22114.cpp: In function 'SgTreeDataType query(int, int, int)':
0_0_16349509_22114.cpp:17:15: error: 'l' was not declared in this scope
#define mid ((l+r)>>1)
^
0_0_16349509_22114.cpp:132:13: note: in expansion of macro 'mid'
int mid = (L+R)>>1;
^
0_0_16349509_22114.cpp:17:17: error: 'r' was not declared in this scope
#define mid ((l+r)>>1)
^
0_0_16349509_22114.cpp:132:13: note: in expansion of macro 'mid'
int mid = (L+R)>>1;
^
|