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

Compile Error

collectmushrooms.cpp:43:28: error: ‘auto’ parameter not permitted in this context
43 | void RMQ(int arr[], int n, deque<<int, int>> deq, int m) {
| ^~~~~
collectmushrooms.cpp:43:33: error: expected ‘,’ or ‘...’ before ‘<<’ token
43 | 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:48:18: error: ‘m’ was not declared in this scope
48 | for (i = 0; i < m; i++)
| ^
collectmushrooms.cpp:51:11: error: ‘deq’ was not declared in this scope
51 | int L = deq.at(i).first;
| ^~~
collectmushrooms.cpp: In function ‘int main()’:
collectmushrooms.cpp:74:14: error: ‘b’ was not declared in this scope
74 | cin>>t>>a>>b;
| ^
collectmushrooms.cpp:7