Problem | splithunny |
---|---|
User | wtnetlegend |
Submission Time | 2025-03-19 03:00:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘void bfs(int, int, std::vector<std::vector<char> >&, std::vector<std::vector<bool> >&, int, int)’:
splithunny.cpp:7:13: error: ‘i’ was not declared in this scope
7 | q.push({i, j});
| ^
splithunny.cpp:7:16: error: ‘j’ was not declared in this scope
7 | q.push({i, j});
| ^
splithunny.cpp:7:18: error: no matching function for call to ‘std::queue<std::pair<int, int> >::push(<brace-enclosed initializer list>)’
7 | q.push({i, j});
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from splithunny.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<int, int>; _Sequence = std::deque<std::pair<i