ENG  RUSTimus 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

Possible mistakes causing WA6 and others
Posted by D4nick 12 May 2023 13:53
If you have a mistake, most likely you delete connections of the input graph in a wrong way.
And most likely, because you search the connected components incorrectly.