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