fakeac's blog

By fakeac, history, 8 years ago, In English

I am trying to solve — http://codeforces.net/problemset/problem/721/C. Here is my submission — http://codeforces.net/contest/721/submission/22405854

I can't find what is wrong. I tried all small test cases (from codeforces) and it produced the right answer. Please Help!!

Tags dp
  • Vote: I like it
  • 0
  • Vote: I do not like it