1
2
3
4
5
6
7
|
tmp=[0]*32
for _ in range(int(input())):
a,b=map(int,input().split())
for i in range(a,b):
tmp[i]+=1
if max(tmp)> int(input()): print(0)
else: print(1)
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
[백준] 16674 (0) | 2021.01.18 |
---|---|
[백준] 16515 (0) | 2021.01.18 |
[백준] 16462 (0) | 2021.01.18 |
[백준] 16396 (0) | 2021.01.18 |
[백준] 15969 (0) | 2021.01.15 |
댓글