train.cpp: In function 'std::vector<int> who_wins(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
train.cpp:9:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | for(int i=0;i<u.size();i++){
| ~^~~~~~~~~
train.cpp:15:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i=0;i<a.size();i++){
| ~^~~~~~~~~
train.cpp:17:24: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
17 | if(r[i]*a[i]){
train.cpp:18:41: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
18 | while(win.size()<i)
| ~~~~~~~~~~^~
train.cpp:22:37: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
22 | while(win.size()<i)
| ~~~~~~~~~~^~
train.cpp:27:33: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
27 | while(win.size()<i)
| ~~~~~~~~~~^~