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 1493. One Step from Happiness

What's the meaning of this problem?
Posted by beef money 20 Apr 2009 11:40
I couldn't understand the statements.
Re: What's the meaning of this problem?
Posted by HappyPerson 9 Jul 2012 02:07
You're supposed to see if either the next or previous tickets were lucky. For example, if it was 000001, then the previous ticket (000000) would have been lucky and you should output "Yes".