september.cpp: In function 'int solve(int, int, std::vector<int>, std::vector<std::vector<int> >)':
september.cpp:26:30: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class std::vector<int>' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
26 | memset(idx, 0, sizeof idx);
| ^
In file included from /usr/include/c++/10/vector:67,
from september.h:1,
from september.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: 'class std::vector<int>' declared here
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
september.cpp:29:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i = 1;i < F.size(); i++){
| ~~^~~~~~~~~~
september.cpp:40:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int i = 0;i < vec.size(); i++){
| ~~^~~~~~~~~~~~
september.cpp:42:13: warning: unused variable 'y' [-Wunused-variable]
42 | int y = 0;
| ^
september.cpp: At global scope:
september.cpp:64:3: error: expected declaration before '}' token
64 | }
| ^