Problem | september |
---|---|
User | sporknives |
Submission Time | 2025-05-18 21:18:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
september.cpp: In function ‘int solve(int, int, std::vector<int>, std::vector<std::vector<int> >)’:
september.cpp:17:13: error: no match for ‘operator=’ (operand types are ‘std::vector<bool>’ and ‘std::vector<bool>*’)
17 | v = new vector<bool>;
| ^~~~~~~~~~~~
In file included from /usr/include/c++/9/vector:68,
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 september.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)
| ^~~~~~~~
/