Rosetta Problems

Enumeration of Subsets II

https://onlinejudge.u-aizu.ac.jp/problems/ITP2_11_B