Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
54531 蔡璟恒 统计同成绩学生人数 Python3 Accepted 36 MS 3796 KB 303 2023-07-23 15:26:33

Tests(1/1):


Code:

arr=[] while True: n=int(input()) if n==0: break shuru=[] for i in map(int,input().split()): shuru.append(i) fenshu=int(input()) count=0 for i in shuru: if i==fenshu: count+=1 arr.append(count) for i in arr: print(i)