Emilbek's blog

By Emilbek, 10 years ago, In Russian

Given 2 binary numbers (X,Y). Their length is equal. In one operation you can swap X[i] and Y[i]. Task is swap do minimum number of operations,so that X + 1 = Y.

  • Vote: I like it
  • 0
  • Vote: I do not like it