728x90
반응형

단순 구현 문제이다.

w, n, p = map(int, input().split())
li = list(map(int, input().split()))
cnt = 0
for h in li:
    if w <= h <= n:
        cnt += 1
print(cnt)
728x90
반응형

+ Recent posts