/in/foo.cc: In function 'void add(std::vector<int>)':
/in/foo.cc:38:18: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
38 | if (p.size() >= lim)
| ~~~~~~~~~^~~~~~
/in/foo.cc:47:37: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'unsigned int' [-Wsign-compare]
47 | if (p[p.size() - 1] <= j && j <= p[i])
/in/foo.cc:47:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare]
47 | if (p[p.size() - 1] <= j && j <= p[i])
/in/foo.cc:57:30: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'unsigned int' [-Wsign-compare]
57 | if (p[i - 1] <= j && j <= p[i])
/in/foo.cc:57:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare]
57 | if (p[i - 1] <= j && j <= p[i])
/in/foo.cc:70:29: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'unsigned int' [-Wsign-compare]
70 | if (p[p.size() - 1] <= j && j <= p[0])
/in/foo.cc:70:39: warning: comparison of integer expressions of different signedness: 'unsigned int' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wsign-compare]
70 | if (p[p.size() - 1] <= j && j <= p[0])
/in/foo.cc: In function 'void bfs()':
/in/foo.cc:135:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
135 | if (h.k.size() > lim)
| ~~~~~~~~~~~^~~~~