Description
输入N*N的矩阵,输出它的转置矩阵。
Input
第一行为整数N。
接着是一个N*N的矩阵。
Output
转置矩阵
Sample Input
2 1 2 1 2
Sample Output
1 1 2 2
HINT
Source
输出的空格要注意
#include<stdio.h>
int main()
{
int n,i,j,a[200][200];
while(scanf("%d",&n)!=E
输入N*N的矩阵,输出它的转置矩阵。
第一行为整数N。
接着是一个N*N的矩阵。
转置矩阵
2 1 2 1 2
1 1 2 2
#include<stdio.h>
int main()
{
int n,i,j,a[200][200];
while(scanf("%d",&n)!=E