0_0_25566450_12455.cpp:39:32: error: 'll' is not a type
ll query(ll rt,ll l,ll r,ll ll,ll rr)
^
0_0_25566450_12455.cpp: In function 'll query(ll, ll, ll, ll, int)':
0_0_25566450_12455.cpp:45:8: error: expected ';' before 'mid'
ll mid = (l + r) >> 1;
^
0_0_25566450_12455.cpp:46:8: error: expected ';' before 'x'
ll x = 0,y = 0;
^
0_0_25566450_12455.cpp:47:15: error: 'mid' was not declared in this scope
if (ll <= mid) x = query(rt << 1,l,mid,ll,rr);
^
0_0_25566450_12455.cpp:47:20: error: 'x' was not declared in this scope
if (ll <= mid) x = query(rt << 1,l,mid,ll,rr);
^
0_0_25566450_12455.cpp:48:14: error: 'mid' was not declared in this scope
if (rr > mid) y = query(rt << 1|1,mid + 1,r,ll,rr);
^
0_0_25566450_12455.cpp:48:19: error: 'y' was not declared in this scope
if (rr > mid) y = query(rt << 1|1,mid + 1,r,ll,rr);
^
0_0_25566450_12455.cpp:49:16: error: 'x' was not declared in this scope
return max(x,y);
^
0_0_25566450_12455.cpp:49:18: error: 'y' was not declared in this scope
return max(x,y);
^
|