| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 129506 | 陈奕涵 | 拐角方阵 | C++ | Compile Error | 0 MS | 0 KB | 490 | 2025-08-27 14:52:15 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int n,m,a[21][21]={}; cin>>n; for(int k=0;k<=n;k++){ for(int i=k;i<=n;i++) for(int j=k;j<=n;j++) a[i][j]=k; } for(int i=0;i<n;i++){ for(int j=0;j<n;j++) cout<<a[i][j]<<" "; cout<<a[i][j]<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:16:15: error: 'j' was not declared in this scope
cout<