Anders Kaseorg's submission of Moving Rectangles (Challenge) | CodeChef