SP6297 ROOTCIPH - Decipher
Description
Radar scanned the approaching enemy aircraft on the border. However due to some error part of the tranmitted data can't be deciphered. It was possible only to obtain the coefficients of the cubic polynomial, whose roots are the coordinates of the aircraft relative to the radar. Now you need to calculate the distance to the aircraft. Write the program to solve this task.
Input Format
The first line contains T (1
Output Format
For each test print the square of the distance to the enemy aircraft.