segments.cpp:61:11: warning: extra tokens at end of #endif directive [-Wendif-labels]
61 | #endif*/
| ^
segments.cpp: In function 'void solve()':
segments.cpp:28:12: warning: unused variable 'q' [-Wunused-variable]
28 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^
segments.cpp:28:20: warning: unused variable 'j' [-Wunused-variable]
28 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^
segments.cpp:28:30: warning: unused variable 'x' [-Wunused-variable]
28 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^
segments.cpp:28:34: warning: unused variable 'y' [-Wunused-variable]
28 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^
segments.cpp:28:46: warning: unused variable 'f' [-Wunused-variable]
28 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^
segments.cpp:28:50: warning: unused variable 'k' [-Wunused-variable]
28 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^
segments.cpp:28:58: warning: unused variable 'mn' [-Wunused-variable]
28 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^~
segments.cpp:28:69: warning: unused variable 'mx' [-Wunused-variable]
28 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^~
segments.cpp: In function 'int main()':
segments.cpp:59:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
59 | freopen("input.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
segments.cpp:60:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
60 | freopen("output.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~