![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bfs
文章平均质量分 82
black_miracle
这个作者很懒,什么都没留下…
展开
-
HDU 3468 双bfs+二分图
寻宝游戏Time Limit: 1000MS Memory Limit: 65536K Description你喜欢寻宝游戏吗?今天,小明就要和他的朋友展开一场冒险之旅。他们可能在路上找到许多黄金。小明的朋友非常聪明,已经绘制出了一张寻宝地图,为了简单化,地图上只有三种标识:• ‘.’ 表示他们可以通过的空原创 2016-07-31 15:15:45 · 456 阅读 · 0 评论 -
HDU 4771 暴搜
Stealing Harry Potter's PreciousTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description Harry Potter has some precious. For example, his原创 2016-08-05 23:36:34 · 270 阅读 · 0 评论 -
ZJNU 1815 bfs
HIPERCIJEVITime Limit: 1000MS Memory Limit: 32768KDescriptionSample Input9 3 51 2 31 4 53 6 75 6 76 8 915 8 411 12 8 14 13 6 10 71 5 8 12 13 6 2 410 1原创 2016-04-24 21:46:14 · 403 阅读 · 0 评论 -
HDU 5961 bfs
传递Time Limit: 12000/6000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem Description我们称一个有向图G是传递的,当且仅当对任意三个不同的顶点a,,若G中有 一条边从a到b且有一条边从b到c ,则G中同样有一条边从a到c。我们称图G是一个竞赛图原创 2016-11-07 18:56:55 · 306 阅读 · 0 评论 -
2016-2017 ACM-ICPC, NEERC, Southern Subregional Contest c 二分+bfs
Bulmarttime limit per test1.5 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputA new trade empire is rising in Berland. Bulmart,原创 2016-10-31 20:44:12 · 380 阅读 · 0 评论 -
Codeforces 750D 记忆化搜索
New Year and Fireworkstime limit per test2.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne tradition of welcoming the New原创 2016-12-31 11:33:28 · 319 阅读 · 0 评论 -
BZOJ 4761 bfs
Cow NavigationTime Limit: 10 Sec Memory Limit: 128 MB[Submit][Status][Discuss]DescriptionBessie has gotten herself stuck on the wrong side of Farmer John's barn again, and since her vision原创 2017-03-05 18:08:19 · 465 阅读 · 0 评论 -
Codeforces 788C 想法+bfs
The Great Mixingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSasha and Kolya decided to get drunk with C原创 2017-03-30 21:52:04 · 728 阅读 · 0 评论 -
Codeforces 796D bfs
Police Stationstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputInzane finally found Zane with a lot of mon原创 2017-04-11 19:44:12 · 968 阅读 · 0 评论