Rosetta Problems

Block Rotation

https://atcoder.jp/contests/tupc2022/tasks/tupc2022_f