WEBSITE RETURNED, TUY NHIÊN SỐ LƯỢNG SUBMIT BỊ GIỚI HẠN MỖI NGÀY CÒN RẤT ÍT (UNDER JUDGE0 NEW POLICY, API PROVIDER). Therefore it is very much for you to pay attention TEST CAREFULLY CODE BEFORE SUBMIT.

Quadratic equation 2

Threads: Let programmers program the quadratic equation 2: ax^{2} + bx + c = 0 with a, b, c typing.
Input: A line of 3 numbers separated by spaces.
Output: Print out the case.
1/ “VSN” – If equations infinitely many solutions
2/ “VN” – If the equation has no solution
3/ “x = 2.00” – If the equation has a solution (experience 2).
4/ If equation 2 experience, in 2 That experience in one line and separated by spaces. Little experience in front, large experience in the following.
The experience is rounded to 2 decimal.

For example:

input:
1 -2 1
output:
x = 1.00

You are not logged in? Log in to Submit Now!

61 Comments

Add a Comment