题解 | #统计同成绩学生人数#
统计同成绩学生人数
https://www.nowcoder.com/practice/987123efea5f43709f31ad79a318ca69
while True: try: n = int(input()) sco = list(map(int, input().split(" "))) x = int(input()) ct = 0 for i in range(n): if x == sco[i]: ct += 1 print(ct) except: break