Run ID:164832
提交时间:2026-11-07 15:31:08
#include<bits/stdc++.h> using namespace std; int main(){ int a=1,b=1,c,k; cin>>k; for(int i=3;i<=k;i++){ c=a+b; a=b; b=c; } cout<<b; return 0; }