‘A’, ‘B’ and ‘C’ can be equal to 0.
The first line contains a single integer ‘T’ representing the number of test cases. The first line of each test case contains three space-separated integers ‘A’, ‘B’, and ‘C’ representing the coefficients of the quadratic equation. The second line of each test case will contain a single integer ‘N’ which denotes the size of the ‘ARR’. The third line of each test case will contain ‘N’ space-separated integers, representing the elements of ‘ARR’.
For each test case, return all the outputs in non-decreasing order. Output for every test case will be printed in a separate line.
You don’t need to print anything; it has already been taken care of. Just implement the given function.
1 <= T <= 50 1 <= N <= 10^5 -10^5 <= A, B, C < =10^5 -10^5 <= ARR[ i ] <= 10^5 Time limit: 1 sec