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

Kohinoor's blog

By Kohinoor, history, 19 months ago, In English

Motivation: Some people enquired me how could I write a six-line code to solve this problem. Here's the intuition...

Spoiler

Full text and comments »

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