| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 135971 | 王奕诺 | 斐波那契数列 | C++ | Wrong Answer | 1 MS | 260 KB | 406 | 2025-11-08 18:15:49 |
#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; }
------Input------
36
------Answer-----
14930352
------Your output-----
1