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
|
8398 Discussions
|
Please Login in order to post a comment
if name == 'main': n = int(input()) arr = map(int, input().split()) print(sorted(set(arr),reverse=True)[1])
if name == 'main': n = int(input()) arr = map(int, input().split()) result = sorted(set(arr))[-2] print(result) is this correct
Why i can't submit my code?