Run ID:84544
提交时间:2024-07-16 09:57:46
n = int(input()) a = list(map(int,input().split())) res = 0 for ele in a: if ele != max(a): res +=ele print(res)