IPSC Logo

Internet Problem Solving Contest

IPSC 2016

Solution to Problem D – Dumb clicking

There are two main ways how to solve this task. You can either generate the log using your own program (which requires understanding of the inner workings of the game) or put a small program into the javascript console in your browser to make it play the game for you much faster.

The easy subproblem is pretty straighforward, since the rectangles and squares do not move. But there are several gotchas which you could encounter:

The hard subproblem adds some more tricks on top: