Agrawal31's blog

By Agrawal31, 5 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://mirror.codeforces.com/problemset/problem/678/E

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

Thanks in advance!

Full text and comments »

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