摘要: 斐波那契数列(1) #include <iostream> using namespace std; int x(int n){ if(n<=2){ return 1; }else{ return x(n-1)+x(n-2); } } int main(){ int n; cin>>n; int a 阅读全文
posted @ 2023-10-29 09:48 王一行(小号) 阅读(12) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-10-29 09:27 王一行(小号) 阅读(12) 评论(0) 推荐(0)