cave.cpp: In function 'void exploreCave(int)':
cave.cpp:15:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
15 | for (size_t i = 0; i < n; i++)
| ~~^~~
cave.cpp:18:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
18 | for (size_t i = 0; i < n; i++)
| ~~^~~
cave.cpp:23:46: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
23 | bool next_on = (tryCombination(comb) == i);
| ~~~~~~~~~~~~~~~~~~~~~^~~~
cave.cpp:33:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
33 | if (tryCombination(comb) == i)
| ~~~~~~~~~~~~~~~~~~~~~^~~~