shorya1835's blog

By shorya1835, 36 hours ago, In English

A - XO-OR

Solution
Code

B - Birthdays!!!

Solution
Code
Code(By IceKnight1093)

Thanks to IceKnight1093 for the latter solution.

C - Harmonic Grids

Solution
Code

D - Guess the permutation

Solution
Code

E - Easiest Problem

Solution
Code

F - Permaban

Solution
Code

G - Divine Powers

Solution
Code
Code (Mobius Inversion)

H - Klein Moretti's Riddle

Solution
Code

I - Min Xor Subarray

Solution
Code

J - Alice and Bob

Solution
Code

K - Land Distribution

Solution
Code

L - Tree Harmony

Solution
Code (Probalistic)
Code (Deterministic by Arpa)

M - Alternating sum

Solution
Code

N - Maximize Minimum Mex

Solution
Code

Thanks to Arpa for making video solutions of the problems. You can refer to them here.

Tutorial of Insomnia 2025
  • Vote: I like it
  • +55
  • Vote: I do not like it

»
5 hours ago, # |
  Vote: I like it +4 Vote: I do not like it

Auto comment: topic has been updated by shorya1835 (previous revision, new revision, compare).

»
20 minutes ago, # |
  Vote: I like it +2 Vote: I do not like it

Nice explanation of C and M.