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