| Problem | splithunny |
|---|---|
| User | help |
| Submission Time | 2026-08-23 18:20:17 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:24:37: error: no matching function for call to ‘std::vector<std::vector<bool> >::resize(int&, std::vector<char>)’
24 | visited.resize(a,vector<char>(b));
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from splithunny.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:934:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::vector<bool>; _Alloc = std::allocator<std::vector<bool> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’
934 | resize(