very hard dp(134 182 results)

DP game 13 sec