foo.cc: In member function ‘PloyListNode PloyListNode::operator+(PloyListNode)’:
foo.cc:17:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
17 | for (int i=0;i<node.size();i++)
| ~^~~~~~~~~~~~
foo.cc:19:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
19 | for (int i=0;i<p.node.size();i++){
| ~^~~~~~~~~~~~~~
foo.cc:20:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
20 | for (int j=0;j<newv.size();j++){
| ~^~~~~~~~~~~~
foo.cc: In member function ‘PloyListNode PloyListNode::operator*(PloyListNode)’:
foo.cc:36:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
36 | for (int i=0;i<node.size();i++){
| ~^~~~~~~~~~~~
foo.cc:37:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
37 | for (int j=0;j<p.node.size();j++){
| ~^~~~~~~~~~~~~~
foo.cc: In member function ‘int PloyListNode::out(int)’:
foo.cc:61:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
61 | for (int i=0;i<node.size();i++)
| ~^~~~~~~~~~~~
foo.cc: In function ‘std::ostream& operator<<(std::ostream&, PloyListNode)’:
foo.cc:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
70 | for (int i=0;i<p.node.size();i++)
| ~^~~~~~~~~~~~~~
foo.cc: In function ‘int main()’:
foo.cc:80:29: warning: unused variable ‘x’ [-Wunused-variable]
80 | int n,m;int a,b;int x;
| ^