<doocs>1899.Merge Triplets to Form Target Triplet_1.py
def mergeTriplets( triplets: List[List[int]], target: List[int]) -> bool:
    maxA = maxB = maxC = 0
    tA, tB, tC = target
    for a, b, c in triplets:
        if a <= tA and b <= tB and c <= tC:
            maxA = max(maxA, a)
            maxB = max(maxB, b)
            maxC = max(maxC, c)
    return (maxA, maxB, maxC) == (tA, tB, tC)
def sample_funcname ( var_0 : List [ List [ int ] ] , var_3 : List [ int ] ) -> bool :
    var_8 = var_5 = var_6 = 0
    var_9 , var_10 , var_11 = var_3
    for var_12 , var_13 , var_14 in var_0 :
        if var_12 <= var_9 and var_13 <= var_10 and var_14 <= var_11 :
            var_8 = max ( var_8 , var_12 )
            var_5 = max ( var_5 , var_13 )
            var_6 = max ( var_6 , var_14 )
    return ( var_8 , var_5 , var_6 ) == ( var_9 , var_10 , var_11 )
