fix
Check cpp / md pair / Check md headers (push) Successful in 4s
Sync solutions to Wiki / sync (push) Successful in 5s

This commit is contained in:
hanyixuanten committed 2026-10-29 06:02:45 +00:00
1 parent a92069d382
commit dc65d1feb2
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -6,6 +6,6 @@
本题与[P1453](../P1453.md)的区别是形成的不只是一个树+断边,而是一个森林+断边。
只需要将 [P1453 的并查集](../P1453.cpp#L35-42)改为[保存 $S, T$ vector](../P2607.cpp#L33-40),随后对于每个树+断边仿照 P1453 的实现即可
只需要将 [P1453 的并查集](../P1453.cpp#L35-L42)改为[保存 $S, T$ vector](../P2607.cpp#L33-L40),随后对于每个树+断边仿照 P1453 的实现即可
[code](../P2607.cpp)