/usr/bin/ld: /tmp/cctIwvgX.o: in function `main':
grader.c:(.text.startup+0x0): multiple definition of `main'; /tmp/cctCLyFo.o:cave.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cctCLyFo.o: in function `exploreCave(int)':
cave.cpp:(.text+0x169): undefined reference to `tryCombination(int*)'
/usr/bin/ld: cave.cpp:(.text+0x19f): undefined reference to `tryCombination(int*)'
/usr/bin/ld: cave.cpp:(.text+0x1cb): undefined reference to `tryCombination(int*)'
/usr/bin/ld: cave.cpp:(.text+0x22c): undefined reference to `tryCombination(int*)'
/usr/bin/ld: cave.cpp:(.text+0x212): undefined reference to `answer(int*, int*)'
/usr/bin/ld: /tmp/cctIwvgX.o: in function `main':
grader.c:(.text.startup+0x10): undefined reference to `exploreCave'
collect2: error: ld returned 1 exit status