Rosetta Problems

Bit Operation I

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