september.cpp:30:78: error: invalid declarator before '&' token
30 | int solveM(int N, vector<int> &F, vector<int> S), vector<unordered_set<int>> &adjList;{
| ^
september.cpp:30:87: error: expected unqualified-id before '{' token
30 | int solveM(int N, vector<int> &F, vector<int> S), vector<unordered_set<int>> &adjList;{
| ^
september.cpp: In function 'int solve(int, int, std::vector<int>, std::vector<std::vector<int> >)':
september.cpp:56:19: error: no matching function for call to 'std::vector<std::unordered_set<int> >::resize()'
56 | adjList.resize();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/11/vector:67,
from /usr/include/c++/11/functional:62,
from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
from september.cpp:1:
/usr/include/c++/11/bits/stl_vector.h:937:7: note: candidate: 'void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::unordered_set<int>; _Alloc = std::allocator<std::unordered_set<int> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int]'
937 | resize(size_type __new_size)
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:937:7: note: candidate expects 1 argument, 0 provided
/usr/include/c++/11/bits/stl_vector.h:957:7: note: candidate: 'void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = std::unordered_set<int>; _Alloc = std::allocator<std::unordered_set<int> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = std::unordered_set<int>]'
957 | resize(size_type __new_size, const value_type& __x)
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:957:7: note: candidate expects 2 arguments, 0 provided
september.cpp:62:61: error: too many arguments to function 'int solveM(int, std::vector<int>&, std::vector<int>)'
62 | for(int j = 0; j < M; j++) minSize = min(minSize, solveM(N, F, S[j], adjList));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
september.cpp:30:5: note: declared here
30 | int solveM(int N, vector<int> &F, vector<int> S), vector<unordered_set<int>> &adjList;{
| ^~~~~~