Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
74402 张康楠 老鼠喝水 Python3 Accepted 37 MS 3768 KB 146 2024-05-25 10:56:43

Tests(10/10):


Code:

n, t = map(int, input().split()) a = list(map(int, input().split())) ans = 0 for x in range(n): if a[x]<=t: ans=ans+1 print(ans)