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 1044. Lucky Tickets. Easy!

Some problems about 1044
Posted by rocksos 13 Nov 2006 18:34
What's the meaning of this 1044 problem? It said that a ticket is lucky if the sum of the first three digits in its number equals to the sum of the last three ones,but when input data is 4,and the answer is 670,why??

Edited by author 13.11.2006 18:36

Edited by author 13.11.2006 18:37
Re: Some problems about 1044
Posted by UdSU: Ajtkulov, Kotegov, Saitov 14 Nov 2006 01:07
"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."
Re: Some problems about 1044
Posted by rocksos 14 Nov 2006 12:15
Thanks a lot.
Re: Some problems about 1044
Posted by zhang 16 Mar 2008 12:17
what if "odd(n)=True"
Re: Some problems about 1044
Posted by Chmel_Tolstiy 17 Mar 2008 20:20
contains a positive even integer not greater than 9.