Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86966 丁俊杰 22不与最大数相同的数字之和 Python3 Accepted 43 MS 3768 KB 117 2024-07-31 18:43:34

Tests(10/10):


Code:

n=int(input()) a=list(map(int,input().split())) res=0 for x in a: if x!=max(a): res+=x print(res)