Ugh, it was a hard contest. I spent a huge amount of time on both 2222D - Permutation Construction and 2222F - Building Tree, but couldn't crack them.
Spectral::Cup 2026 Round 1 (CF 1094, Div. 1 + Div. 2) — Screencast & Editorial
Ugh, it was a hard contest. I spent a huge amount of time on both 2222D - Permutation Construction and 2222F - Building Tree, but couldn't crack them.