随笔分类 - DP——状态压缩DP
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=4336转自http://www.cnblogs.com/zhj5chengfeng/archive/2013/03/02/2939601.html做法分析由于卡片最多只有 20 种,使用状态压缩,用 0 表示这种卡...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=5418/*模板题先用floeyed处理*//************************************************* Author :Powatr* Created Time...
阅读全文
摘要:DescriptionSquares and rectangles fascinated the famous Dutch painter Piet Mondriaan. One night, after producing the drawings in his 'toilet series' (...
阅读全文