Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
95154 胡皓宇 22不与最大数相同的数字之和 Python3 Accepted 40 MS 3768 KB 135 2024-10-27 08:54:47

Tests(10/10):


Code:

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