-Code
n = int(input())
a, b = 1, 1
while a * b < n:
if a > b:
b += 1
continue
a += 1
print(a, b)
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 17548번 Greetings! (0) | 2022.10.31 |
---|---|
[백준/파이썬] 3578번 Holes (0) | 2022.10.30 |
[백준/파이썬] 15372번 A Simple Problem. (1) | 2022.10.28 |
[백준/파이썬] 11368번 A Serious Reading Problem (0) | 2022.10.27 |
[백준/파이썬] 25881번 Electric Bill (0) | 2022.10.26 |