0_0_36333552_29343.cpp:48:20: error: 'vector' has not been declared
bool isCovered(vector<vector<int>>& ranges, int left, int right) {
^
0_0_36333552_29343.cpp:48:26: error: expected ',' or '...' before '<' token
bool isCovered(vector<vector<int>>& ranges, int left, int right) {
^
0_0_36333552_29343.cpp: In member function 'bool Solution::query(int, int, int, int, int)':
0_0_36333552_29343.cpp:40:42: error: 'min' was not declared in this scope
if(!query(lson, a, min(b, mid))) return false;
^
0_0_36333552_29343.cpp:43:43: error: 'max' was not declared in this scope
if(!query(rson, max(mid + 1, a), b)) return false;
^
0_0_36333552_29343.cpp: In member function 'bool Solution::isCovered(int)':
0_0_36333552_29343.cpp:49:33: error: 'memset' was not declared in this scope
memset(tr, 0, sizeof(tr));
^
0_0_36333552_29343.cpp:50:23: error: 'ranges' was not declared in this scope
for (auto x : ranges) {
^
0_0_36333552_29343.cpp:53:32: error: 'left' was not declared in this scope
return query(1, 1, 50, left, right);
^
0_0_36333552_29343.cpp:53:38: error: 'right' was not declared in this scope
return query(1, 1, 50, left, right);
^
|