Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
89171 黎贤超 斐波那契数列 C++ Wrong Answer 1 MS 272 KB 164 2024-08-23 09:22:04

Tests(0/11):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c=1,i,f; cin>>f; for(i=1;i<f;i++){ c=a+b; a=b; b=c; } cout<<b; return 0; }


Run Info:

------Input------
36
------Answer-----
14930352
------Your output-----
-393951912