minerals.cpp: In function 'void findpar(std::vector<int>, int)':
minerals.cpp:33:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for (int i = 0; i < v.size(); ++i){
| ~~^~~~~~~~~~
minerals.cpp:49:21: warning: unused variable 'z' [-Wunused-variable]
49 | int z = Query(q.front() + 1);
| ^
minerals.cpp:54:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for (int i = 0; i < v.size(); ++i){
| ~~^~~~~~~~~~
minerals.cpp: In function 'void Solve(int)':
minerals.cpp:72:14: error: too few arguments to function 'void findpar(std::vector<int>, int)'
72 | findpar(v);
| ^
minerals.cpp:25:6: note: declared here
25 | void findpar(vector<int> v, int val){
| ^~~~~~~