Problem | collectmushrooms |
---|---|
User | Dynonychus |
Submission Time | 2024-01-10 22:52:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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: In function ‘void RMQ(long long int*, long long int, std::deque<long long int>, long long int)’:
collectmushrooms.cpp:50:21: error: request for member ‘first’ in ‘deq.std::deque<long long int>::at(((std::deque<long long int>::size_type)i))’, which is of non-class type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’}
50 | int L = deq.at(i).first;
| ^~~~~
collectmushrooms.cpp:51:21: error: request for member ‘second’ in ‘deq.std::deque<long long int>::at(((std::deque<long long int>::size_type)i))’, which is of non-class type ‘__gnu_