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

note for who WA#4
Posted by hoan 20 Dec 2010 23:52
we dont know use the locomotive as a carriage, like:
input:
1 1
AA
AB

output:
NO

GOOD LUCK!!!
Re: note for who WA#4
Posted by IgorKoval(from Pskov) 9 Jan 2012 02:41
Thank you! I got WA#14 but it's in past. =)
Re: note for who WA#4
Posted by Eray 16 May 2021 13:30
Thanks too! I've got WA#14 in the past and I've got AC now.

It means, be careful that the end should be the same as the locomotive.

e.g. if the locomotive is "AA" then the last should be "AA" or "BA", such as "ABBA" with locomotive "AA" is correct but "ABBA" with locomotive "BA" is incorrect.
(sorry for my bad English)
Re: note for who WA#4
Posted by PEIMUDA 15 Oct 2022 10:48
Thanks!
I got WA on Test #14
After reading this,I know my understanding was wrong