上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 25 下一页
摘要: 二分查找: public class Q212 { public static void main(String [] args) { Integer []arr = {1,2,3,4,5,6,7,8};//Integer型比较 System.out.println(Q212.Erfen(a... 阅读全文
posted @ 2015-03-09 10:14 __夜风 阅读(524) 评论(0) 推荐(0) 编辑
摘要: public class ex5 { public static void main(String [] args) { thread5 t1 = new thread5(); thread5_1 t2 = new thread5_1(); t1.setPriority(Threa... 阅读全文
posted @ 2015-03-06 16:28 __夜风 阅读(189) 评论(0) 推荐(0) 编辑
摘要: public class ex3 { public static void main(String [] args) { thread2 t1 = new thread2("hello"); t1.start(); try { t1.join(); //Threa... 阅读全文
posted @ 2015-03-06 15:38 __夜风 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 国际惯例,先贴出代码package jiankong; import java.util.Date; public class jiankong { public static void main(String [] args) { MyThread thread = new My... 阅读全文
posted @ 2015-02-28 18:32 __夜风 阅读(2280) 评论(0) 推荐(0) 编辑
摘要: 合并: 这个比较简单,就大概的说下,先把两个序列合并,然后对序列进行len-1次相互元素的比较,即冒泡,最后得出一个有序序列 我觉得这种思想挺重要的,很多问题你可以用分治法去解决,但是中间过程步骤你可能先整体考虑,然后进行局部处理。 Node *Sort_Elem(Node *head) { ... 阅读全文
posted @ 2014-12-23 17:34 __夜风 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 我能行!个人觉得这句话非常重要,不知道大家是怎样看待数据结构这门课的, 有多少人觉得数据结构很难呢?我知道还是有一些同学这样觉得的, 有时候我跟我的朋友讲要怎样学,讲了一大堆以后, 他就向我抱怨:我以前c++都没有学好, 数据结构更学不好了, 这哪跟哪的话啊,数据结构与c++没有什么关系,我想假... 阅读全文
posted @ 2014-12-23 13:44 __夜风 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 假如我是一位金融信息系统的任课老师 假如我是一位金融信息系统的任课老师,那么要本着对教育的负责态度,尽自己所能教会学生知识。 既然是金融信息课程,那有关金融方面的自然是重点了,什么银行,证券知识的都或多或少给学生们讲讲。 说实话,我到了大学才知道炒股票是投资行为,以前只是听家里人说炒股什么的赚钱... 阅读全文
posted @ 2014-12-23 12:36 __夜风 阅读(133) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;int main(){ double a,b,c,d,e,f,t; while(cin>>t){ if(t==0) break; else { while(t--) ... 阅读全文
posted @ 2014-12-17 11:34 __夜风 阅读(127) 评论(0) 推荐(0) 编辑
摘要: #include int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF) { if((a+b)%86==0) puts("yes"); else puts(... 阅读全文
posted @ 2014-12-17 11:33 __夜风 阅读(79) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;int main(){ int a,i,b,t,k; while(cin>>a>>b,a,b){ t=a*100; k=0; for(i=0;i#includeusing namespace std;int m... 阅读全文
posted @ 2014-12-17 11:32 __夜风 阅读(140) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 25 下一页