event2.cpp: In function 'void solve()':
event2.cpp:61:26: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
61 | if(st.size() != m)
| ~~~~~~~~~~^~~~
event2.cpp:34:8: warning: unused variable 'q' [-Wunused-variable]
34 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
event2.cpp:34:26: warning: unused variable 'z' [-Wunused-variable]
34 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
event2.cpp:34:37: warning: unused variable 'f' [-Wunused-variable]
34 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
event2.cpp:34:49: warning: unused variable 'k' [-Wunused-variable]
34 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
event2.cpp:34:61: warning: unused variable 'mn' [-Wunused-variable]
34 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^~
event2.cpp:34:74: warning: unused variable 'mx' [-Wunused-variable]
34 | ll q , i , j , m ,n, z ,s = 0 , f , l , r , k , x , y , mn = 1e18 , mx = 0;
| ^~
event2.cpp: In function 'int main()':
event2.cpp:101:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
101 | freopen("input.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
event2.cpp:102:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
102 | freopen("output.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~