摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1272小希的迷宫Description上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连... 阅读全文
posted @ 2015-07-02 20:53 GadyPu 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5224Tom and paperDescriptionThere is a piece of paper in front of Tom, its length and width are integer.... 阅读全文
posted @ 2015-07-02 19:40 GadyPu 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5104Primes ProblemDescriptionGiven a number n, please count how many tuple$(p_1, p_2, p_3)$ satisfied th... 阅读全文
posted @ 2015-07-02 17:32 GadyPu 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2102A计划Description可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈... 阅读全文
posted @ 2015-07-02 15:56 GadyPu 阅读(142) 评论(0) 推荐(0) 编辑