foo.cc: In function ‘void solve_1062(std::vector<int>&)’:
foo.cc:25:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
25 | while(pt < data.size()) {
| ~~~^~~~~~~~~~~~~
foo.cc:35:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35 | for(auto i=0;i<sequence.size();i++) {
| ~^~~~~~~~~~~~~~~~
foo.cc:48:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
48 | for(auto i=0;i<ans.size();i++) {
| ~^~~~~~~~~~~
foo.cc:49:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
49 | if(i < ans.size()-1) {
| ~~^~~~~~~~~~~~~~