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 1353. Milliard Vasya's Function

Hint
Posted by PrankMaN 30 Mar 2013 17:47
It's not the easiest problem and I don't know good solution, but if I was on the olympiad and would have to solve the problem, I would just precalculate the answer.
Re: Hint
Posted by staticor 7 Jul 2013 09:53
a difficult combinatorics problem.

x1 + x2 +... + x10 = S

with limitation:  xi between ? , ?
Re: Hint
Posted by naik 30 Sep 2014 22:12
Need to fill an array COUNT[1..9][0..81] and answer is COUNT[9][S]
Exclusion: if S == 1, then answer is 10

Edited by author 30.09.2014 22:13