week 10 lianxi
来源:互联网 发布:每日股市分析 知乎 编辑:程序博客网 时间:2024/05/21 17:50
/*fibonacci de 35th de value*/
/* Note:Your choice is C IDE */#include "stdio.h"#define a 35long fibonacci(int n);main(){ printf("%d de value is %ld",a,fibonacci(a)); }long fibonacci(int n){ if (n>2)return fibonacci(n-1)+fibonacci(n-2);else return 1;}
/*用递归求8的阶乘*/
/* Note:Your choice is C IDE */#include "stdio.h"long dou(int n);main(){ printf("%d de jiecheng is %ld\n",8,dou(8)); }long dou(int n){ long ans;if(n>1)ans=n*dou(n-1);elseans=1;return ans; }
0 0
- week 10 lianxi
- Week 7 lianxi
- week 11 lianxi
- week 14 lianxi
- lianxi
- lianxi
- lianxi
- lianxi
- lianxi
- lianxi
- week 10
- week 10
- Week 10
- week 10 字符串
- week 10 的遗留问题
- leetcode week 10
- week 10 Java作业
- wikioi线段树lianxi
- freemarker遍历json
- jboss内网ip无法访问
- c2java 第7篇 图的连通分量,关节点和桥
- 在桌面應用程式中使用 WebKit (2) - JavaScript 與 Objective C 的溝通
- 第十话.
- week 10 lianxi
- “开-闭”原则(Open-Closed Principle)
- 单一职责原则(Single Responsibility Principle)
- 主元分析(PCA)理论分析及应用
- OC语言自学《十二》---- OC(Foundation框架部分知识总结)
- 接口隔离原则(Interface Segregation Principle)
- mac os 下使用pomelo
- 里氏代换原则(Liskov Substitution Principle)
- CABasicAnimation 热门动画效果