comefrom: <gouthampradhan>bit_manipulation_TotalHammingDistance_1.java
code: public int totalHammingDistance(int[] nums) {
      int sum = 0;
      for (int i = 0; i < 32; i++) {
        int numOfOnes = 0;
        int p = (1 << i);
        for (int num : nums) {
          if ((num & p) > 0) {
            numOfOnes++;
          }
        }
        sum += ((nums.length - numOfOnes) * numOfOnes);
      }
      return sum;
    }
masked: public int sample_funcname ( int [ ] var_0 ) {
    int var_2 = 0 ;
    for ( int var_3 = 0 ;
    var_3 < 32 ;
    var_3 ++ ) {
      int var_5 = 0 ;
      int var_7 = ( 1 << var_3 ) ;
      for ( int var_8 : var_0 ) {
        if ( ( var_8 & var_7 ) > 0 ) {
          var_5 ++ ;
        }
      }
      var_2 += ( ( var_0 . length - var_5 ) * var_5 ) ;
    }
    return var_2 ;
  }
  