coins.cpp: In function 'std::vector<int> coin_flips(std::vector<int>, int)':
coins.cpp:5:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | for(int i=0;i<b.size();i++){
| ~^~~~~~~~~
coins.cpp:7:19: 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<b.size();i++){
| ~^~~~~~~~~
coins.cpp:8:18: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
8 | if(o^b[i]==c){
coins.cpp: In function 'int find_coin(std::vector<int>)':
coins.cpp:15:18: 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<b.size();i++){
| ~^~~~~~~~~
coins.cpp: In function 'std::vector<int> coin_flips(std::vector<int>, int)':
coins.cpp:13:1: warning: control reaches end of non-void function [-Wreturn-type]
13 | }int find_coin(vector<int> b){
| ^