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