图与搜索
理性驱动
这个作者很懒,什么都没留下…
展开
-
HDU2717 Catch That Cow BFS
Problem Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line and the cow is at a p原创 2013-08-18 23:04:23 · 583 阅读 · 0 评论 -
HDU 1217 Arbitrage 图
Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the same currency. For example, suppose that 1 US Dollar buys 0.5 Britis原创 2013-09-11 15:32:12 · 525 阅读 · 0 评论 -
HDU1166 敌兵布阵 线段数组
敌兵布阵 Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 10 Accepted Submission(s) : 7 Problem Description C国的死对头A国这段时间正在进行军事演习,所以C国间谍头原创 2014-04-19 13:28:28 · 672 阅读 · 0 评论