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 1835. Swamp Doctor

Two test cases that may be useful
Posted by orbby 13 Jun 2012 13:04
a@b
c@d
a@bce
4


a@b
c@dea
bc@de
bc@da
8

If you use the similar method with me, that may be a trick...^^