You are viewing a single comment's thread. Return to all comments →
n = int(input()) # 5 arr = map(int, input().split()) # 2 3 6 6 5
arr=list(arr) arr.sort() # 2 3 5 6 6 a=arr[n-1]
for i in range (1,n): if(arr[n-(i+1)]
Seems like cookies are disabled on this browser, please enable them to open this website
Find the Runner-Up Score!
You are viewing a single comment's thread. Return to all comments →
n = int(input()) # 5 arr = map(int, input().split()) # 2 3 6 6 5
arr=list(arr) arr.sort() # 2 3 5 6 6 a=arr[n-1]
for i in range (1,n): if(arr[n-(i+1)]