实在无语了,求教(MLE)
查看原帖
实在无语了,求教(MLE)
1690195
AMKR_1234楼主2025/8/2 08:20
#include <bits/stdc++.h>
using namespace std;
int n;
int fib(int x){
    if(x==1&&x==2){
        fib(x)==1;
    }
    return fib(x-1)+fib(x-2);
}
int main(){
    cin >> n;
    fib(n);
    return 0;
}
2025/8/2 08:20
加载中...