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
1362
. Classmates 2
what is the third test?
Posted by
Denis Astanin (KPI)
2 Jun 2011 15:27
Re: what is the third test?
Posted by
Alexey Dergunov [Samara SAU]
4 May 2012 12:32
If you enumerate vertices from 0, be sure that you decrease root's number before calling DFS.
© 2000–2024
Timus Online Judge Team
. All rights reserved.