mushrooms.cpp: In function 'int count_mushrooms(int)':
mushrooms.cpp:20:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for (; akt < n && pt < znane[better].size(); akt++,pt++){
| ~~~^~~~~~~~~~~~~~~~~~~~~~
mushrooms.cpp:27:21: error: request for member 'push_back' in 'ile[((int)better)]', which is of non-class type 'int'
27 | ile[better].push_back(pom1-(wy+1)/2);
| ^~~~~~~~~
mushrooms.cpp:27:31: error: 'pom1' was not declared in this scope
27 | ile[better].push_back(pom1-(wy+1)/2);
| ^~~~
mushrooms.cpp:28:22: error: request for member 'push_back' in 'ile[((int)(! better))]', which is of non-class type 'int'
28 | ile[!better].push_back((wy+1)/2);
| ^~~~~~~~~