BFS
SpongeBob_Y
这个作者很懒,什么都没留下…
展开
-
POJ 2387 Til the Cows Come Home(最短路)
Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Bessie needs her beauty sleep, so she wants to get b...原创 2018-03-02 11:07:15 · 138 阅读 · 0 评论 -
ACM BFS,DFS入门题(附代码解释)
目录 HDU 1312 Red and Black(BFS) HDU1372 Knight Moves(BFS) HDU2717 Catch That Cow(BFS) HDU 1241 Oil Deposits(DFS) HDU - 1181 变形课(DFS) HDU 1312 Red and Black(BFS) 题意:从‘@’点出发,问能到达的最多的点有多少,‘#’不可经过...原创 2019-08-11 12:12:44 · 683 阅读 · 0 评论