{"id":5108,"date":"2020-09-14T21:36:30","date_gmt":"2020-09-14T18:36:30","guid":{"rendered":"http:\/\/java.mazurok.com\/?p=5108"},"modified":"2020-11-25T12:01:00","modified_gmt":"2020-11-25T09:01:00","slug":"e-olymp-8674-%d0%b8%d0%b3%d1%80%d0%b0","status":"publish","type":"post","link":"https:\/\/java.mazurok.com\/?p=5108","title":{"rendered":"e-olymp 8674. \u0418\u0433\u0440\u0430"},"content":{"rendered":"<h1>\u0417\u0430\u0434\u0430\u0447\u0430<\/h1>\n<p>\u041c\u0443\u0440\u0430\u0434 \u0438 \u0418\u0431\u0440\u0430\u0433\u0438\u043c \u0438\u0433\u0440\u0430\u044e\u0442 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0438\u0433\u0440\u0443. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0434\u0430\u0435\u0442\u0441\u044f \u0447\u0438\u0441\u043b\u043e $1$. \u041d\u0430 \u0441\u0432\u043e\u0435\u043c \u0445\u043e\u0434\u0443 \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0433\u0440\u043e\u043a \u0434\u043e\u043b\u0436\u0435\u043d \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0447\u0438\u0441\u043b\u043e \u043d\u0430 \u043e\u0434\u043d\u043e \u0438\u0437 \u0446\u0435\u043b\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043e\u0442 $2$ \u0434\u043e $9$ \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e. \u0426\u0435\u043b\u044c \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u043d\u0435 \u043c\u0435\u043d\u044c\u0448\u0435 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0446\u0435\u043b\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 $n$. \u0418\u0433\u0440\u043e\u043a, \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0438\u0439 \u0442\u0430\u043a\u043e\u0439 \u043d\u043e\u043c\u0435\u0440 \u043f\u0435\u0440\u0432\u044b\u043c, \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u043c. \u041c\u0443\u0440\u0430\u0434 \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u043c. \u0412\u044b\u044f\u0441\u043d\u0438\u0442\u0435, \u043a\u0442\u043e \u043f\u043e\u0431\u0435\u0434\u0438\u0442, \u0435\u0441\u043b\u0438 \u041c\u0443\u0440\u0430\u0434 \u0438 \u0418\u0431\u0440\u0430\u0433\u0438\u043c \u0431\u0443\u0434\u0443\u0442 \u0438\u0433\u0440\u0430\u0442\u044c \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e.<\/p>\n<h1>\u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/h1>\n<p>\u041f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u0434\u043d\u043e \u0447\u0438\u0441\u043b\u043e $t$ $(1 \\leqslant t \\leqslant 2500)$ &#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0435\u0441\u0442\u043e\u0432. \u041a\u0430\u0436\u0434\u0430\u044f \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 $t$ \u0441\u0442\u0440\u043e\u043a \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u0434\u043d\u043e \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e $n$ $(2 \\leqslant n \\leqslant 10^9)$.<\/p>\n<h1>\u0412\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/h1>\n<p>\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430 \u0432\u044b\u0432\u0435\u0434\u0438\u0442\u0435 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435\u00a0<strong>$1$<\/strong>, \u0435\u0441\u043b\u0438 \u041c\u0443\u0440\u0430\u0434 \u0432\u044b\u0438\u0433\u0440\u0430\u0435\u0442 \u0438\u0433\u0440\u0443, \u0438\u00a0<strong>$2$<\/strong>\u00a0\u0438\u043d\u0430\u0447\u0435.<\/p>\n<h1>\u0422\u0435\u0441\u0442\u044b<\/h1>\n<table style=\"height: 303px\" width=\"300\">\n<tbody>\n<tr>\n<td style=\"text-align: center\" width=\"42\">\n<h4 style=\"margin-top: 50%\">\u2116<\/h4>\n<\/td>\n<td style=\"text-align: center\" width=\"300\">\n<h4>\u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/h4>\n<\/td>\n<td style=\"text-align: center\" width=\"300\">\n<h4>\u0412\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/h4>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\">1<\/td>\n<td style=\"text-align: center\">4<br \/>\n9<br \/>\n10<br \/>\n1149729<br \/>\n999999999<\/td>\n<td style=\"text-align: center\">1<br \/>\n2<br \/>\n2<br \/>\n1<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\">2<\/td>\n<td style=\"text-align: center\">3<br \/>\n6<br \/>\n163<br \/>\n1234567<\/td>\n<td style=\"text-align: center\">1<br \/>\n2<br \/>\n2<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center\">3<\/td>\n<td style=\"text-align: center\">3<br \/>\n42<br \/>\n100<br \/>\n1000<\/td>\n<td style=\"text-align: center\">1<br \/>\n1<br \/>\n1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h1>\u041a\u043e\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b<\/h1>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0441 \u0446\u0438\u043a\u043b\u043e\u043c \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430:<\/strong><\/p>\n<pre class=\"lang:java decode:true \">class Main\r\n{\r\n\tpublic static void main (String[] args)\r\n\t{\r\n\t\tjava.util.Scanner in = new java.util.Scanner(System.in);\r\n\t\tint k = in.nextInt();\r\n\t\tdouble n;\r\n\t\tfor (int i = 0; i &lt; k; i++) \r\n\t\t{\r\n\t\t\tn = in.nextInt();\r\n\t\t\tboolean p = true;\r\n\t\t\twhile (n &gt; 1) \r\n\t\t\t{\r\n\t\t\t\tn \/= (p ? 9 : 2);\r\n\t\t\t\tp = !p;\r\n\t\t\t}\r\n\t\t\tSystem.out.println((p ? 1 : 0) + 1);\r\n\t\t}\r\n\t}\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0431\u0435\u0437 \u0446\u0438\u043a\u043b\u0430 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430:<\/strong><\/p>\n<pre class=\"lang:java decode:true \">class Main\r\n{\r\n\tpublic static void main (String[] args) \r\n\t{\r\n\t\tjava.util.Scanner in = new java.util.Scanner(System.in);\r\n\t\tint t = in.nextInt();\r\n\t\tfor (int i = 0; i &lt; t; i++) \r\n\t\t{\r\n\t\t\tint n = in.nextInt();\r\n\t\t\tdouble l = n \/ Math.pow(18, Math.ceil(Math.log(n) \/ Math.log(18)));\r\n\t\t\tSystem.out.println((2 * l &lt;= 1) ? 1 : 2);\r\n\t\t}\r\n\t}\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<h1>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h1>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043c\u0435\u0442\u0438\u043c, \u0447\u0442\u043e \u043f\u043e\u0431\u0435\u0434\u0438\u0442 \u0442\u043e\u0442 \u0438\u0433\u0440\u043e\u043a, \u0447\u0435\u0439 \u0445\u043e\u0434 \u0432\u044b\u043f\u0430\u0434\u0435\u0442 \u043d\u0430 \u0447\u0438\u0441\u043b\u043e \u0438\u0437 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043a\u0430 $[\\frac{n}{9},n)$, \u0442\u0430\u043a \u043a\u0430\u043a \u043b\u044e\u0431\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043a\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0438\u0437 $[2,9]$ \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u043d\u0435 \u043c\u0435\u043d\u044c\u0448\u0435\u0435 \u0447\u0435\u043c $n$. \u041d\u0430\u0437\u043e\u0432\u0435\u043c \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u043a &#171;\u0437\u0435\u043b\u0435\u043d\u043e\u0439 \u0437\u043e\u043d\u043e\u0439&#187; (\u0432 \u043e\u0431\u0449\u0435\u043c \u0432\u0438\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 $[\\frac{2n}{18^k},\\frac{n}{18^{k-1}})$, $k \\in \\mathbb {N}$). \u0422\u043e\u0433\u0434\u0430 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u0435\u0442 \u0442\u043e\u0442 \u0438\u0433\u0440\u043e\u043a, \u0447\u0435\u0439 \u0445\u043e\u0434 \u0432\u044b\u043f\u0430\u0434\u0430\u0435\u0442 \u043d\u0430 \u0447\u0438\u0441\u043b\u043e \u0438\u0437 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043a\u0430 $[\\frac{n}{18},\\frac{n}{9})$, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u0440\u0438 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0438 \u0447\u0438\u0441\u043b\u0430 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043a\u0430 \u043d\u0430 \u043b\u044e\u0431\u043e\u0435 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0438\u0437 $[2,9]$, \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0447\u0438\u0441\u043b\u043e \u0438\u0437 &#171;\u0437\u0435\u043b\u0435\u043d\u043e\u0439 \u0437\u043e\u043d\u044b&#187;. \u041d\u0430\u0437\u043e\u0432\u0435\u043c \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u043a &#171;\u043a\u0440\u0430\u0441\u043d\u043e\u0439 \u0437\u043e\u043d\u043e\u0439&#187; (\u0432 \u043e\u0431\u0449\u0435\u043c \u0432\u0438\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 $[\\frac{n}{18^k},\\frac{2n}{18^k})$, $k \\in \\mathbb {N}$). \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c, \u0447\u0442\u043e \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u043a $(0,n)$ \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u043d\u0430 &#171;\u043a\u0440\u0430\u0441\u043d\u044b\u0435&#187; \u0438 &#171;\u0437\u0435\u043b\u0435\u043d\u044b\u0435 \u0437\u043e\u043d\u044b&#187;. \u0422\u043e\u0433\u0434\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044e \u0432\u0438\u0434\u0430 &#171;\u0437\u043e\u043d\u044b&#187; \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f $1$.<\/p>\n<p><a href=\"http:\/\/cpp.mazurok.com\/wp-content\/uploads\/2020\/01\/1st.svg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-31360 aligncenter\" role=\"img\" src=\"http:\/\/cpp.mazurok.com\/wp-content\/uploads\/2020\/01\/1st.svg\" alt=\"\" width=\"854\" height=\"74\" \/><\/a><\/p>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0446\u0438\u043a\u043b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e. \u041e\u0434\u043d\u0430\u043a\u043e, \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e $n$ \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0441\u0445\u043e\u0434 \u0438\u0433\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043b\u0438\u0448\u044c \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0446\u0435\u043f\u043e\u0447\u043a\u0443 \u043d\u0435\u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432 (\u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e $2 \\leqslant n$ ):\u00a0 $$\\lfloor \\log _{18} n \\rfloor \\leqslant \\log _{18} n \\leqslant \\lceil\u00a0 \\log _{18} n \\rceil$$<\/p>\n<p>$$ 18^{\\lfloor \\log _{18} n \\rfloor} \\leqslant n \\leqslant 18^{\\lceil\u00a0 \\log _{18} n \\rceil}$$<\/p>\n<p>$$\\frac{1}{18^{\\lceil\u00a0 \\log _{18} n \\rceil}} \\leqslant \\frac{1}{n} \\leqslant \\frac{1}{18^{\\lfloor \\log _{18} n \\rfloor}}$$<\/p>\n<p>$$\\frac{n}{18^{\\lceil\u00a0 \\log _{18} n \\rceil}} \\leqslant 1 \\leqslant \\frac{n}{18^{\\lfloor \\log _{18} n \\rfloor}}$$<\/p>\n<p>\u0418\u0437 \u043e\u0431\u0449\u0435\u0433\u043e \u0432\u0438\u0434\u0430 &#171;\u043a\u0440\u0430\u0441\u043d\u043e\u0439 \u0437\u043e\u043d\u044b&#187; \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043b\u0435\u0432\u044b\u0439 \u0435\u0435 \u043a\u043e\u043d\u0435\u0446 \u044d\u0442\u043e \u0447\u0438\u0441\u043b\u043e \u0432\u0438\u0434\u0430 $\\frac{n}{18^k}$, \u0437\u043d\u0430\u0447\u0438\u0442 $\\frac{n}{18^{\\lceil\u00a0 \\log _{18} n \\rceil}}$ \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0435\u0432\u044b\u043c \u043a\u043e\u043d\u0446\u043e\u043c &#171;\u043a\u0440\u0430\u0441\u043d\u043e\u0439 \u0437\u043e\u043d\u044b&#187;, \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0438\u043c \u0435\u0433\u043e \u043a\u0430\u043a $l$. \u0422\u043e\u0433\u0434\u0430, $2l$ \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0430\u0432\u044b\u043c \u043a\u043e\u043d\u0446\u043e\u043c &#171;\u043a\u0440\u0430\u0441\u043d\u043e\u0439 \u0437\u043e\u043d\u044b&#187; \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0435\u0451 \u043e\u0431\u0449\u0435\u0433\u043e \u0432\u0438\u0434\u0430. \u0418\u0437 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u043d\u0435\u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e $1$ \u043b\u0435\u0436\u0438\u0442 \u043c\u0435\u0436\u0434\u0443 \u043b\u0435\u0432\u044b\u043c\u0438 \u043a\u043e\u043d\u0446\u0430\u043c\u0438 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u0445 &#171;\u043a\u0440\u0430\u0441\u043d\u044b\u0445 \u0437\u043e\u043d&#187;. \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 $2l \\leqslant 1$, \u0442\u043e \u0435\u0434\u0438\u043d\u0438\u0446\u0430 \u043b\u0435\u0436\u0438\u0442 \u0432 &#171;\u0437\u0435\u043b\u0435\u043d\u043e\u0439 \u0437\u043e\u043d\u0435&#187;, \u0430 \u0438\u043d\u0430\u0447\u0435 &#8212; \u0432 &#171;\u043a\u0440\u0430\u0441\u043d\u043e\u0439&#187;.<\/p>\n<p><a href=\"http:\/\/cpp.mazurok.com\/wp-content\/uploads\/2020\/01\/zonez.svg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-31362 aligncenter\" role=\"img\" src=\"http:\/\/cpp.mazurok.com\/wp-content\/uploads\/2020\/01\/zonez.svg\" alt=\"\" width=\"591\" height=\"136\" \/><\/a><\/p>\n<h1>\u0421\u0441\u044b\u043b\u043a\u0438<\/h1>\n<p>\u0423\u0441\u043b\u043e\u0432\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430\u00a0<a href=\"https:\/\/www.e-olymp.com\/ru\/problems\/8674\" target=\"_blank\" rel=\"noopener noreferrer\">e-olymp<\/a><\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0431\u0435\u0437 \u0446\u0438\u043a\u043b\u0430 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430 \u043d\u0430 <a href=\"https:\/\/ideone.com\/g2ogZo\">ideone<\/a><\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0441 \u0446\u0438\u043a\u043b\u043e\u043c \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430 \u043d\u0430 <a href=\"https:\/\/ideone.com\/QnaRYj\">ideone<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u041c\u0443\u0440\u0430\u0434 \u0438 \u0418\u0431\u0440\u0430\u0433\u0438\u043c \u0438\u0433\u0440\u0430\u044e\u0442 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0438\u0433\u0440\u0443. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0434\u0430\u0435\u0442\u0441\u044f \u0447\u0438\u0441\u043b\u043e $1$. \u041d\u0430 \u0441\u0432\u043e\u0435\u043c \u0445\u043e\u0434\u0443 \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0433\u0440\u043e\u043a \u0434\u043e\u043b\u0436\u0435\u043d \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0447\u0438\u0441\u043b\u043e \u043d\u0430 \u043e\u0434\u043d\u043e \u0438\u0437 \u0446\u0435\u043b\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043e\u0442 $2$ \u0434\u043e $9$ \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e. \u0426\u0435\u043b\u044c \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u043d\u0435 \u043c\u0435\u043d\u044c\u0448\u0435 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0446\u0435\u043b\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 $n$. \u0418\u0433\u0440\u043e\u043a, \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0438\u0439 \u0442\u0430\u043a\u043e\u0439 \u043d\u043e\u043c\u0435\u0440 \u043f\u0435\u0440\u0432\u044b\u043c, \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u043c. \u041c\u0443\u0440\u0430\u0434 \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u043c. &hellip; <a href=\"https:\/\/java.mazurok.com\/?p=5108\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":173,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,13],"tags":[708,413],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/5108"}],"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\/173"}],"replies":[{"embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5108"}],"version-history":[{"count":6,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/5108\/revisions"}],"predecessor-version":[{"id":5117,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/5108\/revisions\/5117"}],"wp:attachment":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}