a015: 矩陣的翻轉

http://zerojudge.tw/ShowProblem?problemid=a015