apple.cpp: In function 'void solve()':
apple.cpp:76:8: warning: unused variable 'n' [-Wunused-variable]
76 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mx = 0 , mn = 1e18;
| ^
apple.cpp:76:16: warning: unused variable 'i' [-Wunused-variable]
76 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mx = 0 , mn = 1e18;
| ^
apple.cpp:76:20: warning: unused variable 'j' [-Wunused-variable]
76 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mx = 0 , mn = 1e18;
| ^
apple.cpp:76:30: warning: unused variable 'x' [-Wunused-variable]
76 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mx = 0 , mn = 1e18;
| ^
apple.cpp:76:34: warning: unused variable 'y' [-Wunused-variable]
76 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mx = 0 , mn = 1e18;
| ^
apple.cpp:76:46: warning: unused variable 'f' [-Wunused-variable]
76 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mx = 0 , mn = 1e18;
| ^
apple.cpp:76:50: warning: unused variable 'k' [-Wunused-variable]
76 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mx = 0 , mn = 1e18;
| ^
apple.cpp:76:54: warning: unused variable 'm' [-Wunused-variable]
76 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mx = 0 , mn = 1e18;
| ^
apple.cpp:76:58: warning: unused variable 'mx' [-Wunused-variable]
76 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mx = 0 , mn = 1e18;
| ^~
apple.cpp:76:67: warning: unused variable 'mn' [-Wunused-variable]
76 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mx = 0 , mn = 1e18;
| ^~
apple.cpp: In function 'int main()':
apple.cpp:92:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
92 | freopen("input.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
apple.cpp:93:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
93 | freopen("output.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~