Rosetta Problems

Sum of numbers filtered by bit

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