〆、续写不尽的未来。
〆、续写不尽的未来。
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
〆、续写不尽的未来。的博客
全部文章
(共2篇)
斐波那契数列三种解法(c++)
1、递归(耗时量非常大)include <iostream>using namespace std;int getvalue(int n){ if(n==1||n==2) return 1; else return getvalue(n-2)+getvalue(n...
2020-02-29
4
715
三个数的最大值最小值
注意三个数比较的次序#include <iostream>using namespace std;int main(){ int a,b,c,t; cin>>a>>b>>c; if(a>b){ t=a; ...
2020-02-29
2
613