1028: 方阵旋转

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:15 Solved:6

Description

写一个函数convert,使给定的一个二维数组(3×3)转置,即行列互换。

Input

一个3x3的矩阵

Output

转置后的矩阵

Sample Input Copy

1 2 3
4 5 6
7 8 9

Sample Output Copy

1 4 7 
2 5 8 
3 6 9

HINT

输出每一行末尾有空格

Source/Category