BZOJ 1656: [Usaco2006 Jan] The Grove 树木(神奇的bfs之射线法)Apr 15, 2016·1177 words·3 minsACM BFS 射线法 计算几何1656: [Usaco2006 Jan] The Grove 树木 # Time Limit: 5 Sec Memory Limit: 64 MB Submit: 143 Solved: 88 [Submit][Status][Discuss]
BZOJ 1646: [Usaco2007 Open]Catch That Cow 抓住那只牛 (BFS)Apr 10, 2016·706 words·2 minsACM BFS1646: [Usaco2007 Open]Catch That Cow 抓住那只牛 # Time Limit: 5 Sec Memory Limit: 64 MB Submit: 915 Solved: 441 [Submit][Status][Discuss]
BZOJ 1644: [Usaco2007 Oct]Obstacle Course 障碍训练课 (BFS,DP)Apr 10, 2016·972 words·2 minsACM BFS DP1644: [Usaco2007 Oct]Obstacle Course 障碍训练课 # Time Limit: 5 Sec Memory Limit: 64 MB Submit: 451 Solved: 226 [Submit][Status][Discuss]
BZOJ 1632: [Usaco2007 Feb]Lilypad Pond (BFS,dp)Apr 6, 2016·1661 words·4 minsACM BFS DP 计数问题1632: [Usaco2007 Feb]Lilypad Pond # Time Limit: 5 Sec Memory Limit: 64 MB Submit: 496 Solved: 153 [Submit][Status][Discuss]
BZOJ 1627: [Usaco2007 Dec]穿越泥地 (BFS)Apr 4, 2016·1161 words·3 minsACM BFS1627: [Usaco2007 Dec]穿越泥地 # Time Limit: 5 Sec Memory Limit: 64 MB Submit: 624 Solved: 411 [Submit][Status][Discuss]
BZOJ1619: [Usaco2008 Nov]Guarding the Farm 保卫牧场 (BFS)Apr 3, 2016·2178 words·5 minsACM BFS DFS1619: [Usaco2008 Nov]Guarding the Farm 保卫牧场 # Time Limit: 5 Sec Memory Limit: 64 MB Submit: 661 Solved: 292 [Submit][Status][Discuss]
BZOJ 1611: [Usaco2008 Feb]Meteor Shower流星雨 (BFS)Apr 2, 2016·1407 words·3 minsACM BFS1611: [Usaco2008 Feb]Meteor Shower流星雨 # Time Limit: 5 Sec Memory Limit: 64 MB Submit: 1239 Solved: 537 [Submit][Status][Discuss]
bzoj 1602: [Usaco2008 Oct]牧场行走 (bfs,优先队列)Mar 31, 2016·754 words·2 minsACM BFSDescription N头牛(2<=n<=1000)别人被标记为1到n,在同样被标记1到n的n块土地上吃草,第i头牛在第i块牧场吃草。 这n块土地被n-1条边连接。 奶牛可以在边上行走,第i条边连接第Ai,Bi块牧场,第i条边的长度是Li(1<=Li<=10000)。 这些边被安排成任意两头奶牛都可以通过这些边到达的情况,所以说这是一棵树。 这些奶牛是非常喜欢交际的,经常会去互相访问,他们想让你去帮助他们计算Q(1<=q<=1000)对奶牛之间的距离。
bc #77 ||hdu 5652 India and China Origins (图的动态连通性问题,并查集or 二分+bfs验证连通性)Mar 28, 2016·1737 words·4 minsACM BFS 二分 动态连通性 图论 并查集题目链接 题意:没图不好描述,有中文题面中文题面,直接看吧。 思路:据说这道题有三种做法。当时比赛一种都不会。
hdu 2531 Catch him (bfs)Oct 12, 2015·1300 words·3 minsACM BFSCatch him # **Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 664 Accepted Submission(s): 307 **
codeforces 520 B. Two Buttons (bfs)Aug 16, 2015·317 words·1 minACM BFS做过一道类似的题 因为是问最短,很容易想到是bfs 对于点x,可以到达点x-1,和点2*x
poj 2688 Cleaning Robot (tsp问题)Aug 15, 2015·542 words·2 minsACM BFS DFS Tsp______ 好蠢,竟然没看出来这道题的不同之处,以为就是个搜 然后样例什么的都过了…