基本的状压DP。。。
Corn Fields
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 5554
Accepted: 2944
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. Regrettably, some of the squares are infertile and can't be planted. Canny FJ knows that the cows dislike eating close to each other, so when choosing which squares to pl......
阅读全文