摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1248 阅读全文
posted @ 2016-09-27 20:40 不忧尘世不忧心 阅读(232) 评论(0) 推荐(0) 编辑
摘要: #include #include typedef char Elemtype; typedef struct Lnode { Elemtype data; struct Lnode *next; }Lnode, *Linklist; void CreateList_head(Linklist *L1) { Lnode *p; int i; *L1=(L... 阅读全文
posted @ 2016-09-27 20:26 不忧尘世不忧心 阅读(1105) 评论(0) 推荐(0) 编辑
摘要: /// 没有新建头结点,利用其中L1或L2的头结点 #include <stdio.h> #include <stdlib.h> typedef int Elemtype; typedef struct Lnode { Elemtype data; struct Lnode *next; }Lnod 阅读全文
posted @ 2016-09-27 20:23 不忧尘世不忧心 阅读(349) 评论(0) 推荐(0) 编辑