给定n个正整数和目标值target,求有多少个子集的元素和恰好等于target。使用二进制状态压缩实现。
第一行两个整数n, target。 第二行n个正整数。
一个整数,表示方案数。
4 5 1 2 3 4
2
n ≤ 20