博客园 首页 私信博主 显示目录 隐藏目录 管理
摘要: DescriptionThe SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how many quadruplet (a, b, c, d ) $ \i... 阅读全文
posted @ 2015-08-04 21:54 hfcnal 阅读(737) 评论(0) 推荐(1) 编辑
摘要: 紫书例题p245Piotr found a magical box in heaven. Its magic power is that if you place any red balloon inside it then, after one hour, it will multiply to ... 阅读全文
posted @ 2015-08-04 20:30 hfcnal 阅读(1168) 评论(0) 推荐(1) 编辑
摘要: UVA - 1605Time Limit:3000MSMemory Limit:Unknown64bit IO Format:%lld & %lluDescriptionThe United Nations has decided to build a new headquarters in Sai... 阅读全文
posted @ 2015-08-04 16:16 hfcnal 阅读(347) 评论(0) 推荐(1) 编辑
摘要: UVA - 120Stacks of FlapjacksTime Limit:3000MSMemory Limit:Unknown64bit IO Format:%lld & %lluDescriptionBackgroundStacks and Queues are often considere... 阅读全文
posted @ 2015-08-04 15:31 hfcnal 阅读(683) 评论(0) 推荐(1) 编辑
摘要: My birthday is coming up and traditionally I’m serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F... 阅读全文
posted @ 2015-08-04 11:16 hfcnal 阅读(935) 评论(0) 推荐(1) 编辑