diff --git a/src/20241116/U498412.cpp b/src/20241116/U498412.cpp index 1d7466c..bcd8ea0 100644 --- a/src/20241116/U498412.cpp +++ b/src/20241116/U498412.cpp @@ -35,7 +35,7 @@ int main(){ edges[u].push_back(v); edges[v].push_back(u); } - fd_ft(0, 1); + fd_ft(0, rt); for(ll i{1};i<=q;i++){ ll u, v; cin>>u>>v;