update
This commit is contained in:
parent
7bb2ca422f
commit
3138c83120
@ -35,7 +35,7 @@ int main(){
|
|||||||
edges[u].push_back(v);
|
edges[u].push_back(v);
|
||||||
edges[v].push_back(u);
|
edges[v].push_back(u);
|
||||||
}
|
}
|
||||||
fd_ft(0, 1);
|
fd_ft(0, rt);
|
||||||
for(ll i{1};i<=q;i++){
|
for(ll i{1};i<=q;i++){
|
||||||
ll u, v;
|
ll u, v;
|
||||||
cin>>u>>v;
|
cin>>u>>v;
|
||||||
|
Loading…
Reference in New Issue
Block a user