We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Find the Runner-Up Score!
Find the Runner-Up Score!
Sort by
recency
|
8407 Discussions
|
Please Login in order to post a comment
if name == 'main': n = int(input()) arr = list(map(int, input().split())) temp=list(set(arr)) temp.sort(reverse=True) print(temp[1])
if name == 'main': n = int(input()) arr = map(int, input().split())
print(sorted(list(set(arr)))[-2])
if name == 'main': n = int(input()) aarr = map(int, input().split()) arr = sorted(aarr) max,m = arr[-1],-101 for i in arr: if i>m and i