Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
122389 鲁博睿 斐波那契数列 C++ Wrong Answer 1 MS 276 KB 188 2025-06-15 17:39:25

Tests(1/11):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int a,b=1,c=1,d,f; cin>>a; for(int i=3;i<=a;i++){ d=b+c; b=c; c=d; } cout<<d<<endl; return 0; }


Run Info:

------Input------
1
------Answer-----
1
------Your output-----
4195064