construction.cpp: In function 'void dfshld(int, int)':
construction.cpp:46:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
46 | if(to != par[n])
| ^
construction.cpp: In function 'void solve()':
construction.cpp:109:8: warning: unused variable 'q' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^
construction.cpp:109:16: warning: unused variable 'j' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^
construction.cpp:109:20: warning: unused variable 'm' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^
construction.cpp:109:26: warning: unused variable 'z' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^
construction.cpp:109:30: warning: unused variable 's' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^
construction.cpp:109:38: warning: unused variable 'f' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^
construction.cpp:109:41: warning: unused variable 'l' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^
construction.cpp:109:45: warning: unused variable 'r' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^
construction.cpp:109:49: warning: unused variable 'k' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^
construction.cpp:109:57: warning: unused variable 'y' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^
construction.cpp:109:61: warning: unused variable 'mn' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^~
construction.cpp:109:74: warning: unused variable 'mx' [-Wunused-variable]
109 | ll q , i , j , m ,n, z , s = 0, f, l , r , k , x , y , mn = 1e18 , mx = -1;
| ^~