| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156772 | 赵奕杰 | 拐角方阵 | C++ | Accepted | 2 MS | 296 KB | 359 | 2026-07-10 14:44:26 |
#include<bits/stdc++.h> using namespace std; long long a[1005][1005]; int main(){ int n; cin>>n; for(int z=1;z<=n;z++){ for(int i=z;i<=n;i++){ for(int j=z;j<=n;j++){ a[i][j]=z; } } } for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++){ cout<<a[i][j]<<" "; } cout<<endl; } return 0; }