mushrooms.cpp: In function 'int count_mushrooms1(int)':
mushrooms.cpp:51:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for (int i = 0; i < unknown.size(); i++) {
| ~~^~~~~~~~~~~~~~~~
mushrooms.cpp:55:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for (int j = 1; j < s && i + j - 1 < unknown.size(); j++) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~
/tmp/ccqo2eDX.o: In function `main':
stub.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccBx8xZZ.o:mushrooms.cpp:(.text.startup+0x0): first defined here
/tmp/ccqo2eDX.o: In function `main':
stub.cpp:(.text.startup+0x87): undefined reference to `count_mushrooms(int)'
collect2: error: ld returned 1 exit status