Fail in testcases of Revising Quadratic Equation

I have run the code at that time it show “success” but when I submit the code it fails in all test cases.