。。。

导航

11 2017 档案

poj 2488 A Knight's Journey 【dfs】【字典序】【刷题计划】
摘要:A Knight's Journey Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 47516 Accepted: 16161 Description Background The knight is getting bored 阅读全文

posted @ 2017-11-27 12:53 大学僧 阅读(199) 评论(0) 推荐(0)

【Educational Codeforces Round 33 B】Beautiful Divisors
摘要:B. Beautiful Divisors time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Recently Luba lear 阅读全文

posted @ 2017-11-24 12:41 大学僧 阅读(168) 评论(0) 推荐(0)

【 Educational Codeforces Round 33 A】Chess For Three
摘要:A. Chess For Three time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Alex, Bob and Carl wil 阅读全文

posted @ 2017-11-24 10:32 大学僧 阅读(212) 评论(0) 推荐(0)

poj 1573 Robot Motion 【模拟】【刷题计划】
摘要:Robot Motion Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 14641 Accepted: 7032 Description A robot has been programmed to follow the ins 阅读全文

posted @ 2017-11-22 14:14 大学僧 阅读(182) 评论(0) 推荐(0)

poj 2632 Crashing Robots【模拟】【略坑~】【刷题计划】
摘要:Crashing Robots Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11233 Accepted: 4753 Description In a modernized warehouse, robots are used 阅读全文

posted @ 2017-11-21 18:42 大学僧 阅读(182) 评论(0) 推荐(0)

第5章 遍历二叉树【递归遍历】
摘要:一开始本姑娘想来一波神奇的操作让二叉树甘拜于我的键盘之下,然鹅发现,我去,二叉树原来这么奇葩。 然后呢,本姑娘就下定决心从简单的开始写,我就不信,指针都被我啃下来了,二叉树我还搞不定你,哼~ 阅读全文

posted @ 2017-11-20 22:29 大学僧 阅读(254) 评论(0) 推荐(0)

poj1068 Parencodings【模拟】【刷题计划】
摘要:Parencodings Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 27375 Accepted: 16094 Description Let S = s1 s2...s2n be a well-formed string 阅读全文

posted @ 2017-11-18 15:31 大学僧 阅读(173) 评论(0) 推荐(0)

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 大学僧 阅读(215) 评论(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 大学僧 阅读(114) 评论(0) 推荐(0)

例题6.1 铁轨【算法入门经典】
摘要:一个很简单的模拟题吧,但是我都不是很懂,好菜啊。。。 阅读全文

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

第三章 队列【数据结构】【链队列】【循环队列】
摘要:最近越来越感觉到c语言指针的强大~~ 循环队列的实现 阅读全文

posted @ 2017-11-12 20:38 大学僧 阅读(296) 评论(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 大学僧 阅读(156) 评论(0) 推荐(0)

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

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

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 大学僧 阅读(118) 评论(0) 推荐(0)

6.3.3 二叉树重建【算法入门经典】【双十一大礼包】
摘要:输入一棵二叉树的先序遍历和中序遍历,输出它的后序遍历序列。 运行如图 目前还有一些细节没有懂,不过不影响我仍然喜欢学习的心情~ 阅读全文

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

6.3.2层次遍历 二叉树【算法入门经典】【结构体指针】
摘要:运行效果图 结构体指针实现 阅读全文

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

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

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

第四章 串的基本操作【数据结构】
摘要:运行截图。 自己太久没有这样用过指针了,总是用不好~~ 下次自己申请了一个指针,就得初始化,不然在判断是否为空的操作下,会导致程序停止运行。(传说中的敲代码5分钟,debug2小时又被我碰上了,泪目)。 阅读全文

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

poj1753Flip Game【刷题计划】
摘要:Flip Game Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 47766 Accepted: 20383 Description Flip game is played on a rectangular 4x4 field 阅读全文

posted @ 2017-11-04 19:44 大学僧 阅读(150) 评论(0) 推荐(0)

hdu2087剪花布条+hdu3746Cyclic Nacklace【kmp复习】
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2087 http://acm.hdu.edu.cn/showproblem.php?pid=3746 阅读全文

posted @ 2017-11-02 10:14 大学僧 阅读(119) 评论(0) 推荐(0)