ENG  RUS Timus Online Judge
Online Judge
Problems
Authors
Online contests
Site news
Webboard
Problem set
Submit solution
Judge status
Guide
Register
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

## Discussion of Problem 1044. Lucky Tickets. Easy!

what about odd number of digits? Could someone explain Please
Posted by Anupam Ghosh, Wipro Technologies 28 Dec 2011 19:38
Hi,
Is this number 63363 lucky number?
Is it necessary all lucky numbers have to be a palindrome?

Regards
Anupam
Re: what about odd number of digits? Could someone explain Please
Posted by Noob 29 Dec 2011 13:04
If number of digits is odd, answer is 0.
Re: what about odd number of digits? Could someone explain Please
Posted by ramon93i7 1 Jul 2012 16:05
I don't agree. There is no such rule. So you can solve the n-1 problem and then multiplicate it on 10.
Re: what about odd number of digits? Could someone explain Please
Posted by Md. Shahedul Islam (Shahed) 8 Jun 2015 22:15
According to the problem the input number isn't odd as it is divisible 2. source:
"Output
should contain a number of tickets such that the sum of the first half of digits is equal to the sum of the second half of digits."