Agrawal31's blog

By Agrawal31, 4 years ago, In English

I am stuck with the recurrence relation of these two problems, which are more or less same. Can someone please elaborate.

https://codeforces.com/problemset/problem/678/E

https://codeforces.com/problemset/problem/16/E

Thanks in advance!

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it