<qiyuangong>274_H-Index_1.py
def hIndex( citations):
    citations.sort()
    ls = len(citations)
    h = ls
    while h > 0 and citations[ls - h] < h:
            h -= 1 
    return h
def sample_funcname ( var_0 ) :
    var_0.sort ( )
    var_3 = len ( var_0 )
    var_4 = var_3
    while var_4 > 0 and var_0 [ var_3 - var_4 ] < var_4 :
        var_4 -= 1
    return var_4
