count = int(input()) nmax = int((2 * count) ** (1 / 2)) for i in range(nmax, 0, -1):
if (2 * count - i * i + i) % (2 * i) == 0:
print((2 * count - i * i + i) // (2 * i)) break
ПОМОГИТЕ ОБЪЯСНИТЬ ПЖ​
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.