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 1039. Anniversary Party

Can supervisor relation tree have any cycle? And have any employees have supervisor more than once???
Posted by Badd 28 Dec 2001 12:39
No at all.
Posted by Huang Yizheng 28 Dec 2001 12:52
>
Re: No at all.
Posted by Nirjon 25 Jun 2005 02:35
This problem doesn't have cycles, but if there were cycles then what should be done? my AC code is just a dfs+dynamic prog.
Re: No at all.
Posted by Nguyen Canh Toan 22 Feb 2006 15:24
did you think out it or see somewhere?
Nirjon wrote 25 June 2005 02:35
This problem doesn't have cycles, but if there were cycles then what should be done? my AC code is just a dfs+dynamic prog.