随笔 - 127,  文章 - 0,  评论 - 0,  阅读 - 25394
09 2016 档案
寒冰王座 hdu 1248(背包)
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1248 阅读全文
posted @ 2016-09-27 20:40 不忧尘世不忧心 阅读(232) 评论(0) 推荐(0) 编辑
单链表头插法、尾插法(26个字母为例)
摘要:#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 不忧尘世不忧心 阅读(1124) 评论(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 不忧尘世不忧心 阅读(353) 评论(0) 推荐(0) 编辑
Number Sequence HDU 1711(KMP)
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1711 首次接触KMP,自己都不是特别理解。在网上百度看了好几个帖子之后,对KMP也有了初步的理解。 阅读全文
posted @ 2016-09-25 10:40 不忧尘世不忧心 阅读(214) 评论(0) 推荐(0) 编辑


点击右上角即可分享
微信分享提示