Online Judge
Toggle navigation
C++题库系统 OJ
首页
问题列表
状态
排行榜
登录
首页
状态
84545
Run ID
作者
问题
语言
测评结果
Time
Memory
代码长度
提交时间
84545
胡海峰老师
22不与最大数相同的数字之和
Python3
Accepted
38 MS
3764 KB
102
2024-07-16 09:58:38
Tests(10/10):
Code:
n = int(input()) a = list(map(int,input().split())) b = [x for x in a if x != max(a)] print(sum(b))