{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003ccenter\u003e\r\n\t\u003cp style\u003d\"text-align: auto;\"\u003e\r\n\t\t\u0026nbsp;\u003c/p\u003e\r\n\t\u003cdiv style\u003d\"text-align: auto;\"\u003e\r\n\t\t\u0026nbsp;\u003c/div\u003e\r\n\u003c/center\u003e\r\n\u003cp\u003e\r\n\tFind out the center of masses of a convex polygon.\u003c/p\u003e\r\n\u003cp\u003e\r\n\t\u0026nbsp;\u003c/p\u003e\r\n\u003ch2\u003e\r\n\t\u003cfont color\u003d\"#0070E8\"\u003e\u003ca name\u003d\"SECTION0001001000000000000000\"\u003e Input\u003c/a\u003e\u0026nbsp;\u003c/font\u003e\u003c/h2\u003e\r\n\u003cp\u003e\r\n\tA series of convex polygons, defined as a number \u003ci\u003en\u003c/i\u003e (\u003cimg align\u003d\"MIDDLE\" alt\u003d\"$n \\le 100$\" border\u003d\"0\" height\u003d\"30\" src\u003d\"http://uva.onlinejudge.org/external/100/10002img1.gif\" width\u003d\"64\" /\u003e) stating the number of points of the polygon, followed by \u003ci\u003en\u003c/i\u003e different pairs of integers (in no particular order), denoting the \u003ci\u003ex\u003c/i\u003e and \u003ci\u003ey\u003c/i\u003e coordinates of each point. The input is finished by a fake ``polygon\u0026quot; with \u003ci\u003em\u003c/i\u003e (\u003ci\u003em\u003c/i\u003e \u0026lt; 3) points, which should not be processed.\u003c/p\u003e\r\n\u003cp\u003e\r\n\t\u0026nbsp;\u003c/p\u003e\r\n\u003ch2\u003e\r\n\t\u003cfont color\u003d\"#0070E8\"\u003e\u003ca name\u003d\"SECTION0001002000000000000000\"\u003e Output\u003c/a\u003e\u0026nbsp;\u003c/font\u003e\u003c/h2\u003e\r\n\u003cp\u003e\r\n\tFor each polygon, a single line with the coordinates \u003ci\u003ex\u003c/i\u003e and \u003ci\u003ey\u003c/i\u003e of the center of masses of that polygon, rounded to three decimal digits.\u003c/p\u003e\r\n\u003cp\u003e\r\n\t\u0026nbsp;\u003c/p\u003e\r\n\u003ch2\u003e\r\n\t\u003cfont color\u003d\"#0070E8\"\u003e\u003ca name\u003d\"SECTION0001003000000000000000\"\u003e Sample Input\u003c/a\u003e\u0026nbsp;\u003c/font\u003e\u003c/h2\u003e\r\n\u003cpre\u003e\r\n4 0 1 1 1 0 0 1 0\r\n3 1 2 1 0 0 0\r\n7\r\n-4 -4\r\n-6 -3\r\n-4 -10\r\n-7 -12\r\n-9 -8\r\n-3 -6\r\n-8 -3\r\n1\r\n\u003c/pre\u003e\r\n\u003cp\u003e\r\n\t\u0026nbsp;\u003c/p\u003e\r\n\u003ch2\u003e\r\n\t\u003cfont color\u003d\"#0070E8\"\u003e\u003ca name\u003d\"SECTION0001004000000000000000\"\u003e Sample Output\u003c/a\u003e\u0026nbsp;\u003c/font\u003e\u003c/h2\u003e\r\n\u003cpre\u003e\r\n0.500 0.500\r\n0.667 0.667\r\n-6.102 -7.089\r\n\u003c/pre\u003e\r\n\u003cp\u003e\r\n\t\u0026nbsp;\u003c/p\u003e\r\n\u003chr /\u003e\r\n\u003caddress\u003e\r\n\t\u003ci\u003eMiguel \u003cspan data-scayt_word\u003d\"Revilla\" data-scaytid\u003d\"1\"\u003eRevilla\u003c/span\u003e\u003c/i\u003e\u003cbr /\u003e\r\n\t\u003ci\u003e2000-08-21\u003c/i\u003e\u003c/address\u003e"}}]}