Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135968 周泽洋 斐波那契数列 C++ Wrong Answer 1 MS 272 KB 274 2025-11-08 18:09:55

Tests(0/11):


Code:

#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int a=1,b=1,c,k,o; cin>>k; while(o<=k){ c=a+b; a=b; b=c; o++; } cout<<c; return 0; }


Run Info:

------Input------
36
------Answer-----
14930352
------Your output-----
63245986