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!

number of sums
Posted by panic 14 Apr 2010 23:35
how do i find the number of N/2 digit combinations in which sum of digits equals to default M?
ps: M starts from 1 to (N/2)*9; every time i need to calculate the current previously number of combinations