You are viewing a single comment's thread. Return to all comments →
No need for the list and no need for the '1'
s, t = map(int, input().split()) a, b = map(int, input().split()) _ = input() print(sum(s <= (a + i) <= t for i in map(int, input().split()))) print(sum(s <= (b + i) <= t for i in map(int, input().split())))
Seems like cookies are disabled on this browser, please enable them to open this website
Apple and Orange
You are viewing a single comment's thread. Return to all comments →
No need for the list and no need for the '1'