Problem | collectmushrooms |
---|---|
User | Dynonychus |
Submission Time | 2024-01-10 23:45:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
collectmushrooms.cpp:6:34: error: expected ‘)’ before ‘;’ token
6 | vector<vector<int>> arr((2849485);
| ~ ^
| )
collectmushrooms.cpp: In function ‘void fill(std::deque<long long int>, long long int)’:
collectmushrooms.cpp:18:3: error: ‘sear’ was not declared in this scope
18 | sear[i][0] = i;
| ^~~~
collectmushrooms.cpp:23:13: error: ‘sear’ was not declared in this scope
23 | if (deqq[sear[i][j - 1]]
| ^~~~
collectmushrooms.cpp: In function ‘long long int query(std::deque<long long int>, long long int, long long int)’:
collectmushrooms.cpp:40:11: error: ‘sear’ was not declared in this scope
40 | if (deqq[sear[L][j]] >= deqq[sear[R - (1 << j) + 1][j]])
| ^~~~