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

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=2; cin>>k; while(o<=k){ c=a+b; a=b; b=c; o++; } cout<<b; return 0; }


Run Info:

------Input------
36
------Answer-----
14930352
------Your output-----
24157817