。。。

导航

上一页 1 2 3 4 5 6 ··· 23 下一页

2017年11月16日 #

poj 2586 Y2K Accounting Bug【贪心】【刷题计划】

摘要: Y2K Accounting Bug Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16154 Accepted: 8111 Description Accounting for Computer Machinists (ACM 阅读全文

posted @ 2017-11-16 17:08 大学僧 阅读(203) 评论(0) 推荐(0) 编辑

poj2109 Power of Cryptography【坑~泪目】【水过】【刷题计划】

摘要: Power of Cryptography Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 26249 Accepted: 13121 Description Current work in cryptography involv 阅读全文

posted @ 2017-11-16 13:21 大学僧 阅读(100) 评论(0) 推荐(0) 编辑

2017年11月14日 #

例题6.1 铁轨【算法入门经典】

摘要: 一个很简单的模拟题吧,但是我都不是很懂,好菜啊。。。 阅读全文

posted @ 2017-11-14 14:30 大学僧 阅读(190) 评论(0) 推荐(0) 编辑

2017年11月12日 #

第三章 队列【数据结构】【链队列】【循环队列】

摘要: 最近越来越感觉到c语言指针的强大~~ 循环队列的实现 阅读全文

posted @ 2017-11-12 20:38 大学僧 阅读(243) 评论(0) 推荐(0) 编辑

poj 1328 Radar Installation【贪心】【刷题计划】

摘要: Radar Installation Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 93433 Accepted: 20855 Description Assume the coasting is an infinite str 阅读全文

posted @ 2017-11-12 20:29 大学僧 阅读(144) 评论(0) 推荐(0) 编辑

hdu 2364 Escape【模拟优先队列】【bfs】

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2364 题意:从唯一的起点‘@’出发,输出到达边界的步数,如果不能到达,输出-1。每走下一步,优先选择转弯的方向,只能直走(两边都是障碍物)时,才选择直走方向,重点是,不能往回走。 判断能否下一步转弯的思路是:先将 阅读全文

posted @ 2017-11-12 12:02 大学僧 阅读(167) 评论(0) 推荐(0) 编辑

2017年11月11日 #

poj 2965 The Pilots Brothers' refrigerator 【dfs+枚举】【双十一大礼包】

摘要: The Pilots Brothers' refrigerator Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 27522 Accepted: 10625 Special Judge Description The game 阅读全文

posted @ 2017-11-11 16:07 大学僧 阅读(104) 评论(0) 推荐(0) 编辑

6.3.3 二叉树重建【算法入门经典】【双十一大礼包】

摘要: 输入一棵二叉树的先序遍历和中序遍历,输出它的后序遍历序列。 运行如图 目前还有一些细节没有懂,不过不影响我仍然喜欢学习的心情~ 阅读全文

posted @ 2017-11-11 11:25 大学僧 阅读(135) 评论(0) 推荐(0) 编辑

2017年11月9日 #

6.3.2层次遍历 二叉树【算法入门经典】【结构体指针】

摘要: 运行效果图 结构体指针实现 阅读全文

posted @ 2017-11-09 20:08 大学僧 阅读(226) 评论(0) 推荐(0) 编辑

2017年11月7日 #

hdu 3336 Count the string【kmp】

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=3336 题意:给你一个字符串,问字符串每一个前缀在字符串中的出现总次数。 思路:kmp的应用,自身和自身进行匹配,每次匹配时,如果没有匹配到结束,模式串按next数组向后移动,出现匹配至结束的情况,匹配串往后移动一 阅读全文

posted @ 2017-11-07 19:27 大学僧 阅读(154) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 23 下一页