sueleesoossoo's devlog


  • Home

  • Categories

  • About

  • Archives

  • Tags

[알각코] 백준 10871번 - X보다 작은 수

Posted on 2021-07-25 | In Algo , TIL | 0 comments

백준 10871번

inputStr = input()
inputStrArr = input()
num = [int(x) for x in inputStr.split(' ')]
arr = [int(x) for x in inputStrArr.split(' ')]

N = num[0]
X = num[1]

temp = []

for i in range(0, N):
    if (X > arr[i]):
        temp.append(arr[i])

print(' '.join([str(x) for x in temp]))

Screen Shot 2021-07-25 at 5 09 35 PM

# Algo
[알각코] 백준 10951번 - A+B - 4
[알각코] 백준 2884번 - 알람 시계
  • Table of Contents
  • Overview
LEESOO

LEESOO

Junior Frontend Developer

341 posts
12 categories
34 tags
RSS
GitHub
  1. 1 백준 10871번
© 2024 LEESOO
Powered by Jekyll
Theme - NexT.Muse