|
|
вернуться в форумПоказать все сообщения Спрятать все сообщения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. You are asked to answer IF THE PREVIOUS OR THE NEXT TICKETS ARE LUCKY, NOT IF THE SUMS OF DIGITS DIFFER BY 1. |
|
|