AARYABHATTA_THE_GREAT's blog

By AARYABHATTA_THE_GREAT, history, 6 weeks ago, In English

The Question is -> https://codeforces.me/contest/2013/problem/D

My approach is as follows :

My Approach

If someone could help me out it would be greatly appreciated.

My submission for ref -> https://codeforces.me/contest/2013/submission/297131396

Thanks!!