Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
38612 | 木木老师 | 统计同成绩学生人数 | Python3 | Accepted | 40 MS | 3872 KB | 307 | 2022-09-15 10:34:39 |
l=[] while True: n=int(input()) if n==0: break arr=[] for x in map(int,input().split()): arr.append(x) f=int(input()) t=[f,arr] l.append(t) for i in l: count=0 for j in i[1]: if i[0]==j: count=count+1 print(count)