zalmoxis.cpp: In function 'int main()':
zalmoxis.cpp:20:14: warning: variable 'ad' set but not used [-Wunused-but-set-variable]
20 | bool ad=false;
| ^~
zalmoxis.cpp:52:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for(int i=3;i<v.size();i++)
| ~^~~~~~~~~
zalmoxis.cpp:65:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for(int j=0;j<plc[i].size();j++)
| ~^~~~~~~~~~~~~~
zalmoxis.cpp:70:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | for(int i=0;i<v.size();i++)
| ~^~~~~~~~~
zalmoxis.cpp:74:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for(int i=0;i<ans.size();i++)
| ~^~~~~~~~~~~
zalmoxis.cpp:78:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
78 | for(int i=0;i<(n+k)-ans.size();i++)
| ~^~~~~~~~~~~~~~~~~