Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67047 胡海峰老师 18高于平均分的学生数量 Python3 Accepted 35 MS 3764 KB 140 2024-03-13 15:56:31

Tests(10/10):


Code:

n = int(input()) a = list(map(int,input().split())) avg = sum(a)/n res =0 for ele in a: if ele>avg: res +=1 print(res)