split.cpp: In function 'std::vector<int> find_split(int, int, int, int, std::vector<int>, std::vector<int>)':
split.cpp:7:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | for (int i = 0; i < p.size(); i++) {
| ~~^~~~~~~~~~
split.cpp:19:44: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
19 | while (!cola.empty() && nodes_b.size() < b) {
| ~~~~~~~~~~~~~~~^~~
split.cpp:31:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
31 | if (nodes_b.size() != b) {
| ~~~~~~~~~~~~~~~^~~~
split.cpp:39:43: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
39 | if (ans[i] == 0 && nodes_c.size() < c) {
| ~~~~~~~~~~~~~~~^~~
split.cpp:44:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
44 | if (nodes_c.size() != c) {
| ~~~~~~~~~~~~~~~^~~~