baloni.cpp: In function 'int main()':
baloni.cpp:17:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for (int i = 0; i < d.size(); i++) {
| ~~^~~~~~~~~~
baloni.cpp:30:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for (int i = maxi; i < d.size() - 1; i++) {
| ~~^~~~~~~~~~~~~~
baloni.cpp:40:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if (ua != -1 && ua < d.size()) {
| ~~~^~~~~~~~~~