<doocs>1921.Eliminate Maximum Number of Monsters_1.py
def eliminateMaximum( dist: List[int], speed: List[int]) -> int:
    n = len(dist)
    times = [(dist[i] - 1) // speed[i] for i in range(n)]
    times.sort()
    for i in range(n):
        if times[i] < i:
            return i
    return n
def sample_funcname ( var_0 : List [ int ] , var_3 : List [ int ] ) -> int :
    var_5 = len ( var_0 )
    var_9 = [ ( var_0 [ var_6 ] - 1 ) // var_3 [ var_6 ] for var_6 in range ( var_5 ) ]
    var_9.sort ( )
    for var_6 in range ( var_5 ) :
        if var_9 [ var_6 ] < var_6 :
            return var_6
    return var_5
