https://www.acmicpc.net/problem/13909
규칙을 찾아서 풀면 쉽게 해결이 가능하다.
import math
n =int(input())
ans =int(math.sqrt(n))
print(ans)
'알고리즘 문제풀이' 카테고리의 다른 글
분수 합 [백준 1735] (0) | 2024.07.09 |
---|---|
가로수 [백준 2485] (0) | 2024.07.09 |
진법 변환2 [ 백준 11005] (0) | 2024.07.08 |
공 바꾸기[백준 10813] (0) | 2024.07.08 |
바구니 뒤집기[백준 10811] (0) | 2024.07.05 |