B. Grid Rotations

Problem Name:
B. Grid Rotations
Site:AtCoder
Links:
Tags: