| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 152865 | 万鹏煊 | 墓碑上的字符 | C++ | Compile Error | 0 MS | 0 KB | 184 | 2026-05-04 15:48:56 |
#include<iostream> using namespace std; int main()} int n; cin>>n; string a[n]; for(int i=1;i<=n;i++){ cin>>a[n]; } cout<<a[n]; return 0; }
Main.cc:3:11: error: expected initializer before '}' token
int main()}
^
Main.cc:3:11: error: expected declaration before '}' token