/usr/bin/ld: /tmp/ccZ096ho.o: in function `Query(int)':
grader.cpp:(.text+0x30): multiple definition of `Query(int)'; /tmp/ccpNGF6p.o:minerals.cpp:(.text+0x30): first defined here
/usr/bin/ld: /tmp/ccZ096ho.o: in function `Answer(int, int)':
grader.cpp:(.text+0x100): multiple definition of `Answer(int, int)'; /tmp/ccpNGF6p.o:minerals.cpp:(.text+0x100): first defined here
/usr/bin/ld: /tmp/ccZ096ho.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccpNGF6p.o:minerals.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status