| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 79970 | 胡盛哲 | 逆序输出 | C++ | Compile Error | 0 MS | 0 KB | 247 | 2024-07-11 10:02:02 |
#include<bits/stdc++.h> using namespace std; int a [102;] int main(){ int n; cin >> n; for(int i=1; i<=n; i++){ cin>>a[i]; } for(int j=n; j<=1; j--){ cout <<a[j]<< " " ; } return 0; }
Main.cc:3:11: error: expected ']' before ';' token
int a [102;]
^
Main.cc:3:12: error: expected unqualified-id before ']' token
int a [102;]
^