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 1276. Train

tests
Posted by vrandik 1 Sep 2004 00:05
What answer must be in this input???:
7 7
AA
AA
AB
AB
AB
BA
BA
BA
Re: tests
Posted by Grebnov Ilya[Ivanovo SPU] 1 Sep 2004 01:47
YES
4
Re: tests
Posted by wwby 5 Sep 2004 15:47
Why not
YES
6 ?
AAAAABBAABBAAB
ABBAAAAAABBAAB
ABBAABBAAAAAAB
AAABBAAAABBAAB
ABBAAAABBAAAAB
AAABBAABBAAAAB
Re: tests
Posted by ahyangyi_newid 8 Jan 2006 12:53
AA(the first one) is the locomotive , not BA(the last one).
And your answer made me puzzled for a long time! :(