The Feb 2021 USACO contest just finished! As contestants anxiously wait for the outcome and the cutoff line, let’s take a look at the 3rd bronze problem Clockwise Fence.
In my opinion out of the three bronze problem, this is the least straightforward problem and requires a little more analysis than the first two. Once we figure out what to do, the coding part should be a breeze. Let’s dive in!