Analysing "Cube Painting" from ProgComp 2026

2026-07-22

Scroll to comments

During June, I competed in ProgComp, a high school competitive programming competition hosted by UNSW CSE. It involves teams of three solving 5 programing problems in a time-span of 2 hours, but with only one computer allowed to be used for the entire team. This rewards a strategy where the two other team members are thinking about a problem while another one solves a different problem.

In this post, I would like to discuss problem 5 in the main round of this competition, titled "Cube Painting" and authored by Austin Song. But before I try to explain the problem textually, I will just show you: