{"trustable":false,"prependHtml":"\u003cstyle type\u003d\"text/css\"\u003e\n #problem-body \u003e pre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n word-break: break-all;\n word-wrap: break-word;\n color: #333;\n background: rgba(255, 255, 255, 0.5);\n border: 1px solid #ccc;\n border-radius: 6px;\n }\n\u003c/style\u003e\n","sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003e\r\n\t\u003cimg src\u003d\"https://www.spoj.pl/content/overwise:pie1.jpg\" /\u003e\u003c/p\u003e\r\n\u003cp\u003e\r\n\t\u003cspan data-scayt_word\u003d\"এই\" data-scaytid\u003d\"1\"\u003eএই\u003c/span\u003e পাই Pi \u003cspan data-scayt_word\u003d\"নয়।\" data-scaytid\u003d\"2\"\u003eনয়।\u003c/span\u003e\u003c/p\u003e\r\n\u003cp\u003e\r\n\tMy birthday is coming up and traditionally I\u0026#39;m serving pie. Not just one pie, no, I have a number \u003cem\u003eN\u003c/em\u003e of them, of various tastes and of various sizes. \u003cem\u003eF\u003c/em\u003e of my friends are coming to my party and each of them gets a piece of pie. This should be one piece of one pie, not several small pieces since that looks messy. This piece can be one whole pie though.\u003c/p\u003e\r\n\u003cp\u003e\r\n\tMy friends are very annoying and if one of them gets a bigger piece than the others, they start complaining. Therefore all of them should get equally sized (but not necessarily equally shaped) pieces, even if this leads to some pie getting spoiled (which is better than spoiling the party). Of course, I want a piece of pie for myself too, and that piece should also be of the same size.\u003c/p\u003e\r\n\u003cp\u003e\r\n\tWhat is the largest possible piece size all of us can get? All the pies are cylindrical in shape and they all have the same height 1, but the radii of the pies can be different.\u003c/p\u003e\r\n\u003ch3\u003e\r\n\tInput\u003c/h3\u003e\r\n\u003cp\u003e\r\n\tOne line with a positive integer: the number of test cases. Then for each test case:\u003c/p\u003e\r\n\u003cul\u003e\r\n\t\u003cli\u003e\r\n\t\tOne line with two integers \u003cem\u003eN\u003c/em\u003e and \u003cem\u003eF\u003c/em\u003e with 1 \u0026le; \u003cem\u003eN, F\u003c/em\u003e \u0026le; 10000: the number of pies and the number of friends.\u003c/li\u003e\r\n\t\u003cli\u003e\r\n\t\tOne line with \u003cem\u003eN\u003c/em\u003e integers \u003cem\u003er\u003csub\u003ei\u003c/sub\u003e\u003c/em\u003e with 1 \u0026le; \u003cem\u003er\u003csub\u003ei\u003c/sub\u003e\u003c/em\u003e \u0026le; 10000: the radii of the pies.\u003c/li\u003e\r\n\u003c/ul\u003e\r\n\u003cp\u003e\r\n\t\u0026nbsp;\u003c/p\u003e\r\n\u003ch3\u003e\r\n\tOutput\u003c/h3\u003e\r\n\u003cp\u003e\r\n\tFor each test case, output one line with the largest possible volume \u003cem\u003eV\u003c/em\u003e such that me and my friends can all get a pie piece of size \u003cem\u003eV\u003c/em\u003e. The answer should be given as a floating point number with an absolute error of at most 10\u003csup\u003e-3\u003c/sup\u003e.\u003c/p\u003e\r\n\u003ch3\u003e\r\n\tExample\u003c/h3\u003e\r\n\u003cpre\u003e\r\n\u003cb\u003eInput:\u003c/b\u003e 3\r\n3 3\r\n4 3 3\r\n1 24\r\n5\r\n10 5\r\n1 4 2 3 4 5 6 5 4 2 \u003cb\u003eOutput:\u003c/b\u003e 25.1327\r\n3.1416\r\n50.2655\r\n\u003c/pre\u003e"}}]}