<awangdev>Single Number II_1.java
public int singleNumber(int[] A) {
        if (A == null || A.length == 0) {
            return -1;
        }
        int[] bits = new int[32];
        int rst = 0;
        for (int i = 0; i < 32; i++) {
            for (int j = 0; j < A.length; j++){
                bits[i] += A[j] >> i & 1;
                bits[i] %= 3;
            }
            rst |= bits[i] << i;
        }
        return rst;
    }
public int sample_funcname ( int [ ] var_0 ) {
  if ( var_0 == null || var_0 . length == 0 ) {
    return - 1 ;
  }
  int [ ] var_6 = new int [ 32 ] ;
  int var_7 = 0 ;
  for ( int var_8 = 0 ;
  var_8 < 32 ;
  var_8 ++ ) {
    for ( int var_9 = 0 ;
    var_9 < var_0 . length ;
    var_9 ++ ) {
      var_6 [ var_8 ] += var_0 [ var_9 ] >> var_8 & 1 ;
      var_6 [ var_8 ] %= 3 ;
    }
    var_7 |= var_6 [ var_8 ] << var_8 ;
  }
  return var_7 ;
}
