| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137149 | 张宇泽 | 12序列的第n项 | C++ | Compile Error | 0 MS | 0 KB | 151 | 2025-11-16 12:16:13 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int i=1;i<n-1;i++){ return 0; } a=a+i; cout<<a; }
Main.cc: In function 'int main()':
Main.cc:9:5: error: 'a' was not declared in this scope
a=a+i;
^
Main.cc:9:9: error: 'i' was not declared in this scope
a=a+i;
^