Problem collectmushrooms
User Dynonychus
Submission Time 2024-01-10 22:52:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms.cpp: In function ‘void fill(long long int*, long long int)’:
collectmushrooms.cpp:21:26: error: invalid types ‘<unresolved overloaded function type>[long long int]’ for array subscript
21 | sear[i][j] = search[i][j - 1];
| ^
collectmushrooms.cpp: At global scope:
collectmushrooms.cpp:42:28: error: ‘auto’ parameter not permitted in this context
42 | void RMQ(int arr[], int n, deque<<int, int>> deq, int m) {
| ^~~~~
collectmushrooms.cpp:42:33: error: expected ‘,’ or ‘...’ before ‘<<’ token
42 | void RMQ(int arr[], int n, deque<<int, int>> deq, int m) {
| ^~
collectmushrooms.cpp: In function ‘void RMQ(long long int*, long long int)’:
collectmushrooms.cpp:47:18: error: ‘m’ was not declared in this scope
47 | for (i = 0; i < m; i++)
| ^
collectmushroom