Problems by shahriar_sust

Mr. X and His String

Mr. X found a string of length N, which contains only 0 and 1. He calculates the value of a string b...