摘要: 1 #include 2 typedef char Ele ; 3 4 typedef struct node{ 5 Ele e; 6 struct node *next; 7 }lnode,*list; 8 9 void get(Ele);10 11 //构造链表12 lis... 阅读全文
posted @ 2015-05-07 14:42 Object_mo 阅读(1493) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 3 * ArrayList c语言实现 4 * 5 * 6 * */ 7 8 9 #include10 #define MAX_SIZE 100011 12 typedef char Element;13 typedef struct squence{14 ... 阅读全文
posted @ 2015-05-07 11:42 Object_mo 阅读(1070) 评论(0) 推荐(0) 编辑
摘要: 1 package cn.it; 2 3 import java.util.Arrays; 4 5 public class Tx { 6 public static void main(String[] args) { 7 int start[]={1,4,2,1,2... 阅读全文
posted @ 2015-05-06 09:44 Object_mo 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 1 package cn.it; 2 3 import java.util.Arrays; 4 // 利用分治思想 实现 归并排序 5 public class Fz { 6 public static void main(String[] args) { 7 int ... 阅读全文
posted @ 2015-05-05 18:43 Object_mo 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1 //1~10000000之间所有7的倍数和末尾含7的数一共有多少个呢 2 public class test { 3 public static void main(String[] args) { 4 int[] i={1,2,3,4,5,6,7,17}; 5 ... 阅读全文
posted @ 2015-05-05 17:06 Object_mo 阅读(191) 评论(0) 推荐(0) 编辑
mozhuhao