03 2017 档案

单链表(以书本信息为例)
摘要:#include<iostream>#include<string>#include<iomanip>#include<fstream>#include<cstdlib> using namespace std; #define OK 1#define ERROR 0#define OVERFLOW 阅读全文

posted @ 2017-03-18 23:15 VbisoWen 阅读(392) 评论(0) 推荐(0)

顺序表(以书本信息为例)
摘要:#include<iostream>#include<fstream>#include<string>#include<iomanip> using namespace std; #define OK 1#define ERROR 0#define OVERFLOW -2typedef int St 阅读全文

posted @ 2017-03-16 21:47 VbisoWen 阅读(498) 评论(0) 推荐(0)

Ackerman 函数 (双递归函数)
摘要:public static int ackerman(int n,int m){ if(n==1&&m==0){return 2;} else if(n==0&&m>=0) {return 1;} else if(n>=2&&m==0) {return n+2;} else {return acke 阅读全文

posted @ 2017-03-15 22:09 VbisoWen 阅读(435) 评论(0) 推荐(0)

简单 fibonacci 函数
摘要:public static int fibonacci(int n){ if(n<=1) return 1; else { return fibonacci(n-1)+fibonacci(n-2); } } 递归函数 n = 1 时 F(n)=1 n > 1 时 F(n)=F(n-1)+F(n-2) 阅读全文

posted @ 2017-03-15 21:56 VbisoWen 阅读(202) 评论(0) 推荐(0)

来自一个再有半年就要实习的大三学生的个人感想
摘要:最近情绪波动比较大,主要是想我毕业之后能干什么。现在终于有点眉目了,知识是一切的基础。以前的遗憾只能现在慢慢的补回来了,大二编程的基础知识没有学好,现在就开始慢慢的补吧,争取在实习前能掌握数据结构,算法设计与分析和java设计模式的基础知识。 阅读全文

posted @ 2017-03-15 20:44 VbisoWen

导航