ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1709
. Penguin-Avia
Show all messages
Hide all messages
How to make graph connected fast?
Andrew Sboev
3 Jun 2012 21:28
My method of making graph connected works nearly by O(N^2). Are there any classic algorithmes for such problem?
Re: How to make graph connected fast?
yutr777
27 Dec 2013 10:51
You should use the system of disjoint sets.
© 2000–2024
Timus Online Judge Team
. All rights reserved.