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

the means of luck
Posted by HaiyangZheng 3 Oct 2012 20:27
"either the previous or the next ticket is lucky." and "one step from happiness"

lucky means: previous OR next, sum of first three digits EQUAL sum of last three digits.

Edited by author 03.10.2012 20:54