USACO 2016 January Contest, Gold Problem 3. Lights Out
答案: (Analysis by Mark Gordon) This problem asks us to simulate Bessie tracing the barn clockwise until she knows where she is. One way to think about this is to abstract away the polygon aspect o...