lamp.cpp: In function 'void solve()':
lamp.cpp:31:8: warning: unused variable 'q' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
lamp.cpp:31:16: warning: unused variable 'j' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
lamp.cpp:31:20: warning: unused variable 'm' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
lamp.cpp:31:28: warning: unused variable 'z' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
lamp.cpp:31:32: warning: unused variable 's' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
lamp.cpp:31:40: warning: unused variable 'f' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
lamp.cpp:31:43: warning: unused variable 'l' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
lamp.cpp:31:47: warning: unused variable 'r' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
lamp.cpp:31:51: warning: unused variable 'k' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
lamp.cpp:31:59: warning: variable 'y' set but not used [-Wunused-but-set-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
lamp.cpp:31:63: warning: unused variable 'mn' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^~
lamp.cpp:31:76: warning: unused variable 'mx' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^~
lamp.cpp: In function 'int main()':
lamp.cpp:74:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
74 | freopen("input.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
lamp.cpp:75:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
75 | freopen("output.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~