| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 141319 | gqj | 斐波那契数列 | C++ | Compile Error | 0 MS | 0 KB | 395 | 2025-12-22 17:10:57 |
#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 k; int a=1,b=1,temp; int i; for(i=3;i<=k;i++) { temp=a+b; a=b; b=temp; } cout<<b;
Main.cc: In function 'int main()':
Main.cc:17:11: error: expected '}' at end of input
cout<