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

This commit is contained in:
hanyixuanten committed 2026-10-29 06:04:21 +00:00
1 parent dc65d1feb2
commit 43d9b98755
3 files changed
+9 -9

No files matched your search

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