Rosetta Problems

Matrix Reducing

https://atcoder.jp/contests/abc264/tasks/abc264_c