| Problem | worldmap |
|---|---|
| User | pasit |
| Submission Time | 2026-07-13 16:51:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
worldmap.cpp: In function ‘void fil(std::vector<int>&, int)’:
worldmap.cpp:17:16: error: ‘n’ was not declared in this scope; did you mean ‘nw’?
17 | ans.push_back(n);
| ^
| nw
worldmap.cpp: In function ‘std::vector<std::vector<int> > create_map(int, int, std::vector<int>, std::vector<int>)’:
worldmap.cpp:36:24: error: no match for ‘operator=’ (operand types are ‘std::vector<bool>’ and ‘std::vector<int>’)
36 | vis = vector<int>(N, 0);
| ^
In file included from /usr/include/c++/9/vector:68,
from worldmap.h:1,
from worldmap.cpp:1:
/usr/include/c++/9/bits/stl_bvector.h:717:7: note: candidate: ‘std::vector<bool, _Alloc>& std::vector<bool, _Alloc>::operator=(const std::vector<bool, _Alloc>&) [with _Alloc = std::allocator<bool>]’
717 | operator=(const vector& __x)<