| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 65625 | 谢绍澜 | 拐角方阵 | C++ | Accepted | 2 MS | 264 KB | 396 | 2024-01-27 19:06:26 |
# include<iostream> using namespace std; int main(){ int n,b=0; cin>>n; int a[n+1][n+1]; for(int i=1;i<=n;i++){ for(int j=i;j<=n;j++){ for(int g=i;g<=n;g++){ a[g][j]=i; } } } for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++) cout<<a[i][j]<<" "; cout<<endl; } return 0; }