# X보다 작은 수
N, X = map(int, input().split())
ls = list(map(int, input().split()))
result = []
for i in ls:
if i < X:
result.append(i)
print(*result)'파이썬 > 백준' 카테고리의 다른 글
| 1037번 : 약수 (0) | 2022.06.20 |
|---|---|
| 10872번 : 팩토리얼 (0) | 2022.06.19 |
| 10991번 : 별찍기-16 (0) | 2022.06.17 |
| 10995번 : 별 찍기 - 20 (0) | 2022.06.16 |
| 2921번 : 도미노 (0) | 2022.06.15 |