pio.cpp: In function 'int main()':
pio.cpp:18:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | if (at < hull.size() - 1 and hull[at + 1] == i) at++;
| ~~~^~~~~~~~~~~~~~~~~
pio.cpp:19:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | while (cur < hull.size() - 1 and hull[cur] < i and h[hull[cur]] + sqrt(i - hull[cur]) < h[hull[at]] + sqrt(i - hull[at])) cur = at;
| ~~~~^~~~~~~~~~~~~~~~~
pio.cpp:31:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | if (at < hull.size() - 1 and hull[at + 1] == i) at++;
| ~~~^~~~~~~~~~~~~~~~~
pio.cpp:32:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | while (cur < hull.size() - 1 and hull[cur] < i and h[hull[cur]] + sqrt(i - hull[cur]) < h[hull[at]] + sqrt(i - hull[at])) cur = at;
| ~~~~^~~~~~~~~~~~~~~~~