随笔分类 - 搜索 BFS
摘要:A. Ostap and Grasshopper 题面 On the way to Rio de Janeiro Ostap kills time playing with a grasshopper he took with him in a special box. Ostap builds a
阅读全文
摘要:Rubik's Cube 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5836 Description As we all know, Zhu is the wisest man. When Liao was ninety nine years o
阅读全文
摘要:Ricochet Robots 题目连接: http://acm.hust.edu.cn/vjudge/problem/visitOriginUrl.action?id=129726 Description A team of up to four robots is going to delive
阅读全文
摘要:B. Mike and Shortcuts 题目连接: http://www.codeforces.com/contest/689/problem/B Description Recently, Mike was very busy with studying for exams and conte
阅读全文
摘要:D. Theseus and labyrinth 题目连接: http://www.codeforces.com/contest/676/problem/D Description Theseus has just arrived to Crete to fight Minotaur. He fou
阅读全文
摘要:B. Obsession with Robots 题目连接: http://www.codeforces.com/contest/8/problem/B Description The whole world got obsessed with robots,and to keep pace wit
阅读全文
摘要:F. Polycarp and Hay 题目连接: http://www.codeforces.com/contest/659/problem/F Description The farmer Polycarp has a warehouse with hay, which can be repre
阅读全文
摘要:E. Bear and Forgotten Tree 2 题目连接: http://www.codeforces.com/contest/653/problem/E Description A tree is a connected undirected graph consisting of n
阅读全文
摘要:MC挖矿世界 题目连接: http://acm.uestc.edu.cn/ /problem/show/1287 Description 银牌爷和柱神开始玩MC啦,但是怪物实在是太多了,于是银牌爷决定去挖点钻石提升装备。 来到矿脉的银牌爷发现矿脉错综复杂。 矿脉是由一些矿洞和一些通道组成的,通道连着
阅读全文
摘要:<center Variable, or There and Back Again</center 题目连接:http://codeforces.com/problemset/problem/164/A DescriptionLife is not easy for the perfectly ...
阅读全文
摘要:D. Igor In the MuseumTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/598/problem/DDescriptionIgor is in the museum and he want...
阅读全文
摘要:B. Biridian ForestTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/329/problem/BDescriptionYou're a mikemon breeder currently i...
阅读全文
摘要:E. Three StatesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/591/problem/EDescriptionThe famous global economic crisis is ap...
阅读全文
摘要:D. Phillip and TrainsTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/contest/586/problem/DDescriptionThe mobile application store has ...
阅读全文
摘要:BoxesTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://hihocoder.com/contest/acmicpc2015beijingonline/problem/7DescriptionThere is a strange storehouse...
阅读全文
摘要:F. FloodTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100685/problem/FDescriptionWe all know that King Triton doesn't like us an...
阅读全文
摘要:BearPlaysDiv2Problem StatementLimak is a little bear who loves to play. Today he is playing by moving some stones between three piles of stones. Initi...
阅读全文
摘要:Charitable ExchangeTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/482DescriptionHave you ever heard a star charity s...
阅读全文
摘要:The Donkey of Gui ZhouTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4740DescriptionThere was no donkey in the pr...
阅读全文
摘要:E. Two LabyrinthsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100187/problem/EDescriptionA labyrinth is the rectangular grid, e...
阅读全文