随笔分类 -  数据结构-哈希

摘要:题目连接http://poj.org/problem?id=27854 Values whose Sum is 0DescriptionThe SUM problem can be formulated as follows: given four lists A, B, C, D of integ... 阅读全文
posted @ 2015-10-10 21:35 GadyPu 阅读(239) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4334TroubleDescriptionHassan is in trouble. His mathematics teacher has given him a very difficult probl... 阅读全文
posted @ 2015-09-08 21:19 GadyPu 阅读(179) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2095hdu 2095 find your present (2)DescriptionIn the new year party, everybody will get a "special presen... 阅读全文
posted @ 2015-09-08 19:59 GadyPu 阅读(143) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1496EquationsDescriptionConsider equations having the following form:a*x1^2+b*x2^2+c*x3^2+d*x4^2=0a, b, ... 阅读全文
posted @ 2015-09-08 19:37 GadyPu 阅读(156) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5183Negative and Positive (NP)DescriptionWhen given an array $\left( {{a_0},{a_1},{a_2}, \cdots {a_{n - ... 阅读全文
posted @ 2015-09-07 21:09 GadyPu 阅读(120) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1880魔咒词典Description哈利波特在魔法学校的必修课之一就是学习魔咒。据说魔法世界有100000种不同的魔咒,哈利很难全部记住,但是为了对抗强敌,他必须在危急时刻能够调用任何一个需要的魔咒,所以他... 阅读全文
posted @ 2015-09-05 21:36 GadyPu 阅读(278) 评论(0) 推荐(0)
摘要:题目连接http://poj.org/problem?id=2002SquaresDescriptionA square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angl... 阅读全文
posted @ 2015-09-01 19:31 GadyPu 阅读(117) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2141Can you find it?DescriptionGive you three sequences of numbers A, B, C, then we give you a number X.... 阅读全文
posted @ 2015-08-30 22:14 GadyPu 阅读(116) 评论(0) 推荐(0)