Problem milkweed
User kahchun
Submission Time 2023-11-13 19:35:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

milkweed.cpp: In function ‘long long int bfs(long long int, long long int, long long int, long long int)’:
milkweed.cpp:25:56: error: no matching function for call to ‘std::queue<std::pair<std::pair<long long int, long long int>, long long int> >::push(std::pair<std::pair<long long int, long long int>, long int (*)(long int*) noexcept>)’
25 | q.push(make_pair(make_pair(newMx, newMy), time + 1));
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from milkweed.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:259:7: note: candidate: ‘void std::queue<_Tp, _Sequence>::push(const value_type&) [with _Tp = std::pair<std::pair<long long int, long long int>, long long int>; _Sequence = std::deque<std::pair<std::pair<long long int, long long int>, long long in