# x = 10
# print(x)
# print(hex(x))
# print(oct(x))
#
# n = int(input())
# a = input().split()
#
# for i in range(n):
# a[i] = int(a[i])
#
# d = [0] * 25
#
# for i in range(n):
# d[a[i]] += 1
#
# for i in range(1, 24):
# print(d[i], end = ' ')
# n = int(input())
# k = input().split()
# for i in range(n-1, -1, -1):
# print(k[i], end = ' ')
#
# n = int(input())
# k = input().split()
# for i in range(n):
# k[i] = int(k[i])
# m = 100
# for i in range(n):
# if m > k[i]:
# m = k[i]
# print(m)
# 1405 1440 1411
# arr[1000]
# arr[x], arr[y]
# 1275 1278 1282
# n, k = input().split()
# n = int(n)
# k = int(k)
# print(n ** k)
# n = int(input())
# s = 0
# while n>0:
# s += 1
# n = n//10
# print(s)
n = int(input())
k = 1
while n > k*k:
k += 1
print(n - (k-1)**2, end = ' ')
print(k-1)
top of page

기능을 테스트하려면 라이브 사이트로 이동하세요.
02/28
02/28
댓글 0개
좋아요
댓글(0)
bottom of page