Rosetta Problems

Enumeration of Subsets I

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