← Back to List

10406번: The fellowship of the ring ↗

Solutions

Python 3
132 B | 132 chars
W,N,P =map(int,input().split())
cnt = 0
L = list(map(int,input().split()))
for i in L:
    if W <= i <= N:
        cnt+=1
print(cnt)