提交时间:2024-02-07 15:44:03
运行 ID: 40101
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; if(n==1 or n==2 { int a = 1; int b = 1; int c; while(i <= n) { c = a + b; a = b; b = c; } i++; }) cout << 1; else return 0; }