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