|
|
I thought that some pieces may be the same, but number of different pieces must be maximal. So I got WA16.. When all pieces became different, I got AC. Edited by author 18.07.2011 17:04 Statement is fixed. Thank you. Edited by author 19.07.2011 11:25 Got real pleasure when was solving it. But why are limitations so small? The jury solution builds the correct answer for n=30 fast enough, so it is possible to solve this problem without precalc. We decided to leave it like that. |
|
|