You are viewing a single comment's thread. Return to all comments →
Just set it!
if __name__ == '__main__': n = int(input()) collection = set(map(int, input().split())) collection.remove(max(collection)) print(max(collection))
Find the Runner-Up Score!
You are viewing a single comment's thread. Return to all comments →
Just set it!