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