Bit manipulation
http://www.ugcs.caltech.edu/~wnoise/base2.html
AtCoder Beginner G problems upsolving