Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

cho's blog

By cho, 12 years ago, In English

Hi, Can someone explain a different approach(with and without using DP) than the one used in the editorial (http://codeforces.com/blog/entry/4982). It would be really helpful.

Thanks.

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