|
|
вернуться в форумwhat about odd number of digits? Could someone explain Please 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 Послано Noob 29 дек 2011 13:04 If number of digits is odd, answer is 0. Re: what about odd number of digits? Could someone explain Please 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 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." |
|
|