标签:input second div blog sort == map split() nbsp
1 if __name__ == ‘__main__‘: 2 n = int(input()) 3 arr = map(int, input().split()) 4 print(sorted(list(set(arr)))[-2])
HackerRank-Python攻城歷程-3.List( Find the Second Largest Number )
标签:input second div blog sort == map split() nbsp
原文地址:http://www.cnblogs.com/riocasture/p/7596041.html