Rosetta Problems

Bit Flag

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