tents.cpp: In function 'void solve()':
tents.cpp:45:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
45 | if(i >= 2 && i - 2 == 0 || j - 1 == 0) add(dp[i][j] , j * (i - 1));
| ~~~~~~~^~~~~~~~~~~~~
tents.cpp:47:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
47 | if(j >= 2 && j - 2 == 0 || i - 1 == 0) add(dp[i][j] , j * (j - 1) / 2);
| ~~~~~~~^~~~~~~~~~~~~
tents.cpp:35:8: warning: unused variable 'q' [-Wunused-variable]
35 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
tents.cpp:35:26: warning: unused variable 'z' [-Wunused-variable]
35 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
tents.cpp:35:30: warning: unused variable 's' [-Wunused-variable]
35 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
tents.cpp:35:38: warning: unused variable 'f' [-Wunused-variable]
35 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
tents.cpp:35:41: warning: unused variable 'l' [-Wunused-variable]
35 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
tents.cpp:35:45: warning: unused variable 'r' [-Wunused-variable]
35 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
tents.cpp:35:49: warning: unused variable 'k' [-Wunused-variable]
35 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
tents.cpp:35:53: warning: unused variable 'x' [-Wunused-variable]
35 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
tents.cpp:35:61: warning: unused variable 'y' [-Wunused-variable]
35 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
tents.cpp:35:65: warning: unused variable 'mn' [-Wunused-variable]
35 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^~
tents.cpp:35:78: warning: unused variable 'mx' [-Wunused-variable]
35 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^~