| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 157251 | 李沐阳 | 拐角方阵 | C++ | Accepted | 1 MS | 268 KB | 314 | 2026-07-21 13:31:55 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,a[21][21]={}; cin>>n; for(int i=1;i<=n;i++){ for(int j=i;j<=n;j++){ for(int q=i;q<=n;q++){ a[j][q]=i; } } } for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++){ cout<<a[i][j]<<' '; } cout<<endl; } return 0; }