摘要: 1 #include 2 #include 3 typedef struct Node 4 { 5 int a; 6 struct Node *next; 7 }Node,*list; 8 void j(list L);//头插法 9 list hb(list LA,list LB); //合并单链表 10 int main() 11 { 12 list... 阅读全文
posted @ 2017-10-19 14:05 zcb_bai 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 typedef struct Node 4 { 5 char a; 6 struct Node *next; 7 }Node,*list; 8 void tcf(list L);//头插法 9 Node *get(list L,int i);//查找第i个节点 10 int l(list L);... 阅读全文
posted @ 2017-10-18 21:45 zcb_bai 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 typedef struct Node 5 { 6 char a; 7 struct Node* next; 8 }Node,*list; 9 void p(list L) 10 { 11 Node *s; 12 char c; 13 int f=1; 14 w... 阅读全文
posted @ 2017-10-16 20:28 zcb_bai 阅读(1779) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<stdlib.h> #include<string.h> typedef struct Note { char a; struct Note* next; } Note,*list;a void CF(list L) { Note *s; cha 阅读全文
posted @ 2017-10-13 19:28 zcb_bai 阅读(703) 评论(0) 推荐(0) 编辑
摘要: 加油 阅读全文
posted @ 2017-10-13 13:53 zcb_bai 阅读(475) 评论(0) 推荐(0) 编辑
摘要: #include void t(int x) { int a[30]; int i=0,rem; while(x!=0) { rem=x%2; x=x/2; a[i]=rem; i++; } while(i>0) printf... 阅读全文
posted @ 2017-10-13 13:48 zcb_bai 阅读(221) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>#include<string.h>#define MAX 100typedef struct { int e[MAX]; int last;}list;int w(list L,int c)//查找{ int i=0; while((i<=L.last)&&(L. 阅读全文
posted @ 2017-10-12 20:02 zcb_bai 阅读(580) 评论(0) 推荐(0) 编辑