comefrom: <doocs>1318.Minimum Flips to Make a OR b Equal to c_1.py
code: def minFlips( a: int, b: int, c: int) -> int:
      ans = 0
      for i in range(31):
          x, y, z = (a >> i) & 1, (b >> i) & 1, (c >> i) & 1
          if (x | y) == z:
              continue
          if x == 1 and y == 1 and z == 0:
              ans += 2
          else:
              ans += 1
      return ans
masked: def sample_funcname ( var_0 : int , var_2 : int , var_3 : int ) -> int :
      var_5 = 0
      for var_8 in range ( 31 ) :
          var_10 , var_11 , var_12 = ( var_0 >> var_8 ) & 1 , ( var_2 >> var_8 ) & 1 , ( var_3 >> var_8 ) & 1
          if ( var_10 | var_11 ) == var_12 :
              continue
          if var_10 == 1 and var_11 == 1 and var_12 == 0 :
              var_5 += 2
          else :
              var_5 += 1
      return var_5
  