#include <stdio.h>int arr[101][101];
int n;
int i,j;
int m;
int tmp;
void Print(){for(i1;i<n;i){for(j1;j<n-i1;j)printf("%d ",arr[i][j]);puts("");}
}void fun(){//i j 初值为1i1,j1;//保底用 tmp 1;//计数从1开始m 1;while(1)…
"The harder the conflict, the more glorious the triumph."
- Thomas Paine 1. 题目描述 2. 题目分析与解析
2.1 思路一
看到题目,先仔细观察矩阵,题目要求我们给出顺时针遍历的结果即可,我们根据矩阵可以看出,首…