treasure.cpp: In function 'int main()':
treasure.cpp:20:8: warning: unused variable 'l' [-Wunused-variable]
20 | int l, tl, t; // left, top left, top
| ^
treasure.cpp:20:11: warning: unused variable 'tl' [-Wunused-variable]
20 | int l, tl, t; // left, top left, top
| ^~
treasure.cpp:20:15: warning: unused variable 't' [-Wunused-variable]
20 | int l, tl, t; // left, top left, top
| ^
/usr/bin/ld: /tmp/cc5sSqQV.o: in function `main':
treasure.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cchNV8WW.o:grader.c:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cchNV8WW.o: in function `main':
grader.c:(.text.startup+0x103): undefined reference to `findTreasure(int)'
collect2: error: ld returned 1 exit status