2013年6月22日

UVA 10054 The Necklace(欧拉回路,打印路径)

摘要: 题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=995Problem D: The NecklaceMy little sister had a beautiful necklace made of colorful beads. Two successive beads in the necklace shared a common color at their meeting point. The figure be 阅读全文

posted @ 2013-06-22 13:47 kuangbin 阅读(807) 评论(0) 推荐(0) 编辑

HDU 4562 守护雅典娜(dp)

摘要: 守护雅典娜Time Limit: 3000/1000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 324Accepted Submission(s): 91Problem Description许多塔防游戏都是以经典的“守护雅典娜”为原型的。玩家需要建立各种防御工具来阻止怪物接近我们的女神——雅典娜。这里,我们可以建造的防御工具只有标准圆形状的防御墙,建立在雅典娜与怪物出生点之间的防御墙数目越多,胜利的希望就越大。这里,将问题简化到一个二维坐标系里,并且假设雅典娜的坐标为原点(0, 阅读全文

posted @ 2013-06-22 10:18 kuangbin 阅读(853) 评论(0) 推荐(0) 编辑

导航

JAVASCRIPT: