<doocs>2126.Destroying Asteroids_1.py
def asteroidsDestroyed( mass: int, asteroids: List[int]) -> bool:
    asteroids.sort()
    for v in asteroids:
        if mass < v:
            return False
        mass += v
    return True
def sample_funcname ( var_0 : int , var_2 : List [ int ] ) -> bool :
    var_2.sort ( )
    for var_6 in var_2 :
        if var_0 < var_6 :
            return False
        var_0 += var_6
    return True
