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