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

To admins. Example 2 1493. "В одном шаге от счастья".
Posted by Anton_Ageikov 3 Oct 2015 19:14
I disagree with the result in example 2 to the task 1493. According to the problem, must output "Yes", because 445219 in the summation of the digits gives 13 and 12. These numbers differ by 1. The example says "No". When checking the solution 2, the test system writes "Wrong answer". Please fix the problem or explain me the condition.
Somebody could explain us the example 2 please?
Posted by Majin Boo 6 Nov 2015 18:39
Re: To admins. Example 2 1493. "В одном шаге от счастья".
Posted by Noob 6 Nov 2015 22:47
You are asked to answer IF THE PREVIOUS OR THE NEXT TICKETS ARE LUCKY, NOT IF THE SUMS OF DIGITS DIFFER BY 1.