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 1253. Necrologues

Can anybody help me to solve this problem? Please help me...
Posted by David Tabidze 8 Jul 2003 17:46
Re: Can anybody help me to solve this problem? Please help me...
Posted by GodZilla 22 Jul 2003 01:46
I can give you some hints if you'll help me to solve other problems or
discuss them !!!
Re: Can anybody help me to solve this problem? Please help me...
Posted by Romanchik Vitaly 23 Jul 2003 02:43
Create a Tree !!!


And check it for cycles.


Then (start from leaves and end in root)calc count of letters.


Sorry for my English !!!