|
|
back to boardUnfortunaly, test cases allows using of one wide - known method :) The answer is of course P(n), and P(n) hasn't more than x^6. 3: 0 4: 4 5: 25 6: 91 7: 252 8: 588 ... 1000: 1409590423741500 Edited by author 29.10.2007 02:57 can anyone send algorithm of this problem on my mail? gio-saghinadze@mail.ru thanks Edited by author 30.10.2007 17:42 Edited by author 30.10.2007 18:07 I'm sorry, but could you give answer fo 2000? I have WA10 with correct answer for 1000 and I have no idea what can be wrong. For 2000: 89553445611633000 |
|
|