[PYTHON] 백준_10871

X보다 작은 수

Posted by iheese on October 22, 2021 · 1 min read
#10871
N,X=map(int, input().split())
a=list(map(int,input().split()))

for i in range(N):  
  if  X>a[i]:
    print(a[i], end=" ")

비교적 간단했다!