练习专区

今天的一小步就是明天的一大步
Problem 1174 调整位置
Accepted: 3   Total Submit: 15
Time Limit: 1000ms   Memory Limit: 30720KB
Description

Input
输入有若干种情况,每种情况三行,每行三个整数。
Output
对应输出所求的矩阵,每种情况空一行。
Sample Input
3 5 9
8 1 4
7 6 2
1 2 3
4 5 6
7 8 9
Sample Output
8 4 7
1 9 3
5 2 6

8 4 7
1 9 3
5 2 6
Hint
提交     返回