DP状态压缩
文章平均质量分 82
tauriel
这个作者很懒,什么都没留下…
展开
-
POJ 3254 Corn Fields(状态压缩dp)
Description Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow some yummy corn for the cows on a number of squares原创 2014-08-06 22:30:16 · 513 阅读 · 0 评论 -
HDU 1565 方格取数(1) (状态压缩)
没什么好说的,主要看代码注释,取数,的写法基本都是这样原创 2014-08-06 21:20:55 · 600 阅读 · 0 评论 -
HDU 2167 Pebbles(状态压缩dp)
Problem Description You're given an unlimited number of pebbles to distribute across an N x N game board (N drawn from [3, 15]), where each square on the board contains some positive point value be原创 2014-08-06 21:37:10 · 469 阅读 · 0 评论 -
HDU 1074 Doing Homework(状态压缩dp)
Problem Description Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius hands i原创 2014-08-06 22:11:56 · 392 阅读 · 0 评论 -
HDU 4771 Stealing Harry Potter's Precious(bfs+dfs)
Stealing Harry Potter's Precious Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1105 Accepted Submission(s): 533 Problem Descripti原创 2014-08-08 09:47:58 · 487 阅读 · 0 评论