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 1018. Binary Apple Tree

One fact
Posted by partisan (Andrey Korotkov) 19 Oct 2007 21:42
In edge we have two endpoints, and there is no comment, that first is parent, second is son. May be (and it's really true) that first is son, and second is parent. Program without this remark gets WA (I checked it). My first solution with remark about it AC. And without expressions about 0-apple nodes; in condition we have no phrases about it; People, who wrote something about ingnoring zero-nodes are wrong.
Re: One fact
Posted by SP2 30 Oct 2007 14:27
Thank you!!! :-) Now I have AC!!!