|All-time Popular Problems|
|Inorder Successor in BST|
|Depth First Traversal for a Graph|
|Delete nodes having greater value on right|
|Column name from a given column number|
|Search an Element in an array|
|Diameter of Binary Tree|
|Get minimum element from stack|
|Subset Sum Problem|
|Reverse words in a given string|
|Reverse a linked list|
Given three numbers A,B and C. Find roots of quadratic equation Ax2 + Bx + C = 0. (A not equal to 0)
First line of the input contains an integer T which denotes the number of test cases. Then T test cases follow. Each test case contains a single line containing three space separated integers A,B and C.
For each test case, Print two roots of quadratic equation(space separated) in ascending order. For complex roots,print COMPLEX.
1 <= T< = 100
Note: A is not equal to 0.
2 3 4
3 5 1
1 -4 4