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