<qiyuangong>274_H-Index_2.py
def hIndex( citations):
    citations.sort()
    i = 0
    while i < len(citations) and citations[len(citations) - 1 - i] > i:
        i += 1
    return i
def sample_funcname ( var_0 ) :
    var_0.sort ( )
    var_3 = 0
    while var_3 < len ( var_0 ) and var_0 [ len ( var_0 ) - 1 - var_3 ] > var_3 :
        var_3 += 1
    return var_3
