<qiyuangong>475_Heaters_1.py
def findRadius( houses, heaters):
    heaters = sorted(heaters) + [float('inf')]
    i = r = 0
    for x in sorted(houses):
        while x >= sum(heaters[i:i + 2]) / 2.:
            i += 1
        r = max(r, abs(heaters[i] - x))
    return r
def sample_funcname ( var_0 , var_1 ) :
    var_1 = sorted ( var_1 ) + [ float ( 'inf' ) ]
    var_7 = var_5 = 0
    for var_8 in sorted ( var_0 ) :
        while var_8 >= sum ( var_1 [ var_7 : var_7 + 2 ] ) / 2.:
            var_7 += 1
        var_5 = max ( var_5 , abs ( var_1 [ var_7 ] - var_8 ) )
    return var_5
