Quadratic equations

notion image
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:
notion image
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.
notion image
 

Constraints

Time limit: 0.2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue