You are viewing a single comment's thread. Return to all comments →
import copy as cp n = int(raw_input()) arr = map(int, raw_input().split()) arrBig = cp.copy(arr) arr.remove(max(arr)) while max(arrBig) == max(arr): arrBig.remove(max(arrBig)) arr.remove(max(arr)) print(max(arr))
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 →