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