diff --git a/code_study/Baekjoon/python/3276.py b/code_study/Baekjoon/python/3276.py new file mode 100644 index 0000000..b69a287 --- /dev/null +++ b/code_study/Baekjoon/python/3276.py @@ -0,0 +1,11 @@ +N = int(input()) +s = N + 1 +ans = [1, N] +for i in range(2, int(N**0.5)+1) : + t = (N + i -1) // i + + if s > i + t : + s = i + t + ans = [i, t] + +print(" ".join(map(str, ans))) \ No newline at end of file