gap.cpp: In function 'int main()':
gap.cpp:6:20: warning: 'k' is used uninitialized in this function [-Wuninitialized]
6 | vector<int> a(k);
| ^
gap.cpp:5:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
5 | int n,k;
| ^
/usr/bin/ld: /tmp/ccu6k3LK.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccVSZdrL.o:gap.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccu6k3LK.o: in function `main':
grader.cpp:(.text.startup+0x1b7): undefined reference to `findGap(int, int)'
collect2: error: ld returned 1 exit status