Given are numbers . Output in ascending order all the integers between and (inclusively) that are the roots of the equation . The roots of a cubic equation are the values of the variable that satisfy the equation.
If a specified interval does not contain any roots of the equation, do not output anything.
Hint: You can just iterate over x from 0 to 1000 and check the value of the expression.