{"trustable":false,"prependHtml":"\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\" type\u003d\"text/javascript\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"HTML","content":"\u003cscript type\u003d\u0027text/x-mathjax-config\u0027\u003eMathJax.Hub.Config({tex2jax: { inlineMath: [[\u0027$\u0027,\u0027$\u0027]] } }); \u003c/script\u003e\n\u003cscript type\u003d\u0027text/javascript\u0027 src\u003d\u0027https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\u0027\u003e\u003c/script\u003e\n\u003cscript type\u003d\u0027text/javascript\u0027\u003esetTimeout(function(){MathJax.Hub.Queue([\u0027Typeset\u0027, MathJax.Hub, \u0027left_view\u0027]);}, 2000);\u003c/script\u003e\n\u003cdiv class\u003d\"panel_content\"\u003e\nDeft_t and wood3s\u0027s students have a test.\n\u003cbr\u003e\n there are n(n\u0026lt;\u003d50)ACMer,everyone will test for m(m\u0026lt;\u003d5) problems,calculate each ACMer\u0027s average score and average score in each problems,output the number of ACMer whose score in each problem is greater than or equal to the average score.\n \u003cbr\u003e \n\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":" There are multiple test cases,each test case contains integer n and m,(n is the number of ACMer and m is the number of problems)then there are n lines ,each line has m integer.\n\u003cbr\u003e"}},{"title":"Output","value":{"format":"HTML","content":"For each test case,output 3 lines,\u003cbr\u003eThe first line contains n numbers to show the average score of n ACMer ,The result is two decimal places;\u003cbr\u003eThe second line contains m numbers to show the average score of the m problems ,The result is two decimal places;\u003cbr\u003eThe third line is a integer to show the number of ACMer in the class with greater than or equal to the average in all problems.\n\u003cbr\u003eeach test case followed by a blank line.。 \n\u003cbr\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre\u003e2 2\n5 10\n10 20\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre\u003e7.50 15.00\n7.50 15.00\n1\u003c/pre\u003e"}}]}