september.cpp:19:4: error: ambiguating new declaration of 'll solve(int, int, std::vector<int>, std::vector<std::vector<int> >)'
19 | ll solve(int N, int M, vector<int> F, vector<vector<int>>S) {
| ^~~~~
In file included from september.cpp:2:
september.h:3:5: note: old declaration 'int solve(int, int, std::vector<int>, std::vector<std::vector<int> >)'
3 | int solve(int N, int M, std::vector<int> F, std::vector<std::vector<int>> S);
| ^~~~~
september.cpp: In function 'll solve(int, int, std::vector<int>, std::vector<std::vector<int> >)':
september.cpp:30:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int i =0;i<S[c].size();i++){
| ~^~~~~~~~~~~~
september.cpp:35:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | while(i < S[c].size()){
| ~~^~~~~~~~~~~~~
september.cpp:36:7: warning: unused variable 'j' [-Wunused-variable]
36 | int j = dp[S[c][i]];
| ^