|
|
back to boardSolution 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 Don't post solutions! Re: Solution The only structure DP solution uses is DP matrix. |
|
|