0_0_30638665_1209.cpp:38:28: error: stray '#' in program
if (L <= m) update(L, R, lson);
^
0_0_30638665_1209.cpp:39:27: error: stray '#' in program
if (m < R) update(L, R, rson);
^
0_0_30638665_1209.cpp: In function 'void update(int, int, int, int, int)':
0_0_30638665_1209.cpp:10:12: error: expected primary-expression before 'long'
#define LL long long
^
0_0_30638665_1209.cpp:32:14: note: in expansion of macro 'LL'
sum[rt] = (LL(sqrt(sum[rt])));//¿ÓµãÈý
^
0_0_30638665_1209.cpp:10:12: error: expected ')' before 'long'
#define LL long long
^
0_0_30638665_1209.cpp:32:14: note: in expansion of macro 'LL'
sum[rt] = (LL(sqrt(sum[rt])));//¿ÓµãÈý
^
0_0_30638665_1209.cpp:38:29: error: lvalue required as unary '&' operand
if (L <= m) update(L, R, lson);
^
0_0_30638665_1209.cpp:38:37: error: expected ';' before ')' token
if (L <= m) update(L, R, lson);
^
0_0_30638665_1209.cpp:39:28: error: lvalue required as unary '&' operand
if (m < R) update(L, R, rson);
^
0_0_30638665_1209.cpp:39:36: error: expected ';' before ')' token
if (m < R) update(L, R, rson);
^
|