Rosetta Problems

Counting Subsets

https://atcoder.jp/contests/arc143/tasks/arc143_f