{"id":1679,"date":"2016-11-23T22:18:45","date_gmt":"2016-11-23T19:18:45","guid":{"rendered":"http:\/\/java.mazurok.com\/?p=1679"},"modified":"2016-12-20T21:37:18","modified_gmt":"2016-12-20T18:37:18","slug":"%d0%b0702%d0%b0","status":"publish","type":"post","link":"https:\/\/java.mazurok.com\/?p=1679","title":{"rendered":"\u0410702\u0430"},"content":{"rendered":"<p>\u0414\u0430\u043d\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 <img decoding=\"async\" class=\"latex\" title=\"n\" src=\"http:\/\/s0.wp.com\/latex.php?latex=n&amp;bg=292625&amp;fg=b29d85&amp;s=0\" alt=\"n\" \/>.<br \/>\n\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0435\u043a\u0442\u043e\u0440 <img decoding=\"async\" class=\"latex\" title=\"Ab\" src=\"http:\/\/s0.wp.com\/latex.php?latex=Ab&amp;bg=292625&amp;fg=b29d85&amp;s=0\" alt=\"Ab\" \/>, \u0433\u0434\u0435 <img decoding=\"async\" class=\"latex\" title=\"b\" src=\"http:\/\/s0.wp.com\/latex.php?latex=b&amp;bg=292625&amp;fg=b29d85&amp;s=0\" alt=\"b\" \/>-\u0432\u0435\u043a\u0442\u043e\u0440, \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435: <img decoding=\"async\" class=\"latex\" title=\"{b}_{i}={\\frac{1}{{i}^{2}+2}}\" src=\"http:\/\/s0.wp.com\/latex.php?latex=%7Bb%7D_%7Bi%7D%3D%7B%5Cfrac%7B1%7D%7B%7Bi%7D%5E%7B2%7D%2B2%7D%7D&amp;bg=292625&amp;fg=b29d85&amp;s=0\" alt=\"{b}_{i}={\\frac{1}{{i}^{2}+2}}\" \/>, \u0433\u0434\u0435 <img decoding=\"async\" class=\"latex\" title=\"i=1,2,\\dots,n\" src=\"http:\/\/s0.wp.com\/latex.php?latex=i%3D1%2C2%2C%5Cdots%2Cn&amp;bg=292625&amp;fg=b29d85&amp;s=0\" alt=\"i=1,2,\\dots,n\" \/>.<\/p>\n<table>\n<tbody>\n<tr>\n<td>2<\/td>\n<td>\n<table>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>\n<table>\n<tbody>\n<tr>\n<td>0.666667<\/td>\n<td>1.66667<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>\u041f\u0440\u043e\u0439\u0434\u0435\u043d\u043e<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\n<table>\n<tbody>\n<tr>\n<td>5<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>\n<table>\n<tbody>\n<tr>\n<td>2.66667<\/td>\n<td>3.66667<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>\u041f\u0440\u043e\u0439\u0434\u0435\u043d\u043e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434:<\/h4>\n<pre class=\"lang:java decode:true\">import java.util.*;\r\nimport java.lang.*;\r\nimport java.io.*;\r\n \r\nclass Main {\r\n      public static void main(String[] args) {\r\n           Scanner in = new Scanner(System.in);\r\n           int n = in.nextInt();\r\n           double[][] a = new double[n][n];\r\n           double[]res = new double[n];\r\n           for( int i=0 ; i&lt;n ; i++ ){\r\n                res[i] = 0;\r\n           }\r\n           for( int j=0 ; j&lt;n ; j++ ){\r\n                for( int i=0 ; i&lt;n ; i++ ){\r\n                a[i][j] = in.nextInt();\r\n                res[j] += a[i][j]*(1.0\/((i+1)*(i+1)+2));\r\n                } \r\n           System.out.println(\"res[\"+j+\"] =\"+res[j]);\r\n           }\r\n     }\r\n}<\/pre>\n<h2><strong>\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 Ideone<\/strong><\/h2>\n<p><a href=\"http:\/\/ideone.com\/UAvHF4\">http:\/\/ideone.com\/UAvHF4<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u0430\u043d\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u0430\u044f \u043c\u0430\u0442\u0440\u0438\u0446\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 . \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0435\u043a\u0442\u043e\u0440 , \u0433\u0434\u0435 -\u0432\u0435\u043a\u0442\u043e\u0440, \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435: , \u0433\u0434\u0435 . 2 1 2 3 4 0.666667 1.66667 \u041f\u0440\u043e\u0439\u0434\u0435\u043d\u043e 2 5 6 7 8 2.66667 3.66667 \u041f\u0440\u043e\u0439\u0434\u0435\u043d\u043e \u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434: import java.util.*; import java.lang.*; import java.io.*; class Main { public static void main(String[] args) { Scanner in = new &hellip; <a href=\"https:\/\/java.mazurok.com\/?p=1679\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":89,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[136,207,208],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/1679"}],"collection":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/users\/89"}],"replies":[{"embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1679"}],"version-history":[{"count":6,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/1679\/revisions"}],"predecessor-version":[{"id":1800,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/1679\/revisions\/1800"}],"wp:attachment":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}