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

code60's blog

By code60, 12 years ago, In English

Consider all possible subset of the k important squares. There are at most 2^k <= 2^7 = 128 possibilities.

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