SHAOXIAOJ正在加载中...

1272: 矩阵转置0

金币值:2 定数:1 时间限制:1.000 s 内存限制:128 M
正确:1 提交:1 正确率:100.00% 命题人:
点赞量:0 收藏量:0 题目类型:程序 知识点: 教学题

题目描述

输出已知矩阵的转置矩阵(行与列的数量相同 )

The old array and new array should share the same space.
 At the same time your program should compute the numbers that more than 60.

输入格式

4 //矩阵的维度

71 72 73 74 //4×4的数据
5 76 7 8
9 10 71 72
13 14 15 76

输出格式

71 5 9 13 //转置矩阵
72 76 10 14
73 7 71 15
74 8 72 76
8//大于60的数目



输入样例    复制

4
71 72 73 74
5 76 7 8
9 10 71 72
13 14 15 76

输出样例    复制

71 5 9 13
72 76 10 14
73 7 71 15
74 8 72 76
8