|
|
back to boardShow all messages Hide all messagesMath lilipottter 9 Sep 2020 03:01 It is said "Tags: dynamic programming" But also there is math approach. In this case solution is simple math formula kind of \sum\sum C(x,y)*C(t,m). Complexity is O(n^2). Good luck. |
|
|