P1097 integer solution of equation

Title Description

Given an integer N, of Equation (x ^ 3-x ^ 2 -x = N \) \ integer solution.
In the guaranteed range Solutions \ ([- 100,100] \) in the range of.

Input Format

A line integer \ (N (-10. 6 ^ <= N <= 10. 6 ^) \) .

Output Format

Line, all the integer solution, in ascending order of output. Each number separated by a space, note that the end of the line there is no extra spaces.

Sample input

0

Sample Output

0

Guess you like

Origin www.cnblogs.com/problems/p/P1097.html
Recommended