tests
What answer must be in this input???:
7 7
AA
AA
AB
AB
AB
BA
BA
BA
Re: tests
Posted by
wwby 5 Sep 2004 15:47
Why not
YES
6 ?
AAAAABBAABBAAB
ABBAAAAAABBAAB
ABBAABBAAAAAAB
AAABBAAAABBAAB
ABBAAAABBAAAAB
AAABBAABBAAAAB
Re: tests
AA(the first one) is the locomotive , not BA(the last one).
And your answer made me puzzled for a long time! :(