Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134022 叶航帅 22不与最大数相同的数字之和 Python3 Accepted 58 MS 3772 KB 150 2025-10-25 14:25:03

Tests(10/10):


Code:

n = int(input()) a = list(map(int,input().split())) b = max(a) res = 0 for i in range(n): if a[i] != b: res = res+a[i] print(res)