Quadratic equations
Quadratic equations are interesting in that the function can cross the
OX
axis twice, once, or even never.You are asked to find the points where the quadratic function crosses the
OX
axis. To recap, that calculation can be done through the following procedure:Given
a
, b
, and c
integers, print the points of the solutions on separate lines (the points at which the graph crosses OX
axis), and in case there are no such points, the program should print No solutions
.Constraints
Time limit: 0.2 seconds
Memory limit: 512 MB
Output limit: 1 MB