Implement the subset ii problem once again for the new online judge.