train.cpp: In function 'int dfs(int)':
train.cpp:29:16: 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=0; i<ms[x].size(); i++){
| ~^~~~~~~~~~~~~
train.cpp:33:2: error: 'sad' was not declared in this scope; did you mean 'std'?
33 | sad[x]=0;
| ^~~
| std
train.cpp: In function 'std::vector<int> who_wins(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
train.cpp:60:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(int j=0; j<ms[i].size(); j++){
| ~^~~~~~~~~~~~~
train.cpp: In function 'int dfs(int)':
train.cpp:32:14: warning: control reaches end of non-void function [-Wreturn-type]
32 | put.pop_back();
| ~~~~~~~~~~~~^~