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 1242. Werewolf

Sample input
Posted by devilkind 10 Jun 2007 15:51
From the input description I understood that the first number is the child and the second number is the father, but in the first sample child number 4 has 2 parents, 5 and 6.
Re: Sample input
Posted by Alias (Alexander Prudaev) 10 Jun 2007 21:09
"The data is correct - for each of the residents there are no more than two parents, and there are no cycles."

father and mother