Problems Description
<p>写一items函数convert,使给定的一items二维数组(3×3)转置,即行列互换。</p>
Input格式
一items3x3的矩阵
Output格式
转置后的矩阵
Sample
Sample Input 1
1 2 3
4 5 6
7 8 9
Sample Output 1
1 4 7
2 5 8
3 6 9
Submit Code
请先Login后Submit
🤖 AI 解题助手
OpenRouter
就绪