sir.cpp: In function 'void find_con()':
sir.cpp:7:37: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | #define lp(a, b, c) for(ll a = b; a <= c; ++a)
......
66 | lp(i, 1, pep.size() - 1){
| ~~~~~~~~~~~~~~~~~~~~
sir.cpp:66:5: note: in expansion of macro 'lp'
66 | lp(i, 1, pep.size() - 1){
| ^~
sir.cpp:67:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | if(i == pep.size() - 1 || ccw(pep[0], pep[i], pep.back()) <= 0){
| ~~^~~~~~~~~~~~~~~~~
sir.cpp:73:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | if(i == pep.size() - 1 || ccw(pep[0], pep[i], pep.back()) >= 0){
| ~~^~~~~~~~~~~~~~~~~
sir.cpp:7:37: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | #define lp(a, b, c) for(ll a = b; a <= c; ++a)
......
80 | lp(i, 0, down.size() - 1) conpep.push_back(down[i]);
| ~~~~~~~~~~~~~~~~~~~~~
sir.cpp:80:5: note: in expansion of macro 'lp'
80 | lp(i, 0, down.size() - 1) conpep.push_back(down[i]);
| ^~
sir.cpp: In function 'int main()':
sir.cpp:7:37: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | #define lp(a, b, c) for(ll a = b; a <= c; ++a)
......
107 | lp(cur, 0, conpep.size() - 1){
| ~~~~~~~~~~~~~~~~~~~~~~~~~
sir.cpp:107:5: note: in expansion of macro 'lp'
107 | lp(cur, 0, conpep.size() - 1){
| ^~
sir.cpp:110:18: warning: unused variable 'ok' [-Wunused-variable]
110 | bool ok = 1;
| ^~
sir.cpp: In function 'void OF()':
sir.cpp:38:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | freopen(Fname".inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
sir.cpp:39:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
39 | freopen(Fname".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
sir.cpp:41:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
41 | freopen(Fname".in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
sir.cpp:42:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | freopen(Fname".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~