mushrooms.cpp: In function 'int count_mushrooms(int)':
mushrooms.cpp:10:12: error: 'use_machine' was not declared in this scope
10 | nr[use_machine({0,i})].push_back(i);
| ^~~~~~~~~~~
mushrooms.cpp:15:47: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'int' [-Wsign-compare]
15 | for(;i<n && max(nr[0].size(),nr[1].size())<lim;i=i+2)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
mushrooms.cpp:18:17: error: 'use_machine' was not declared in this scope
18 | rez=use_machine({nr[ok][0],i,nr[ok][1],i+1});
| ^~~~~~~~~~~
mushrooms.cpp:20:17: error: 'use_machine' was not declared in this scope
20 | rez=use_machine({nr[ok][0],i,nr[ok][1]});
| ^~~~~~~~~~~
mushrooms.cpp:39:11: error: 'use_machine' was not declared in this scope
39 | rez=use_machine(aux);
| ^~~~~~~~~~~