Simple_Genius's blog

By Simple_Genius, history, 9 years ago, In English

I was trying to solve this problem from ICL2015div2 finals. I understand this is a problem on combinatorics (and perhaps DP) but I could not find a way towards solution.

Problem Link

I am weak in DP problems. They seem overwhelming to me most of the times. An elaborate explanations will surely be helpful for me. :)

Thanks in advance.

Full text and comments »

  • Vote: I like it
  • +5
  • Vote: I do not like it