Problem collectmushrooms
User Dynonychus
Submission Time 2024-01-10 23:46:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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]])
| ^~~~