pastiri.cpp: In function 'int main()':
pastiri.cpp:21:16: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int i=0; i<pos.size(); i++){
| ~^~~~~~~~~~~
pastiri.cpp:22:7: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | if(i==pos.size()-1) ans.pb(pos[i]);
| ~^~~~~~~~~~~~~~
pastiri.cpp:25:7: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | if(i<pos.size()-1 && (pos[i+1]-pos[i])%2==0) i++;
| ~^~~~~~~~~~~~~