Problem | milkweed |
---|---|
User | Kanish |
Submission Time | 2023-11-11 23:28:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
milkweed.cpp: In function ‘int milkweed_invasion(int, int, int, int, const std::vector<std::__cxx11::basic_string<char> >&)’:
milkweed.cpp:14:23: error: no matching function for call to ‘std::queue<std::tuple<int, int, int> >::push(<brace-enclosed initializer list>)’
14 | q.push({Mx, My, 0});
| ^
In file included from /usr/include/c++/9/queue:64,
from milkweed.cpp:3:
/usr/include/c++/9/bits/stl_queue.h:259:7: note: candidate: ‘void std::queue<_Tp, _Sequence>::push(const value_type&) [with _Tp = std::tuple<int, int, int>; _Sequence = std::deque<std::tuple<int, int, int>, std::allocator<std::tuple<int, int, int> > >; std::queue<_Tp, _Sequence>::value_type = std::tuple<int, int, int>]’
259 | push(const value_type& __x)
| ^~~~
/usr/include/c++/9/bits/stl_queue.h:259:30: note: no known conversion for argument 1 fro