<qiyuangong>137_Single_Number_II_1.py
def singleNumber( nums):
    import ctypes
    
    
    count = [0] * 32
    res = ctypes.c_int32(0)
    for i in range(32):
        for num in nums:
            if (ctypes.c_int32(num).value >> i) & 1:
                count[i] += 1
        res.value |= ((count[i] % 3) << i)
    return res.value
def sample_funcname ( var_0 ) :
    import var_1
    var_4 = [ 0 ] * 32
    var_6 = var_1.c_int32 ( 0 )
    for var_8 in range ( 32 ) :
        for var_9 in var_0 :
            if ( var_1.c_int32 ( var_9 ).value >> var_8 ) & 1 :
                var_4 [ var_8 ] += 1
        var_6.value |= ( ( var_4 [ var_8 ] % 3 ) << var_8 )
    return var_6.value
