💤 Fours Redux

Featured on ACPC 2024 - 💤 9/18/2022

I participated in 2022's Meta Hacker Cup, making my way through the qualification and first rounds. On the night of September 18th, I dreamed of a problem that would appear on Round 2: a puzzle involving the number 4, and four mathematical operations. Unfortunately, it didn't actually appear on the contest!

Fours was my first ever problem, dreamed 20 months prior to the ACPC. I'm very happy the ACPC team and I could finally make my dreams come true!

Try Fours Redux on CodeForces!


If you're stuck, read the editorial.