ballmachine.cpp: In function 'void solve()':
ballmachine.cpp:50:12: warning: unused variable 'q' [-Wunused-variable]
50 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^
ballmachine.cpp:50:20: warning: unused variable 'j' [-Wunused-variable]
50 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^
ballmachine.cpp:50:23: warning: unused variable 'l' [-Wunused-variable]
50 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^
ballmachine.cpp:50:26: warning: unused variable 'r' [-Wunused-variable]
50 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^
ballmachine.cpp:50:38: warning: unused variable 's' [-Wunused-variable]
50 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^
ballmachine.cpp:50:58: warning: unused variable 'mn' [-Wunused-variable]
50 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^~
ballmachine.cpp:50:69: warning: unused variable 'mx' [-Wunused-variable]
50 | ll n , q , i , j ,l ,r , x , y , s = 0 , f , k , m , mn = 1e18, mx = 0 ;
| ^~
ballmachine.cpp: In function 'int main()':
ballmachine.cpp:84:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
84 | freopen("input.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
ballmachine.cpp:85:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
85 | freopen("output.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~