stove.cpp: In function 'void solve()':
stove.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;
| ^
stove.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;
| ^
stove.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;
| ^
stove.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;
| ^
stove.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;
| ^
stove.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;
| ^
stove.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;
| ^
stove.cpp:31:55: warning: unused variable 'x' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
stove.cpp:31:59: warning: unused variable 'y' [-Wunused-variable]
31 | ll q , i , j , m , n , z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = 0;
| ^
stove.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;
| ^~
stove.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;
| ^~
stove.cpp: In function 'int main()':
stove.cpp:50:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
50 | freopen("input.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
stove.cpp:51:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
51 | freopen("output.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~