minerals.cpp: In function 'void solve()':
minerals.cpp:11:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(int i=0;i<v.size();i++)if(v[i].size()>=2)flag=false;
| ~^~~~~~~~~
minerals.cpp:15:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i=0;i<v.size();i++)
| ~^~~~~~~~~
minerals.cpp:25:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int j=sz+v[i].size()-cnt;j<sz+v[i].size();j++)a=Query(A[j]);
| ~^~~~~~~~~~~~~~~
minerals.cpp:35:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i=0;i<v.size();i++)
| ~^~~~~~~~~
minerals.cpp:48:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | else if(bit[i]==1&&cnt==Se.size())Fi.push_back(p);
| ~~~^~~~~~~~~~~
minerals.cpp:49:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | else if(bit[i]==0&&cnt==Fi.size())Se.push_back(p);
| ~~~^~~~~~~~~~~
minerals.cpp:14:9: warning: unused variable 'x' [-Wunused-variable]
14 | int x=0;
| ^
minerals.cpp: In function 'void Solve(int)':
minerals.cpp:83:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(int i=0;i<v.size();i++)if(v[i].size())ans.push_back(v[i][0]);
| ~^~~~~~~~~