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 1017. Staircases

Solution
Posted by k0stya 17 Aug 2011 21:04

/* Q[n][h] contains the number of staircases from n bricks with height h */
unsigned long long Q[MAX_N+1][MAX_N];

--
Data structures, not algorithms, are central to programming.
Solution
Posted by Aganov Artur [Barnaul] 12 Oct 2011 21:27
Don't post solutions!
Re: Solution
Posted by PrankMaN 30 Mar 2013 23:08
The only structure DP solution uses is DP matrix.