摘要: 复习使用C语言实现栈 PS:其中有一个动态增加内存的方法,要注意 阅读全文
posted @ 2015-04-10 22:41 某某璀 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 复习一下队列与循环队列的实现(C语言) 1、单链队列: 2、循环队列 阅读全文
posted @ 2015-04-10 21:46 某某璀 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=4548 Problem Description 小明对数的研究比较热爱,一谈到数,脑子里就涌现出好多数的问题,今天,小明想考考你对素数的认识。 问题是这样的:一个十进制数,如果是素数,而且它的各位数字和也是素 阅读全文
posted @ 2015-03-29 12:47 某某璀 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=1157 大意:排序,取中间数。 PS:1.自己实现了下快排函数,也可以使用#include<algorithm>下的sort(a,a+n);函数,默认升序,若要降序or结构体排序可以增加第三个参数,声明排序规 阅读全文
posted @ 2015-03-28 16:51 某某璀 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=1710 大意:给出一个二叉树的前序和中序,求其后序遍历 ps:1.在写链表时,需要写明typedef struct node{};即声明一个指向自己的数据类型,而不是直接写struct node{} 2.采用 阅读全文
posted @ 2015-03-27 21:38 某某璀 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=1072 Description Ignatius had a nightmare last night. He found himself in a labyrinth with a time bomb on 阅读全文
posted @ 2015-03-24 18:12 某某璀 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=1026 Problem Description The Princess has been abducted by the BEelzebub feng5166, our hero Ignatius has 阅读全文
posted @ 2015-03-24 12:09 某某璀 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 参考链接:http://developer.android.com/guide/topics/connectivity/wifip2p.html 国内镜像开发文档:http://wear.techbrood.com/guide/topics/connectivity/wifip2p.html API 阅读全文
posted @ 2015-03-19 14:58 某某璀 阅读(2355) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1253 题目: Ignatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会. 魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在( 阅读全文
posted @ 2015-03-18 23:11 某某璀 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=1548 There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 阅读全文
posted @ 2015-03-17 12:35 某某璀 阅读(181) 评论(0) 推荐(0) 编辑
levels of contents