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