dfs
文章平均质量分 79
小学生反弹
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UVa, 10452 Marcus
Marcus, help! Input: standard input Output: standard output Time Limit: 2 Seconds "First, the breath of God. Only the penitent man will pass. Second, the Word of God, Only in the footsteps原创 2013-10-09 19:08:11 · 889 阅读 · 0 评论 -
Network UVa, 315
Network A Telephone Line Company (TLC) is establishing a new telephone cable network. They are connecting several places numbered by integers from 1 to N. No two places have the same numb原创 2013-10-09 19:13:09 · 717 阅读 · 0 评论 -
uva 572 oil Deposits
Problem A : Oil Deposits From:UVA, 572 Oil Deposits The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with原创 2013-12-09 10:31:34 · 544 阅读 · 0 评论 -
uva ,532
Dungeon Master From:UVA, 532 Dungeon Master You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may原创 2013-12-09 10:42:15 · 587 阅读 · 0 评论 -
POJ LAKE COUNTING 2386
基本的dfs的题,看了挑战程序设计这本书对这个算法有了些初步的了解,通过不断的查找不断的更改,找到连在一起的块,提交poj的时候compile error 了两次,第一次没有修改编译器,可能是很久没做题的原因了吧,然后就是纠结是否输入的时候要加循环,导致while 的括号多了一个,我的codeblocks也没发现这个bug,算了,acm的题还是多练吧 #include #include us原创 2014-10-12 17:33:50 · 641 阅读 · 0 评论
分享