POJ
文章平均质量分 70
szjezoimzy
这个作者很懒,什么都没留下…
展开
-
POJ 1061 青蛙的约会
2016.11.15【题目描述】 Description 两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止。可是它们出发之前忘记了一件很重要的事情,既没有问清楚对方的特征,也没有约定见面的具体位置。不过青蛙们都是很乐观的,它们觉得只要一直朝着某个方向跳下去,总能碰到对方的。但是除非这两只青蛙在同一时间跳到同原创 2016-11-15 15:49:18 · 263 阅读 · 0 评论 -
最小生成树--prim算法(poj 2485)
2016.12.28prim算法是求解最小生成树的一种算法,基本思路是贪心。从已知集合出发(初始已知集合是1个点),每次查找所能到达的点的最短路径,将与这条路径连接的点加入已知集合,同时更新所能到达的点的最短路径。【题目简述】 The island nation of Flatopia is perfectly flat. Unfortunately, Flatopia has no public原创 2016-12-28 19:11:09 · 258 阅读 · 0 评论 -
POJ 1789 Truck History
2016.12.28【题目描述】 Advanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture, or for bricks. The company has its own code describing原创 2016-12-28 19:56:47 · 265 阅读 · 0 评论 -
POJ 3026 Borg Maze
2016.12.29【题目描述】 The Borg is an immensely powerful race of enhanced humanoids from the delta quadrant of the galaxy. The Borg collective is the term used to describe the group consciousness of the Bor原创 2016-12-29 23:35:10 · 274 阅读 · 0 评论 -
POJ 2349 Arctic Network
2016.12.30【题目简述】 The Department of National Defence (DND) wishes to connect several northern outposts by a wireless network. Two different communication technologies are to be used in establishing the原创 2016-12-30 20:17:41 · 273 阅读 · 0 评论 -
POJ 2230 Watchcow
2016.12.31【题目描述】 Bessie’s been appointed the new watch-cow for the farm. Every night, it’s her job to walk across the farm and make sure that no evildoers are doing any evil. She begins at the barn, m原创 2016-12-31 15:13:08 · 337 阅读 · 0 评论 -
POJ 1041 John's trip
2016.12.31【题目描述】 Little Johnny has got a new car. He decided to drive around the town to visit his friends. Johnny wanted to visit all his friends, but there was many of them. In each street he had on原创 2016-12-31 16:27:27 · 316 阅读 · 0 评论 -
POJ 2367 Genealogical tree
2016.12.31【题目描述】 The system of Martians’ blood relations is confusing enough. Actually, Martians bud when they want and where they want. They gather together in different groups, so that a Martian can原创 2016-12-31 20:59:07 · 256 阅读 · 0 评论