mushrooms.cpp: In function 'int use_machine(std::vector<int>)':
mushrooms.cpp:17:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for(int i=1;i<v.size();i++){
| ~^~~~~~~~~
mushrooms.cpp: In function 'int count_mushrooms(int)':
mushrooms.cpp:52:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for(int j=cur;j<b.size();j++){
| ~^~~~~~~~~
mushrooms.cpp:72:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for(int j=cur;j<a.size();j++){
| ~^~~~~~~~~
/usr/bin/ld: /tmp/ccwb5gnE.o: in function `use_machine(std::vector<int, std::allocator<int> >)':
stub.cpp:(.text+0x150): multiple definition of `use_machine(std::vector<int, std::allocator<int> >)'; /tmp/ccZyp89A.o:mushrooms.cpp:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status