malnarisc.cpp: In function 'int solve(int, int)':
malnarisc.cpp:29:18: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<std::pair<int, int> > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
29 | if (ans.size() <= ret) ans.push_back(vpi());
| ~~~~~~~~~~~^~~~~~
malnarisc.cpp:35:19: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<std::pair<int, int> > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
35 | if (ans.size() <= ret) ans.push_back(vpi());
| ~~~~~~~~~~~^~~~~~
malnarisc.cpp: In function 'int main()':
malnarisc.cpp:75:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for (int i = 0; i < V.size(); i++)
| ~~^~~~~~~~~~
malnarisc.cpp:77:70: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | cout << "CMPSWP R" << V[i].fst << " R" << V[i].snd << " \n"[i + 1 == V.size()];
| ~~~~~~^~~~~~~~~~~