dango3.cpp: In function 'void Solve(int, int)':
dango3.cpp:30:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | while(pos < w.size() && ans.size()+1 < n){
| ~~~~^~~~~~~~~~
dango3.cpp:30:40: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
30 | while(pos < w.size() && ans.size()+1 < n){
| ~~~~~~~~~~~~~^~~
dango3.cpp:37:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(int x=mid;x<w.size();x++){
| ~^~~~~~~~~
dango3.cpp:56:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | for(int x=0;x<w.size();x++){
| ~^~~~~~~~~
dango3.cpp:57:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | while(pos < ans.size() && ans[pos] < w[x]){
| ~~~~^~~~~~~~~~~~
dango3.cpp:60:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | if(pos < ans.size() && ans[pos] == w[x]) continue;
| ~~~~^~~~~~~~~~~~