kidzik's blog

By kidzik, 13 years ago, In English
  • Vote: I like it
  • +1
  • Vote: I do not like it

»
13 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I use DP to solve this, O(3*5*5*n)