Ones and Zeros Multiple (SPOJ / Polish Olympiad) [video]
youtu.be