<qiyuangong>198_House_Robber_3.py
def rob( nums):
    prevMax = currMax = 0
    for num in nums:
        temp = currMax
        currMax = max(prevMax + num, currMax)
        prevMax = temp
    return currMax
def sample_funcname ( var_0 ) :
    var_3 = var_1 = 0
    for var_4 in var_0 :
        var_5 = var_1
        var_1 = max ( var_3 + var_4 , var_1 )
        var_3 = var_5
    return var_1
