Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

Safrout's blog

By Safrout, 11 years ago, In English

I am trying to solve this problem and I am stuck in it

http://www.spoj.com/problems/AMR12H/

Any clue how to solve it and if someone can provide a full editorial for it I would be thankful.

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