| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146768 | 李明秦 | 吃巧克力 | C++ | Compile Error | 0 MS | 0 KB | 163 | 2026-01-30 16:53:46 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,a[1001]={1,2}; for(int i=2;i<n;i++){ a[i]=a[i-1]+a[i-2]; }cout<<a[n-1];z return 0; }
Main.cc: In function 'int main()': Main.cc:7:16: error: 'z' was not declared in this scope }cout<