Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
322174 | 123456 | 【C5-1】整数的个数 | Python3 | 通过 | 100 | 69 MS | 3756 KB | 251 | 2025-05-14 18:38:34 |
def s(a,n): c1=c5=c10=0 for i in a: if i==1: c1+=1 elif i==5: c5+=1 elif i==10: c10+=1 print(c1,c5,c10,sep='\n') n=int(input()) a=list(map(int,input().split())) s(a,n)