Rosetta Problems

Shifting a Matrix

https://onlinejudge.u-aizu.ac.jp/problems/2731