minerals.cpp: In function 'void findpar(std::vector<int>)':
minerals.cpp:37:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int i = 0; i < v.size(); ++i){
| ~~^~~~~~~~~~
/usr/bin/ld: /tmp/cccxG1NC.o: in function `Query(int)':
grader.cpp:(.text+0x30): multiple definition of `Query(int)'; /tmp/ccG0SDeG.o:minerals.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/cccxG1NC.o: in function `Answer(int, int)':
grader.cpp:(.text+0x100): multiple definition of `Answer(int, int)'; /tmp/ccG0SDeG.o:minerals.cpp:(.text+0x2e0): first defined here
collect2: error: ld returned 1 exit status