Rosetta Problems

RowCol/ColRow Sort

https://atcoder.jp/contests/agc057/tasks/agc057_e