본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 3276번 ICONS

by 현장 2022. 10. 29.

-Code

n = int(input())
a, b = 1, 1
while a * b < n:
    if a > b:
        b += 1
        continue
    a += 1
print(a, b)