gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:15:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
15 | if (num_examined == n)
| ~~~~~~~~~~~~~^~~~
gap.cpp:18:42: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
18 | while (a + 1 < b && num_examined < n)
| ~~~~~~~~~~~~~^~~
gap.cpp:20:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
20 | if (num_examined == n - 1)
| ~~~~~~~~~~~~~^~~~~~~~
gap.cpp:32:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
32 | if (num_examined == n)
| ~~~~~~~~~~~~~^~~~
gap.cpp:43:1: warning: control reaches end of non-void function [-Wreturn-type]
43 | }
| ^