<garvit244>1266_1.py
def minTimeToVisitAllPoints( points):
    if not points:
        return 0
    result = 0
    for index in range(1, len(points)):
        result += max(abs(points[index][0]-points[index-1][0]), abs(points[index][1]-points[index-1][1]))
    return result
def sample_funcname ( var_0 ) :
    if not var_0 :
        return 0
    var_2 = 0
    for var_6 in range ( 1 , len ( var_0 ) ) :
        var_2 += max ( abs ( var_0 [ var_6 ] [ 0 ] - var_0 [ var_6 - 1 ] [ 0 ] ) , abs ( var_0 [ var_6 ] [ 1 ] - var_0 [ var_6 - 1 ] [ 1 ] ) )
    return var_2
