My code: https://ide.codingblocks.com/s/161684
Output :
TESTCASE # 1 : wrong-answer (Time: 0 s)
TESTCASE # 2 : wrong-answer (Time: 0 s)
TESTCASE # 3 : correct (Time: 0 s)
My code: https://ide.codingblocks.com/s/161684
Output :
TESTCASE # 1 : wrong-answer (Time: 0 s)
TESTCASE # 2 : wrong-answer (Time: 0 s)
TESTCASE # 3 : correct (Time: 0 s)
Hi @prateek_5
For imaginary roots you have to only print “Imaginary”
For equal roots you have to print -b/2/a two time and you have only printed it once.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.