{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003eAfter a day trip with his friend Dick, Harry noticed a strange pattern of tiny holes in the door of his SUV. The local American Tire store sells fiberglass patching material only in square sheets. What is the smallest patch that Harry needs to fix his door? \u003c/p\u003e\u003cp\u003eAssume that the holes are points on the integer lattice in the plane. Your job is to find the area of the smallest square that will cover all the holes. \u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003eThe first line of input contains a single integer \u003ci\u003eT\u003c/i\u003e expressed in decimal with no leading zeroes, denoting the number of test cases to follow. The subsequent lines of input describe the test cases. \u003c/p\u003e\u003cp\u003eEach test case begins with a single line, containing a single integer \u003ci\u003en\u003c/i\u003e expressed in decimal with no leading zeroes, the number of points to follow; each of the following \u003ci\u003en\u003c/i\u003e lines contains two integers \u003ci\u003ex\u003c/i\u003e and \u003ci\u003ey\u003c/i\u003e, both expressed in decimal with no leading zeroes, giving the coordinates of one of your points. \u003c/p\u003e\u003cp\u003eYou are guaranteed that \u003ci\u003eT\u003c/i\u003e ≤ 30 and that no data set contains more than 30 points. All points in each data set will be no more than 500 units away from (0,0). \u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003ePrint, on a single line with two decimal places of precision, the area of the smallest square containing all of your points.\u003c/p\u003e"}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e2\r\n4\r\n-1 -1\r\n1 -1\r\n1 1\r\n-1 1\r\n4\r\n10 1\r\n10 -1\r\n-10 1\r\n-10 -1\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e4.00\r\n242.00\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}