tents.cpp: In function 'void solve()':
tents.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;
| ^
tents.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;
| ^
tents.cpp:31:26: 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;
| ^
tents.cpp:31:29: 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;
| ^
tents.cpp:31:37: 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;
| ^
tents.cpp:31:40: 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;
| ^
tents.cpp:31:44: 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;
| ^
tents.cpp:31:48: 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;
| ^
tents.cpp:31:52: 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;
| ^
tents.cpp:31:56: 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;
| ^
tents.cpp:31:60: 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;
| ^~
tents.cpp:31:73: 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;
| ^~
tents.cpp: In function 'int main()':
tents.cpp:55:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
55 | freopen("input.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
tents.cpp:56:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
56 | freopen("output.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~