a=int(input())b=int(input())c=int(input())print(((b**2-4*a*c)**(0.5)-b)/2*a)
1 -2 -3
3.0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!