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 1007. Code Words

Position matters, it should be read from LEFT TO RIGHT
Posted by purepu 12 Apr 2014 01:04
After getting several  WA on test1, I realized that I was counting the wrong position. In order to get AC, we should read the sequence from LEFT TO RIGHT. For example, for '11101', the first position is 1, second is 1, third is 1 and the final should be 1.

After I reading the sequence from left to right, I finally got AC.