{"id":355837,"date":"2024-05-20T23:17:02","date_gmt":"2024-05-20T23:17:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=355837"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-05-20T23:17:02","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=355837","title":{"rendered":"<span>\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u0440\u043e \u0438\u0433\u0440\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0443\u0431\u0438\u043a\u0438 \u0438 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0438<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/235\/7ab\/c23\/2357abc2324629204367f28d4b1bcf71.JPG\" width=\"703\" height=\"445\"\/><\/figure>\n<p>\u0415\u0441\u0442\u044c \u043e\u0434\u043d\u0430 \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u043a\u0430 \u043d\u0430 \u0441\u0442\u044b\u043a\u0435 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0442\u043e\u0440\u0438\u043a\u0438 \u0438 \u0442\u0435\u043e\u0440\u0438\u0438 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0441 \u043a\u043e\u043d\u0442\u0440 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c. \u0417\u043d\u0430\u043a\u043e\u043c\u044b\u0435 \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b\u0438 \u0435\u0435 \u0440\u0435\u0448\u0438\u0442\u044c \u0442\u0430\u043a \u0447\u0442\u043e\u0431\u044b \u0443\u0447\u0435\u043d\u0438\u043a \u0432\u0441\u0451 \u043f\u043e\u043d\u044f\u043b.<\/p>\n<h2>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 1<\/h2>\n<p>\u0411\u0440\u043e\u0441\u0430\u044e\u0442 \u043a\u0443\u0431\u0438\u043a \u0442\u0440\u0438 \u0440\u0430\u0437\u0430. \u041a\u0430\u043a\u043e\u0432\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e \u0432\u044b\u043f\u0430\u0432\u0448\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a?<\/p>\n<h2>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 2<\/h2>\n<p>\u0411\u0440\u043e\u0441\u0430\u044e\u0442 \u0442\u0440\u0438 \u043a\u0443\u0431\u0438\u043a\u0430 \u043e\u0434\u043d\u0438\u043c \u0431\u0440\u043e\u0441\u043a\u043e\u043c. \u041a\u0430\u043a\u043e\u0432\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e \u0432\u044b\u043f\u0430\u0432\u0448\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a?<\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0430\u044f. \u041a\u0430\u043a\u0430\u044f \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043a\u0430\u043a \u0431\u0440\u043e\u0441\u0430\u0442\u044c?<\/p>\n<h4>\u0422\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u044f<\/h4>\n<p><strong>\u0420\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435<\/strong> &#8212; \u0412 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0442\u043e\u0440\u0438\u043a\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435\u043c (\u0438\u0437 n \u043f\u043e k) \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <strong>\u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u044b\u0439<\/strong> \u043d\u0430\u0431\u043e\u0440 \u0438\u0437 k \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438\u0437 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 <strong>\u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445<\/strong> n \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 (\u0431\u0435\u0437 \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u0439).<\/p>\n<p><strong>\u0421\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435<\/strong> &#8212; \u0412 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0442\u043e\u0440\u0438\u043a\u0435 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435\u043c \u0438\u0437 n \u043f\u043e  k \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0431\u043e\u0440 \u0438\u0437  k \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0438\u0437  n-\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 (\u043d\u0435\u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u0430\u044f \u0432\u044b\u0431\u043e\u043a\u0430).<\/p>\n<p>\u0423 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u043e\u0432 \u0435\u0441\u0442\u044c \u043e\u0434\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e. \u0421\u0443\u043c\u043c\u0430 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u0442\u043e\u0440\u043e\u043d (c+a)  \u0434\u043e\u043b\u0436\u043d\u0430 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0442\u044c \u0434\u043b\u0438\u043d\u0443 \u0440\u0435\u0431\u0440\u0430 \u043d\u0430\u043f\u0440\u043e\u0442\u0438\u0432 (b). \u0418 \u0442\u0430\u043a \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0440\u0435\u0431\u0440\u0430. \u041c\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0442\u044c \u043a\u0430\u043a\u0438\u0435 3 \u0447\u0438\u0441\u043b\u0430 \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a, \u0430 \u043a\u0430\u043a\u0438\u0435 \u043d\u0435\u0442. <\/p>\n<pre><code class=\"cpp\">static bool is_triangle(double a, double b, double c){     bool res = false;     if(c&lt;(a+b)) {         if(b&lt;(c+a)) {             if(a&lt;(b+c)){                 res = true;             }         }     }     return res; } <\/code><\/pre>\n<p>\u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438.<br \/>\u041d\u0430\u043f\u043e\u043c\u043d\u044e \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438. \u0422\u0443\u0442 \u0435\u0441\u0442\u044c 4 \u0447\u0435\u0442\u043a\u0438\u0445 \u0444\u0430\u0437\u044b.<\/p>\n<p>\u0424\u0430\u0437\u0430 1) \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432. <\/p>\n<p>\u0424\u0430\u0437\u0430 2) \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u0435\u0433\u043e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>\u0424\u0430\u0437\u0430 3) \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0431\u043b\u0430\u0433\u043e\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0435 \u0438\u0441\u0445\u043e\u0434\u044b \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0437\u0430\u0434\u0430\u0447\u0438.<\/p>\n<p>\u0424\u0430\u0437\u0430 4) \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0443\u043c\u043c\u0443 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0431\u043b\u0430\u0433\u043e\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u043d\u0430 1.<\/p>\n<p>\u0414\u043b\u044f \u0441\u0430\u043c\u043e\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u0443\u043c\u043c\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0432\u0441\u0435\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u0430 \u0440\u0430\u0432\u043d\u044f\u0442\u044c\u0441\u044f \u0435\u0434\u0438\u043d\u0438\u0446\u0435.<\/p>\n<h3>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u21161<\/h3>\n<p>\u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u043e\u0439.<\/p>\n<p>\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0442\u0440\u0438 \u0440\u0430\u0437\u0430 \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043a\u0443\u0431\u0438\u043a? \u042d\u0442\u043e <strong>\u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u043e\u0435<\/strong> \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e <strong>\u0441<\/strong> <strong>\u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u044f\u043c\u0438<\/strong>. \u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0448\u0430\u0433\u0435 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043f\u0430\u0441\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 6\u0442\u0438, \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u0448\u0430\u0433\u0435 \u0442\u043e\u0436\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 6\u0442\u0438 \u0438 \u043d\u0430 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u0431\u0440\u043e\u0441\u043a\u0435 \u0442\u043e\u0436\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 6\u0442\u0438. \u041f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0443 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043e\u0434\u0438\u043d \u043a\u0443\u0431\u0438\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0442\u0440\u0438 \u0440\u0430\u0437\u0430 216 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438.<\/p>\n<p>6*6*6=216<\/p>\n<p>\u041f\u043e\u0441\u0442\u0440\u043e\u0438\u043c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430. \u0427\u0438\u0441\u043b\u043e \u0432\u0441\u0435\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u0440\u0430\u0432\u043d\u043e 216. \u042d\u0442\u0438 \u0438\u0441\u0445\u043e\u0434\u044b <strong>\u0440\u0430\u0432\u043d\u043e\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b<\/strong>. <\/p>\n<p>1, (1, 1, 1) ; 2, (1, 1, 2) ; 3, (1, 1, 3) ; 4, (1, 1, 4) ; 5, (1, 1, 5) ; 6, (1, 1, 6) ; 7, (1, 2, 1) ; 8, (1, 2, 2) ; 9, (1, 2, 3) ; 10, (1, 2, 4) ; 11, (1, 2, 5) ; 12, (1, 2, 6) ; 13, (1, 3, 1) ; 14, (1, 3, 2) ; 15, (1, 3, 3) ; 16, (1, 3, 4) ; 17, (1, 3, 5) ; 18, (1, 3, 6) ; 19, (1, 4, 1) ; 20, (1, 4, 2) ; 21, (1, 4, 3) ; 22, (1, 4, 4) ; 23, (1, 4, 5) ; 24, (1, 4, 6) ; 25, (1, 5, 1) ; 26, (1, 5, 2) ; 27, (1, 5, 3) ; 28, (1, 5, 4) ; 29, (1, 5, 5) ; 30, (1, 5, 6) ; 31, (1, 6, 1) ; 32, (1, 6, 2) ; 33, (1, 6, 3) ; 34, (1, 6, 4) ; 35, (1, 6, 5) ; 36, (1, 6, 6) ; 37, (2, 1, 1) ; 38, (2, 1, 2) ; 39, (2, 1, 3) ; 40, (2, 1, 4) ; 41, (2, 1, 5) ; 42, (2, 1, 6) ; 43, (2, 2, 1) ; 44, (2, 2, 2) ; 45, (2, 2, 3) ; 46, (2, 2, 4) ; 47, (2, 2, 5) ; 48, (2, 2, 6) ; 49, (2, 3, 1) ; 50, (2, 3, 2) ; 51, (2, 3, 3) ; 52, (2, 3, 4) ; 53, (2, 3, 5) ; 54, (2, 3, 6) ; 55, (2, 4, 1) ; 56, (2, 4, 2) ; 57, (2, 4, 3) ; 58, (2, 4, 4) ; 59, (2, 4, 5) ; 60, (2, 4, 6) ; 61, (2, 5, 1) ; 62, (2, 5, 2) ; 63, (2, 5, 3) ; 64, (2, 5, 4) ; 65, (2, 5, 5) ; 66, (2, 5, 6) ; 67, (2, 6, 1) ; 68, (2, 6, 2) ; 69, (2, 6, 3) ; 70, (2, 6, 4) ; 71, (2, 6, 5) ; 72, (2, 6, 6) ; 73, (3, 1, 1) ; 74, (3, 1, 2) ; 75, (3, 1, 3) ; 76, (3, 1, 4) ; 77, (3, 1, 5) ; 78, (3, 1, 6) ; 79, (3, 2, 1) ; 80, (3, 2, 2) ; 81, (3, 2, 3) ; 82, (3, 2, 4) ; 83, (3, 2, 5) ; 84, (3, 2, 6) ; 85, (3, 3, 1) ; 86, (3, 3, 2) ; 87, (3, 3, 3) ; 88, (3, 3, 4) ; 89, (3, 3, 5) ; 90, (3, 3, 6) ; 91, (3, 4, 1) ; 92, (3, 4, 2) ; 93, (3, 4, 3) ; 94, (3, 4, 4) ; 95, (3, 4, 5) ; 96, (3, 4, 6) ; 97, (3, 5, 1) ; 98, (3, 5, 2) ; 99, (3, 5, 3) ; 100, (3, 5, 4) ; 101, (3, 5, 5) ; 102, (3, 5, 6) ; 103, (3, 6, 1) ; 104, (3, 6, 2) ; 105, (3, 6, 3) ; 106, (3, 6, 4) ; 107, (3, 6, 5) ; 108, (3, 6, 6) ; 109, (4, 1, 1) ; 110, (4, 1, 2) ; 111, (4, 1, 3) ; 112, (4, 1, 4) ; 113, (4, 1, 5) ; 114, (4, 1, 6) ; 115, (4, 2, 1) ; 116, (4, 2, 2) ; 117, (4, 2, 3) ; 118, (4, 2, 4) ; 119, (4, 2, 5) ; 120, (4, 2, 6) ; 121, (4, 3, 1) ; 122, (4, 3, 2) ; 123, (4, 3, 3) ; 124, (4, 3, 4) ; 125, (4, 3, 5) ; 126, (4, 3, 6) ; 127, (4, 4, 1) ; 128, (4, 4, 2) ; 129, (4, 4, 3) ; 130, (4, 4, 4) ; 131, (4, 4, 5) ; 132, (4, 4, 6) ; 133, (4, 5, 1) ; 134, (4, 5, 2) ; 135, (4, 5, 3) ; 136, (4, 5, 4) ; 137, (4, 5, 5) ; 138, (4, 5, 6) ; 139, (4, 6, 1) ; 140, (4, 6, 2) ; 141, (4, 6, 3) ; 142, (4, 6, 4) ; 143, (4, 6, 5) ; 144, (4, 6, 6) ; 145, (5, 1, 1) ; 146, (5, 1, 2) ; 147, (5, 1, 3) ; 148, (5, 1, 4) ; 149, (5, 1, 5) ; 150, (5, 1, 6) ; 151, (5, 2, 1) ; 152, (5, 2, 2) ; 153, (5, 2, 3) ; 154, (5, 2, 4) ; 155, (5, 2, 5) ; 156, (5, 2, 6) ; 157, (5, 3, 1) ; 158, (5, 3, 2) ; 159, (5, 3, 3) ; 160, (5, 3, 4) ; 161, (5, 3, 5) ; 162, (5, 3, 6) ; 163, (5, 4, 1) ; 164, (5, 4, 2) ; 165, (5, 4, 3) ; 166, (5, 4, 4) ; 167, (5, 4, 5) ; 168, (5, 4, 6) ; 169, (5, 5, 1) ; 170, (5, 5, 2) ; 171, (5, 5, 3) ; 172, (5, 5, 4) ; 173, (5, 5, 5) ; 174, (5, 5, 6) ; 175, (5, 6, 1) ; 176, (5, 6, 2) ; 177, (5, 6, 3) ; 178, (5, 6, 4) ; 179, (5, 6, 5) ; 180, (5, 6, 6) ; 181, (6, 1, 1) ; 182, (6, 1, 2) ; 183, (6, 1, 3) ; 184, (6, 1, 4) ; 185, (6, 1, 5) ; 186, (6, 1, 6) ; 187, (6, 2, 1) ; 188, (6, 2, 2) ; 189, (6, 2, 3) ; 190, (6, 2, 4) ; 191, (6, 2, 5) ; 192, (6, 2, 6) ; 193, (6, 3, 1) ; 194, (6, 3, 2) ; 195, (6, 3, 3) ; 196, (6, 3, 4) ; 197, (6, 3, 5) ; 198, (6, 3, 6) ; 199, (6, 4, 1) ; 200, (6, 4, 2) ; 201, (6, 4, 3) ; 202, (6, 4, 4) ; 203, (6, 4, 5) ; 204, (6, 4, 6) ; 205, (6, 5, 1) ; 206, (6, 5, 2) ; 207, (6, 5, 3) ; 208, (6, 5, 4) ; 209, (6, 5, 5) ; 210, (6, 5, 6) ; 211, (6, 6, 1) ; 212, (6, 6, 2) ; 213, (6, 6, 3) ; 214, (6, 6, 4) ; 215, (6, 6, 5) ; 216, (6, 6, 6) ;<\/p>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 T: &#171;\u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0442\u0440\u0451\u0445 \u0431\u0440\u043e\u0441\u043a\u043e\u0432 \u043a\u0443\u0431\u0438\u043a\u0430 \u0432\u044b\u043f\u0430\u043b\u0438 \u0447\u0438\u0441\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0434\u043b\u0438\u043d\u0430\u043c \u0441\u0442\u043e\u0440\u043e\u043d \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430&#187;. \u0418\u0437 \u044d\u0442\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u0442\u043e\u043b\u044c\u043a\u043e 111 \u0431\u0443\u0434\u0443\u0442 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a. \u0412\u043e\u0442 \u043e\u043d\u0438.<\/p>\n<p>1, (1, 1, 1); 2, (1, 2, 2) ; 3, (1, 3, 3) ; 4, (1, 4, 4) ; 5, (1, 5, 5) ; 6, (1, 6, 6) ; 7, (2, 1, 2) ; 8, (2, 2, 1) ; 9, (2, 2, 2) ; 10, (2, 2, 3) ; 11, (2, 3, 2) ; 12, (2, 3, 3) ; 13, (2, 3, 4) ; 14, (2, 4, 3) ; 15, (2, 4, 4) ; 16, (2, 4, 5) ; 17, (2, 5, 4) ; 18, (2, 5, 5) ; 19, (2, 5, 6) ; 20, (2, 6, 5) ; 21, (2, 6, 6) ; 22, (3, 1, 3) ; 23, (3, 2, 2) ; 24, (3, 2, 3) ; 25, (3, 2, 4) ; 26, (3, 3, 1) ; 27, (3, 3, 2) ; 28, (3, 3, 3) ; 29, (3, 3, 4) ; 30, (3, 3, 5) ; 31, (3, 4, 2) ; 32, (3, 4, 3) ; 33, (3, 4, 4) ; 34, (3, 4, 5) ; 35, (3, 4, 6) ; 36, (3, 5, 3) ; 37, (3, 5, 4) ; 38, (3, 5, 5) ; 39, (3, 5, 6) ; 40, (3, 6, 4) ; 41, (3, 6, 5) ; 42, (3, 6, 6) ; 43, (4, 1, 4) ; 44, (4, 2, 3) ; 45, (4, 2, 4) ; 46, (4, 2, 5) ; 47, (4, 3, 2) ; 48, (4, 3, 3) ; 49, (4, 3, 4) ; 50, (4, 3, 5) ; 51, (4, 3, 6) ; 52, (4, 4, 1) ; 53, (4, 4, 2) ; 54, (4, 4, 3) ; 55, (4, 4, 4) ; 56, (4, 4, 5) ; 57, (4, 4, 6) ; 58, (4, 5, 2) ; 59, (4, 5, 3) ; 60, (4, 5, 4) ; 61, (4, 5, 5) ; 62, (4, 5, 6) ; 63, (4, 6, 3) ; 64, (4, 6, 4) ; 65, (4, 6, 5) ; 66, (4, 6, 6) ; 67, (5, 1, 5) ; 68, (5, 2, 4) ; 69, (5, 2, 5) ; 70, (5, 2, 6) ; 71, (5, 3, 3) ; 72, (5, 3, 4) ; 73, (5, 3, 5) ; 74, (5, 3, 6) ; 75, (5, 4, 2) ; 76, (5, 4, 3) ; 77, (5, 4, 4) ; 78, (5, 4, 5) ; 79, (5, 4, 6) ; 80, (5, 5, 1) ; 81, (5, 5, 2) ; 82, (5, 5, 3) ; 83, (5, 5, 4) ; 84, (5, 5, 5) ; 85, (5, 5, 6) ; 86, (5, 6, 2) ; 87, (5, 6, 3) ; 88, (5, 6, 4) ; 89, (5, 6, 5) ; 90, (5, 6, 6) ; 91, (6, 1, 6) ; 92, (6, 2, 5) ; 93, (6, 2, 6) ; 94, (6, 3, 4) ; 95, (6, 3, 5) ; 96, (6, 3, 6) ; 97, (6, 4, 3) ; 98, (6, 4, 4) ; 99, (6, 4, 5) ; 100, (6, 4, 6); 101, (6, 5, 2); 102, (6, 5, 3); 103, (6, 5, 4); 104, (6, 5, 5); 105, (6, 5, 6); 106, (6, 6, 1); 107, (6, 6, 2); 108, (6, 6, 3); 109, (6, 6, 4); 110, (6, 6, 5); 111, (6, 6, 6);<\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0445\u0435\u043c\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c  \u0432\u044b\u043f\u0430\u0434\u0430\u043d\u0438\u044f \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 P(T)=111\/216=0.51388889=51.3 %<\/p>\n<h3>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u21162<\/h3>\n<p>\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u0442\u0440\u0438 \u043a\u0443\u0431\u0438\u043a\u0430? (\u0421\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f \u0441 \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u044f\u043c\u0438). \u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0442\u0430\u043a. \u041f\u043e\u043b\u043e\u0436\u0438\u043b\u0438 \u0442\u0440\u0438 \u043a\u0443\u0431\u0430 \u0432 \u0441\u0442\u0430\u043a\u0430\u043d. \u0425\u043e\u0440\u043e\u0448\u0435\u043d\u0435\u0447\u043a\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0448\u0430\u043b\u0438 \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0441\u0442\u0430\u043a\u0430\u043d \u0434\u043d\u043e\u043c \u0432\u0432\u0435\u0440\u0445. <\/p>\n<p>\u0414\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0441\u0442\u0438 <strong>\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u043e<\/strong> \u0440\u0430\u0441\u043a\u0440\u0430\u0441\u0438\u043c \u044d\u0442\u0438 \u043a\u0443\u0431\u0438\u043a\u0438 \u0432 \u0440\u0430\u0437\u043d\u044b\u0435 \u0446\u0432\u0435\u0442\u0430: \u0431\u0435\u043b\u044b\u0439, \u0441\u0438\u043d\u0438\u0439, \u043a\u0440\u0430\u0441\u043d\u044b\u0439. \u041e\u043d\u0438 \u0436\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u043c\u044b. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 56 \u0438\u0441\u0445\u043e\u0434\u043e\u0432. \u0412\u043e\u0442 \u043e\u043d\u0438 \u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u044b.    <\/p>\n<p>1, (1, 1, 1) ; 2, (1, 1, 2) ; 3, (1, 1, 3) ; 4, (1, 1, 4) ; 5, (1, 1, 5) ; 6, (1, 1, 6) ; 7, (1, 2, 2) ; 8, (1, 2, 3) ; 9, (1, 2, 4) ; 10, (1, 2, 5) ; 11, (1, 2, 6) ; 12, (1, 3, 3) ; 13, (1, 3, 4) ; 14, (1, 3, 5) ; 15, (1, 3, 6) ; 16, (1, 4, 4) ; 17, (1, 4, 5) ; 18, (1, 4, 6) ; 19, (1, 5, 5) ; 20, (1, 5, 6) ; 21, (1, 6, 6) ; 22, (2, 2, 2) ; 23, (2, 2, 3) ; 24, (2, 2, 4) ; 25, (2, 2, 5) ; 26, (2, 2, 6) ; 27, (2, 3, 3) ; 28, (2, 3, 4) ; 29, (2, 3, 5) ; 30, (2, 3, 6) ; 31, (2, 4, 4) ; 32, (2, 4, 5) ; 33, (2, 4, 6) ; 34, (2, 5, 5) ; 35, (2, 5, 6) ; 36, (2, 6, 6) ; 37, (3, 3, 3) ; 38, (3, 3, 4) ; 39, (3, 3, 5) ; 40, (3, 3, 6) ; 41, (3, 4, 4) ; 42, (3, 4, 5) ; 43, (3, 4, 6) ; 44, (3, 5, 5) ; 45, (3, 5, 6) ; 46, (3, 6, 6) ; 47, (4, 4, 4) ; 48, (4, 4, 5) ; 49, (4, 4, 6) ; 50, (4, 5, 5) ; 51, (4, 5, 6) ; 52, (4, 6, 6) ; 53, (5, 5, 5) ; 54, (5, 5, 6) ; 55, (5, 6, 6) ; 56, (6, 6, 6) ;<\/p>\n<p>\u0422\u0443\u0442 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0432\u0441\u0435 \u044d\u0442\u0438 \u0438\u0441\u0445\u043e\u0434\u044b <strong>\u043d\u0435 \u0440\u0430\u0432\u043d\u043e\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b<\/strong>! \u0412\u043e\u0442 \u0432\u0430\u043c \u044f\u0440\u043a\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440. \u0418\u0441\u0445\u043e\u0434 (1,1,2) \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043f\u0430\u0441\u0442\u044c \u0442\u0440\u0435\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438, \u0430 \u0438\u0441\u0445\u043e\u0434 (1,2,3) \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043f\u0430\u0441\u0442\u044c 6\u044e \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438. \u0422\u043e\u0442 \u0436\u0435 \u0432\u044b\u043f\u0430\u0434 1,2,2 \u043c\u043e\u0436\u0435\u0442 \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0442\u0440\u0435\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/3fe\/79e\/272\/3fe79e27233bf1def692581a6b9c3fe4.png\" alt=\"https:\/\/docs.google.com\/spreadsheets\/d\/1YLTWY24sbbrIfCIkChipCYn1BKBQqYCAerN3cpWuBHQ\/edit#gid=282128841\" title=\"https:\/\/docs.google.com\/spreadsheets\/d\/1YLTWY24sbbrIfCIkChipCYn1BKBQqYCAerN3cpWuBHQ\/edit#gid=282128841\" width=\"512\" height=\"565\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3fe\/79e\/272\/3fe79e27233bf1def692581a6b9c3fe4.png\"\/><\/p>\n<div><figcaption><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1YLTWY24sbbrIfCIkChipCYn1BKBQqYCAerN3cpWuBHQ\/edit#gid=282128841\" rel=\"noopener noreferrer nofollow\">https:\/\/docs.google.com\/spreadsheets\/d\/1YLTWY24sbbrIfCIkChipCYn1BKBQqYCAerN3cpWuBHQ\/edit#gid=282128841<\/a><\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u0437 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u0442\u043e\u043b\u044c\u043a\u043e 34 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0430 \u0447\u0438\u0441\u0435\u043b (\u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430) \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0438. \u0412\u043e\u0442 \u043e\u043d\u0438 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u044b.<\/p>\n<p>1, (1, 1, 1) 2, (1, 2, 2) 3, (1, 3, 3) 4, (1, 4, 4) 5, (1, 5, 5) 6, (1, 6, 6) 7, (2, 2, 2) 8, (2, 2, 3) 9, (2, 3, 3) 10, (2, 3, 4) 11, (2, 4, 4) 12, (2, 4, 5) 13, (2, 5, 5) 14, (2, 5, 6) 15, (2, 6, 6) 16, (3, 3, 3) 17, (3, 3, 4) 18, (3, 3, 5) 19, (3, 4, 4) 20, (3, 4, 5) 21, (3, 4, 6) 22, (3, 5, 5) 23, (3, 5, 6) 24, (3, 6, 6) 25, (4, 4, 4) 26, (4, 4, 5) 27, (4, 4, 6) 28, (4, 5, 5) 29, (4, 5, 6) 30, (4, 6, 6) 31, (5, 5, 5) 32, (5, 5, 6) 33, (5, 6, 6) 34, (6, 6, 6)<\/p>\n<p>\u0412\u043e\u0442 \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432,  \u0438\u0441\u0445\u043e\u0434\u044b \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0449\u0438\u0435 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0438 \u0438\u0445 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438.<\/p>\n<pre><code class=\"xml\">+----+---------+-----+-------+-----+ |num |  comb   | cnt | prob  | tri | +----+---------+-----+-------+-----+ |  1 | 1, 1, 1 |   1 | 0.005 |   1 | |  2 | 1, 1, 2 |   3 | 0.014 |   0 | |  3 | 1, 1, 3 |   3 | 0.014 |   0 | |  4 | 1, 1, 4 |   3 | 0.014 |   0 | |  5 | 1, 1, 5 |   3 | 0.014 |   0 | |  6 | 1, 1, 6 |   3 | 0.014 |   0 | |  7 | 1, 2, 2 |   3 | 0.014 |   1 | |  8 | 1, 2, 3 |   6 | 0.028 |   0 | |  9 | 1, 2, 4 |   6 | 0.028 |   0 | | 10 | 1, 2, 5 |   6 | 0.028 |   0 | | 11 | 1, 2, 6 |   6 | 0.028 |   0 | | 12 | 1, 3, 3 |   3 | 0.014 |   1 | | 13 | 1, 3, 4 |   6 | 0.028 |   0 | | 14 | 1, 3, 5 |   6 | 0.028 |   0 | | 15 | 1, 3, 6 |   6 | 0.028 |   0 | | 16 | 1, 4, 4 |   3 | 0.014 |   1 | | 17 | 1, 4, 5 |   6 | 0.028 |   0 | | 18 | 1, 4, 6 |   6 | 0.028 |   0 | | 19 | 1, 5, 5 |   3 | 0.014 |   1 | | 20 | 1, 5, 6 |   6 | 0.028 |   0 | | 21 | 1, 6, 6 |   3 | 0.014 |   1 | | 22 | 2, 2, 2 |   1 | 0.005 |   1 | | 23 | 2, 2, 3 |   3 | 0.014 |   1 | | 24 | 2, 2, 4 |   3 | 0.014 |   0 | | 25 | 2, 2, 5 |   3 | 0.014 |   0 | | 26 | 2, 2, 6 |   3 | 0.014 |   0 | | 27 | 2, 3, 3 |   3 | 0.014 |   1 | | 28 | 2, 3, 4 |   6 | 0.028 |   1 | | 29 | 2, 3, 5 |   6 | 0.028 |   0 | | 30 | 2, 3, 6 |   6 | 0.028 |   0 | | 31 | 2, 4, 4 |   3 | 0.014 |   1 | | 32 | 2, 4, 5 |   6 | 0.028 |   1 | | 33 | 2, 4, 6 |   6 | 0.028 |   0 | | 34 | 2, 5, 5 |   3 | 0.014 |   1 | | 35 | 2, 5, 6 |   6 | 0.028 |   1 | | 36 | 2, 6, 6 |   3 | 0.014 |   1 | | 37 | 3, 3, 3 |   1 | 0.005 |   1 | | 38 | 3, 3, 4 |   3 | 0.014 |   1 | | 39 | 3, 3, 5 |   3 | 0.014 |   1 | | 40 | 3, 3, 6 |   3 | 0.014 |   0 | | 41 | 3, 4, 4 |   3 | 0.014 |   1 | | 42 | 3, 4, 5 |   6 | 0.028 |   1 | | 43 | 3, 4, 6 |   6 | 0.028 |   1 | | 44 | 3, 5, 5 |   3 | 0.014 |   1 | | 45 | 3, 5, 6 |   6 | 0.028 |   1 | | 46 | 3, 6, 6 |   3 | 0.014 |   1 | | 47 | 4, 4, 4 |   1 | 0.005 |   1 | | 48 | 4, 4, 5 |   3 | 0.014 |   1 | | 49 | 4, 4, 6 |   3 | 0.014 |   1 | | 50 | 4, 5, 5 |   3 | 0.014 |   1 | | 51 | 4, 5, 6 |   6 | 0.028 |   1 | | 52 | 4, 6, 6 |   3 | 0.014 |   1 | | 53 | 5, 5, 5 |   1 | 0.005 |   1 | | 54 | 5, 5, 6 |   3 | 0.014 |   1 | | 55 | 5, 6, 6 |   3 | 0.014 |   1 | | 56 | 6, 6, 6 |   1 | 0.005 |   1 | +----+---------+-----+-------+-----+ triangle cnt 34, Total results cnt 56, probability of triangle: 0.51388889<\/code><\/pre>\n<p>\u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u043f\u0430\u0441\u0442\u044c \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0443 \u0432\u043e\u0432\u0441\u0435 \u043d\u0435 \u0440\u0430\u0432\u043d\u0430 34\/56= 0.607= 60.7% \u043a\u0430\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0441\u043d\u0430\u0447\u0430\u043b\u0430. \u041a\u0430\u043a \u0440\u0430\u0437 \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0438\u0441\u0445\u043e\u0434\u044b \u0438\u043c\u0435\u044e\u0442 \u0440\u0430\u0437\u043d\u0443\u044e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c. \u041d\u0430\u0434\u043e \u0441\u0443\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 \u0431\u043b\u0430\u0433\u043e\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0422\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0432\u0441\u0451 \u0442\u043e\u0442 \u0436\u0435 0.51388889= 51,3% <\/p>\n<h3>\u041c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u043d\u0430 PC<\/h3>\n<p>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 PC. \u0412\u043e\u0442 \u043a\u043e\u0434 \u043d\u0430 \u0421\u0438<\/p>\n<pre><code class=\"cpp\">bool probability_triangle_simulation1(uint32_t number_of_exp) {     bool res = false;     uint8_t side[3] = {0};     uint32_t  success = 0;     LOG_INFO(SYS, \"Try %u\",number_of_exp);     uint32_t i;     for(i = 0; i &lt; number_of_exp ; i++){         res = array_u8_rand(side,sizeof(side),1,6);         res = is_triangle( (double)side[0], (double)side[1], (double)side[2]);         if ( res ) {             success++;         }     }      double probability = ((double )success)\/((double )number_of_exp);     LOG_INFO(SYS, \"success %u, Total %u, probability: %f\",success,number_of_exp,probability);      return 0 &lt; success ; }<\/code><\/pre>\n<p>\u0412\u043e\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/305\/4f8\/8f3\/3054f88f323f4499b14b36b2bc5f7668.png\" width=\"844\" height=\"165\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/305\/4f8\/8f3\/3054f88f323f4499b14b36b2bc5f7668.png\"\/><\/figure>\n<h2>\u0412\u044b\u0432\u043e\u0434<\/h2>\n<p>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0431\u0440\u043e\u0441\u0430\u0442\u044c.  \u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u043f\u0430\u0434\u0435\u043d\u0438\u044f \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u0430 51.38 % <\/p>\n<h2>Links<\/h2>\n<p>\u0422\u0435\u043e\u0440\u0438\u044f \u043f\u0440\u043e \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 <a href=\"https:\/\/studfile.net\/preview\/9483706\/page:10\/\" rel=\"noopener noreferrer nofollow\">https:\/\/studfile.net\/preview\/9483706\/page:10\/<\/a>&#171;<\/p>\n<p><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/16_ZNfThw6e6atiRgsSnrsrJETntaaiEfcJlrYV-2M-o\/edit#gid=0\" rel=\"noopener noreferrer nofollow\">https:\/\/docs.google.com\/spreadsheets\/d\/16_ZNfThw6e6atiRgsSnrsrJETntaaiEfcJlrYV-2M-o\/edit#gid=0<\/a><\/p>\n<p><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1YLTWY24sbbrIfCIkChipCYn1BKBQqYCAerN3cpWuBHQ\/edit#gid=282128841\" rel=\"noopener noreferrer nofollow\">https:\/\/docs.google.com\/spreadsheets\/d\/1YLTWY24sbbrIfCIkChipCYn1BKBQqYCAerN3cpWuBHQ\/edit#gid=282128841<\/a><\/p>\n<p>\u0412\u043e\u0442 \u0442\u0443\u0442 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 <a href=\"https:\/\/sous-otvet.net\/vopros\/44889171.html\" rel=\"noopener noreferrer nofollow\">https:\/\/sous-otvet.net\/vopros\/44889171.html<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><\/p>\n<div class=\"tm-article-poll-container\"><!--[--><\/p>\n<div class=\"tm-article-poll tm-article-poll_variant-bordered\">\n<div class=\"tm-notice tm-notice_positive tm-article-poll__notice\"><!----><\/p>\n<div class=\"tm-notice__inner\"><!----><\/p>\n<div class=\"tm-notice__content\" data-test-id=\"notice-content\"><!--[--><span>\u0422\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u043f\u0440\u043e\u0441\u0435. <a rel=\"nofollow\" href=\"\/kek\/v1\/auth\/habrahabr\/?back=\/ru\/articles\/763372\/&#038;hl=ru\">\u0412\u043e\u0439\u0434\u0438\u0442\u0435<\/a>, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.<\/span><!--]--><\/div>\n<\/div>\n<\/div>\n<p><!--[--><\/p>\n<div class=\"tm-article-poll__header\">\u0412\u044b \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u044b \u0441 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c?<\/div>\n<div class=\"tm-article-poll__answers\"><!--[--><\/p>\n<div class=\"tm-article-poll__answer\">\n<div class=\"tm-article-poll__answer-data\"><span class=\"tm-article-poll__answer-percent\">40% <\/span><span class=\"tm-article-poll__answer-label\">\u0434\u0430<\/span><span class=\"tm-article-poll__answer-votes\">6<\/span><\/div>\n<div class=\"tm-article-poll__answer-bar\">\n<div class=\"tm-article-poll__answer-progress\" style=\"width: 40%\"><\/div>\n<\/div>\n<\/div>\n<div class=\"tm-article-poll__answer\">\n<div class=\"tm-article-poll__answer-data\"><span class=\"tm-article-poll__answer-percent tm-article-poll__answer-percent_winning\">60% <\/span><span class=\"tm-article-poll__answer-label\">\u043d\u0435\u0442<\/span><span class=\"tm-article-poll__answer-votes\">9<\/span><\/div>\n<div class=\"tm-article-poll__answer-bar\">\n<div class=\"tm-article-poll__answer-progress tm-article-poll__answer-progress_winning\" style=\"width: 60%\"><\/div>\n<\/div>\n<\/div>\n<p><!--]--><\/div>\n<div class=\"tm-article-poll__stats\"> \u041f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043b\u0438 15 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439.   \u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u043b\u0438\u0441\u044c 8 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. <\/div>\n<p><!--]--><\/div>\n<div class=\"tm-article-poll tm-article-poll_variant-bordered\">\n<div class=\"tm-notice tm-notice_positive tm-article-poll__notice\"><!----><\/p>\n<div class=\"tm-notice__inner\"><!----><\/p>\n<div class=\"tm-notice__content\" data-test-id=\"notice-content\"><!--[--><span>\u0422\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u043f\u0440\u043e\u0441\u0435. <a rel=\"nofollow\" href=\"\/kek\/v1\/auth\/habrahabr\/?back=\/ru\/articles\/763372\/&#038;hl=ru\">\u0412\u043e\u0439\u0434\u0438\u0442\u0435<\/a>, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.<\/span><!--]--><\/div>\n<\/div>\n<\/div>\n<p><!--[--><\/p>\n<div class=\"tm-article-poll__header\">\u0412\u0430\u043c \u043f\u0440\u0438\u0433\u043e\u0436\u0434\u0430\u043b\u0430\u0441\u044c \u0442\u0435\u043e\u0440\u0438\u044f \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0435?<\/div>\n<div class=\"tm-article-poll__answers\"><!--[--><\/p>\n<div class=\"tm-article-poll__answer\">\n<div class=\"tm-article-poll__answer-data\"><span class=\"tm-article-poll__answer-percent\">50% <\/span><span class=\"tm-article-poll__answer-label\">\u0434\u0430<\/span><span class=\"tm-article-poll__answer-votes\">1<\/span><\/div>\n<div class=\"tm-article-poll__answer-bar\">\n<div class=\"tm-article-poll__answer-progress\" style=\"width: 50%\"><\/div>\n<\/div>\n<\/div>\n<div class=\"tm-article-poll__answer\">\n<div class=\"tm-article-poll__answer-data\"><span class=\"tm-article-poll__answer-percent tm-article-poll__answer-percent_winning\">50% <\/span><span class=\"tm-article-poll__answer-label\">\u043d\u0435\u0442<\/span><span class=\"tm-article-poll__answer-votes\">1<\/span><\/div>\n<div class=\"tm-article-poll__answer-bar\">\n<div class=\"tm-article-poll__answer-progress tm-article-poll__answer-progress_winning\" style=\"width: 50%\"><\/div>\n<\/div>\n<\/div>\n<p><!--]--><\/div>\n<div class=\"tm-article-poll__stats\"> \u041f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043b\u0438 2 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.    \u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u043b\u0441\u044f 1 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c. <\/div>\n<p><!--]--><\/div>\n<p><!--]--><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/763372\/\"> https:\/\/habr.com\/ru\/articles\/763372\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><\/figure>\n<p>\u0415\u0441\u0442\u044c \u043e\u0434\u043d\u0430 \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u043a\u0430 \u043d\u0430 \u0441\u0442\u044b\u043a\u0435 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0442\u043e\u0440\u0438\u043a\u0438 \u0438 \u0442\u0435\u043e\u0440\u0438\u0438 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0441 \u043a\u043e\u043d\u0442\u0440 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c. \u0417\u043d\u0430\u043a\u043e\u043c\u044b\u0435 \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b\u0438 \u0435\u0435 \u0440\u0435\u0448\u0438\u0442\u044c \u0442\u0430\u043a \u0447\u0442\u043e\u0431\u044b \u0443\u0447\u0435\u043d\u0438\u043a \u0432\u0441\u0451 \u043f\u043e\u043d\u044f\u043b.<\/p>\n<h2>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 1<\/h2>\n<p>\u0411\u0440\u043e\u0441\u0430\u044e\u0442 \u043a\u0443\u0431\u0438\u043a \u0442\u0440\u0438 \u0440\u0430\u0437\u0430. \u041a\u0430\u043a\u043e\u0432\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e \u0432\u044b\u043f\u0430\u0432\u0448\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a?<\/p>\n<h2>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 2<\/h2>\n<p>\u0411\u0440\u043e\u0441\u0430\u044e\u0442 \u0442\u0440\u0438 \u043a\u0443\u0431\u0438\u043a\u0430 \u043e\u0434\u043d\u0438\u043c \u0431\u0440\u043e\u0441\u043a\u043e\u043c. \u041a\u0430\u043a\u043e\u0432\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e \u0432\u044b\u043f\u0430\u0432\u0448\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a?<\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0430\u044f. \u041a\u0430\u043a\u0430\u044f \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043a\u0430\u043a \u0431\u0440\u043e\u0441\u0430\u0442\u044c?<\/p>\n<h4>\u0422\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u044f<\/h4>\n<p><strong>\u0420\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435<\/strong> &#8212; \u0412 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0442\u043e\u0440\u0438\u043a\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435\u043c (\u0438\u0437 n \u043f\u043e k) \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <strong>\u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u044b\u0439<\/strong> \u043d\u0430\u0431\u043e\u0440 \u0438\u0437 k \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438\u0437 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 <strong>\u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445<\/strong> n \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 (\u0431\u0435\u0437 \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u0439).<\/p>\n<p><strong>\u0421\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435<\/strong> &#8212; \u0412 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0442\u043e\u0440\u0438\u043a\u0435 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435\u043c \u0438\u0437 n \u043f\u043e  k \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0431\u043e\u0440 \u0438\u0437  k \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0438\u0437  n-\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 (\u043d\u0435\u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u0430\u044f \u0432\u044b\u0431\u043e\u043a\u0430).<\/p>\n<p>\u0423 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u043e\u0432 \u0435\u0441\u0442\u044c \u043e\u0434\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e. \u0421\u0443\u043c\u043c\u0430 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u0442\u043e\u0440\u043e\u043d (c+a)  \u0434\u043e\u043b\u0436\u043d\u0430 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0442\u044c \u0434\u043b\u0438\u043d\u0443 \u0440\u0435\u0431\u0440\u0430 \u043d\u0430\u043f\u0440\u043e\u0442\u0438\u0432 (b). \u0418 \u0442\u0430\u043a \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0440\u0435\u0431\u0440\u0430. \u041c\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0442\u044c \u043a\u0430\u043a\u0438\u0435 3 \u0447\u0438\u0441\u043b\u0430 \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a, \u0430 \u043a\u0430\u043a\u0438\u0435 \u043d\u0435\u0442. <\/p>\n<pre><code class=\"cpp\">static bool is_triangle(double a, double b, double c){     bool res = false;     if(c&lt;(a+b)) {         if(b&lt;(c+a)) {             if(a&lt;(b+c)){                 res = true;             }         }     }     return res; } <\/code><\/pre>\n<p>\u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438.<br \/>\u041d\u0430\u043f\u043e\u043c\u043d\u044e \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438. \u0422\u0443\u0442 \u0435\u0441\u0442\u044c 4 \u0447\u0435\u0442\u043a\u0438\u0445 \u0444\u0430\u0437\u044b.<\/p>\n<p>\u0424\u0430\u0437\u0430 1) \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432. <\/p>\n<p>\u0424\u0430\u0437\u0430 2) \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u0435\u0433\u043e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>\u0424\u0430\u0437\u0430 3) \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0431\u043b\u0430\u0433\u043e\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0435 \u0438\u0441\u0445\u043e\u0434\u044b \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0437\u0430\u0434\u0430\u0447\u0438.<\/p>\n<p>\u0424\u0430\u0437\u0430 4) \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0443\u043c\u043c\u0443 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0431\u043b\u0430\u0433\u043e\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u043d\u0430 1.<\/p>\n<p>\u0414\u043b\u044f \u0441\u0430\u043c\u043e\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u0443\u043c\u043c\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0432\u0441\u0435\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u0430 \u0440\u0430\u0432\u043d\u044f\u0442\u044c\u0441\u044f \u0435\u0434\u0438\u043d\u0438\u0446\u0435.<\/p>\n<h3>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u21161<\/h3>\n<p>\u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u043e\u0439.<\/p>\n<p>\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0442\u0440\u0438 \u0440\u0430\u0437\u0430 \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043a\u0443\u0431\u0438\u043a? \u042d\u0442\u043e <strong>\u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u043e\u0435<\/strong> \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e <strong>\u0441<\/strong> <strong>\u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u044f\u043c\u0438<\/strong>. \u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0448\u0430\u0433\u0435 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043f\u0430\u0441\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 6\u0442\u0438, \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u0448\u0430\u0433\u0435 \u0442\u043e\u0436\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 6\u0442\u0438 \u0438 \u043d\u0430 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u0431\u0440\u043e\u0441\u043a\u0435 \u0442\u043e\u0436\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 6\u0442\u0438. \u041f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0443 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043e\u0434\u0438\u043d \u043a\u0443\u0431\u0438\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0442\u0440\u0438 \u0440\u0430\u0437\u0430 216 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438.<\/p>\n<p>6*6*6=216<\/p>\n<p>\u041f\u043e\u0441\u0442\u0440\u043e\u0438\u043c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430. \u0427\u0438\u0441\u043b\u043e \u0432\u0441\u0435\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u0440\u0430\u0432\u043d\u043e 216. \u042d\u0442\u0438 \u0438\u0441\u0445\u043e\u0434\u044b <strong>\u0440\u0430\u0432\u043d\u043e\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b<\/strong>. <\/p>\n<p>1, (1, 1, 1) ; 2, (1, 1, 2) ; 3, (1, 1, 3) ; 4, (1, 1, 4) ; 5, (1, 1, 5) ; 6, (1, 1, 6) ; 7, (1, 2, 1) ; 8, (1, 2, 2) ; 9, (1, 2, 3) ; 10, (1, 2, 4) ; 11, (1, 2, 5) ; 12, (1, 2, 6) ; 13, (1, 3, 1) ; 14, (1, 3, 2) ; 15, (1, 3, 3) ; 16, (1, 3, 4) ; 17, (1, 3, 5) ; 18, (1, 3, 6) ; 19, (1, 4, 1) ; 20, (1, 4, 2) ; 21, (1, 4, 3) ; 22, (1, 4, 4) ; 23, (1, 4, 5) ; 24, (1, 4, 6) ; 25, (1, 5, 1) ; 26, (1, 5, 2) ; 27, (1, 5, 3) ; 28, (1, 5, 4) ; 29, (1, 5, 5) ; 30, (1, 5, 6) ; 31, (1, 6, 1) ; 32, (1, 6, 2) ; 33, (1, 6, 3) ; 34, (1, 6, 4) ; 35, (1, 6, 5) ; 36, (1, 6, 6) ; 37, (2, 1, 1) ; 38, (2, 1, 2) ; 39, (2, 1, 3) ; 40, (2, 1, 4) ; 41, (2, 1, 5) ; 42, (2, 1, 6) ; 43, (2, 2, 1) ; 44, (2, 2, 2) ; 45, (2, 2, 3) ; 46, (2, 2, 4) ; 47, (2, 2, 5) ; 48, (2, 2, 6) ; 49, (2, 3, 1) ; 50, (2, 3, 2) ; 51, (2, 3, 3) ; 52, (2, 3, 4) ; 53, (2, 3, 5) ; 54, (2, 3, 6) ; 55, (2, 4, 1) ; 56, (2, 4, 2) ; 57, (2, 4, 3) ; 58, (2, 4, 4) ; 59, (2, 4, 5) ; 60, (2, 4, 6) ; 61, (2, 5, 1) ; 62, (2, 5, 2) ; 63, (2, 5, 3) ; 64, (2, 5, 4) ; 65, (2, 5, 5) ; 66, (2, 5, 6) ; 67, (2, 6, 1) ; 68, (2, 6, 2) ; 69, (2, 6, 3) ; 70, (2, 6, 4) ; 71, (2, 6, 5) ; 72, (2, 6, 6) ; 73, (3, 1, 1) ; 74, (3, 1, 2) ; 75, (3, 1, 3) ; 76, (3, 1, 4) ; 77, (3, 1, 5) ; 78, (3, 1, 6) ; 79, (3, 2, 1) ; 80, (3, 2, 2) ; 81, (3, 2, 3) ; 82, (3, 2, 4) ; 83, (3, 2, 5) ; 84, (3, 2, 6) ; 85, (3, 3, 1) ; 86, (3, 3, 2) ; 87, (3, 3, 3) ; 88, (3, 3, 4) ; 89, (3, 3, 5) ; 90, (3, 3, 6) ; 91, (3, 4, 1) ; 92, (3, 4, 2) ; 93, (3, 4, 3) ; 94, (3, 4, 4) ; 95, (3, 4, 5) ; 96, (3, 4, 6) ; 97, (3, 5, 1) ; 98, (3, 5, 2) ; 99, (3, 5, 3) ; 100, (3, 5, 4) ; 101, (3, 5, 5) ; 102, (3, 5, 6) ; 103, (3, 6, 1) ; 104, (3, 6, 2) ; 105, (3, 6, 3) ; 106, (3, 6, 4) ; 107, (3, 6, 5) ; 108, (3, 6, 6) ; 109, (4, 1, 1) ; 110, (4, 1, 2) ; 111, (4, 1, 3) ; 112, (4, 1, 4) ; 113, (4, 1, 5) ; 114, (4, 1, 6) ; 115, (4, 2, 1) ; 116, (4, 2, 2) ; 117, (4, 2, 3) ; 118, (4, 2, 4) ; 119, (4, 2, 5) ; 120, (4, 2, 6) ; 121, (4, 3, 1) ; 122, (4, 3, 2) ; 123, (4, 3, 3) ; 124, (4, 3, 4) ; 125, (4, 3, 5) ; 126, (4, 3, 6) ; 127, (4, 4, 1) ; 128, (4, 4, 2) ; 129, (4, 4, 3) ; 130, (4, 4, 4) ; 131, (4, 4, 5) ; 132, (4, 4, 6) ; 133, (4, 5, 1) ; 134, (4, 5, 2) ; 135, (4, 5, 3) ; 136, (4, 5, 4) ; 137, (4, 5, 5) ; 138, (4, 5, 6) ; 139, (4, 6, 1) ; 140, (4, 6, 2) ; 141, (4, 6, 3) ; 142, (4, 6, 4) ; 143, (4, 6, 5) ; 144, (4, 6, 6) ; 145, (5, 1, 1) ; 146, (5, 1, 2) ; 147, (5, 1, 3) ; 148, (5, 1, 4) ; 149, (5, 1, 5) ; 150, (5, 1, 6) ; 151, (5, 2, 1) ; 152, (5, 2, 2) ; 153, (5, 2, 3) ; 154, (5, 2, 4) ; 155, (5, 2, 5) ; 156, (5, 2, 6) ; 157, (5, 3, 1) ; 158, (5, 3, 2) ; 159, (5, 3, 3) ; 160, (5, 3, 4) ; 161, (5, 3, 5) ; 162, (5, 3, 6) ; 163, (5, 4, 1) ; 164, (5, 4, 2) ; 165, (5, 4, 3) ; 166, (5, 4, 4) ; 167, (5, 4, 5) ; 168, (5, 4, 6) ; 169, (5, 5, 1) ; 170, (5, 5, 2) ; 171, (5, 5, 3) ; 172, (5, 5, 4) ; 173, (5, 5, 5) ; 174, (5, 5, 6) ; 175, (5, 6, 1) ; 176, (5, 6, 2) ; 177, (5, 6, 3) ; 178, (5, 6, 4) ; 179, (5, 6, 5) ; 180, (5, 6, 6) ; 181, (6, 1, 1) ; 182, (6, 1, 2) ; 183, (6, 1, 3) ; 184, (6, 1, 4) ; 185, (6, 1, 5) ; 186, (6, 1, 6) ; 187, (6, 2, 1) ; 188, (6, 2, 2) ; 189, (6, 2, 3) ; 190, (6, 2, 4) ; 191, (6, 2, 5) ; 192, (6, 2, 6) ; 193, (6, 3, 1) ; 194, (6, 3, 2) ; 195, (6, 3, 3) ; 196, (6, 3, 4) ; 197, (6, 3, 5) ; 198, (6, 3, 6) ; 199, (6, 4, 1) ; 200, (6, 4, 2) ; 201, (6, 4, 3) ; 202, (6, 4, 4) ; 203, (6, 4, 5) ; 204, (6, 4, 6) ; 205, (6, 5, 1) ; 206, (6, 5, 2) ; 207, (6, 5, 3) ; 208, (6, 5, 4) ; 209, (6, 5, 5) ; 210, (6, 5, 6) ; 211, (6, 6, 1) ; 212, (6, 6, 2) ; 213, (6, 6, 3) ; 214, (6, 6, 4) ; 215, (6, 6, 5) ; 216, (6, 6, 6) ;<\/p>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 T: &#171;\u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0442\u0440\u0451\u0445 \u0431\u0440\u043e\u0441\u043a\u043e\u0432 \u043a\u0443\u0431\u0438\u043a\u0430 \u0432\u044b\u043f\u0430\u043b\u0438 \u0447\u0438\u0441\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0434\u043b\u0438\u043d\u0430\u043c \u0441\u0442\u043e\u0440\u043e\u043d \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430&#187;. \u0418\u0437 \u044d\u0442\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u0442\u043e\u043b\u044c\u043a\u043e 111 \u0431\u0443\u0434\u0443\u0442 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a. \u0412\u043e\u0442 \u043e\u043d\u0438.<\/p>\n<p>1, (1, 1, 1); 2, (1, 2, 2) ; 3, (1, 3, 3) ; 4, (1, 4, 4) ; 5, (1, 5, 5) ; 6, (1, 6, 6) ; 7, (2, 1, 2) ; 8, (2, 2, 1) ; 9, (2, 2, 2) ; 10, (2, 2, 3) ; 11, (2, 3, 2) ; 12, (2, 3, 3) ; 13, (2, 3, 4) ; 14, (2, 4, 3) ; 15, (2, 4, 4) ; 16, (2, 4, 5) ; 17, (2, 5, 4) ; 18, (2, 5, 5) ; 19, (2, 5, 6) ; 20, (2, 6, 5) ; 21, (2, 6, 6) ; 22, (3, 1, 3) ; 23, (3, 2, 2) ; 24, (3, 2, 3) ; 25, (3, 2, 4) ; 26, (3, 3, 1) ; 27, (3, 3, 2) ; 28, (3, 3, 3) ; 29, (3, 3, 4) ; 30, (3, 3, 5) ; 31, (3, 4, 2) ; 32, (3, 4, 3) ; 33, (3, 4, 4) ; 34, (3, 4, 5) ; 35, (3, 4, 6) ; 36, (3, 5, 3) ; 37, (3, 5, 4) ; 38, (3, 5, 5) ; 39, (3, 5, 6) ; 40, (3, 6, 4) ; 41, (3, 6, 5) ; 42, (3, 6, 6) ; 43, (4, 1, 4) ; 44, (4, 2, 3) ; 45, (4, 2, 4) ; 46, (4, 2, 5) ; 47, (4, 3, 2) ; 48, (4, 3, 3) ; 49, (4, 3, 4) ; 50, (4, 3, 5) ; 51, (4, 3, 6) ; 52, (4, 4, 1) ; 53, (4, 4, 2) ; 54, (4, 4, 3) ; 55, (4, 4, 4) ; 56, (4, 4, 5) ; 57, (4, 4, 6) ; 58, (4, 5, 2) ; 59, (4, 5, 3) ; 60, (4, 5, 4) ; 61, (4, 5, 5) ; 62, (4, 5, 6) ; 63, (4, 6, 3) ; 64, (4, 6, 4) ; 65, (4, 6, 5) ; 66, (4, 6, 6) ; 67, (5, 1, 5) ; 68, (5, 2, 4) ; 69, (5, 2, 5) ; 70, (5, 2, 6) ; 71, (5, 3, 3) ; 72, (5, 3, 4) ; 73, (5, 3, 5) ; 74, (5, 3, 6) ; 75, (5, 4, 2) ; 76, (5, 4, 3) ; 77, (5, 4, 4) ; 78, (5, 4, 5) ; 79, (5, 4, 6) ; 80, (5, 5, 1) ; 81, (5, 5, 2) ; 82, (5, 5, 3) ; 83, (5, 5, 4) ; 84, (5, 5, 5) ; 85, (5, 5, 6) ; 86, (5, 6, 2) ; 87, (5, 6, 3) ; 88, (5, 6, 4) ; 89, (5, 6, 5) ; 90, (5, 6, 6) ; 91, (6, 1, 6) ; 92, (6, 2, 5) ; 93, (6, 2, 6) ; 94, (6, 3, 4) ; 95, (6, 3, 5) ; 96, (6, 3, 6) ; 97, (6, 4, 3) ; 98, (6, 4, 4) ; 99, (6, 4, 5) ; 100, (6, 4, 6); 101, (6, 5, 2); 102, (6, 5, 3); 103, (6, 5, 4); 104, (6, 5, 5); 105, (6, 5, 6); 106, (6, 6, 1); 107, (6, 6, 2); 108, (6, 6, 3); 109, (6, 6, 4); 110, (6, 6, 5); 111, (6, 6, 6);<\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0445\u0435\u043c\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0435\u0439, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c  \u0432\u044b\u043f\u0430\u0434\u0430\u043d\u0438\u044f \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 P(T)=111\/216=0.51388889=51.3 %<\/p>\n<h3>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u21162<\/h3>\n<p>\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u0442\u0440\u0438 \u043a\u0443\u0431\u0438\u043a\u0430? (\u0421\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f \u0441 \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u044f\u043c\u0438). \u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0442\u0430\u043a. \u041f\u043e\u043b\u043e\u0436\u0438\u043b\u0438 \u0442\u0440\u0438 \u043a\u0443\u0431\u0430 \u0432 \u0441\u0442\u0430\u043a\u0430\u043d. \u0425\u043e\u0440\u043e\u0448\u0435\u043d\u0435\u0447\u043a\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0448\u0430\u043b\u0438 \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0441\u0442\u0430\u043a\u0430\u043d \u0434\u043d\u043e\u043c \u0432\u0432\u0435\u0440\u0445. <\/p>\n<p>\u0414\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0441\u0442\u0438 <strong>\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u043e<\/strong> \u0440\u0430\u0441\u043a\u0440\u0430\u0441\u0438\u043c \u044d\u0442\u0438 \u043a\u0443\u0431\u0438\u043a\u0438 \u0432 \u0440\u0430\u0437\u043d\u044b\u0435 \u0446\u0432\u0435\u0442\u0430: \u0431\u0435\u043b\u044b\u0439, \u0441\u0438\u043d\u0438\u0439, \u043a\u0440\u0430\u0441\u043d\u044b\u0439. \u041e\u043d\u0438 \u0436\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u043c\u044b. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0445 \u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 56 \u0438\u0441\u0445\u043e\u0434\u043e\u0432. \u0412\u043e\u0442 \u043e\u043d\u0438 \u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u044b.    <\/p>\n<p>1, (1, 1, 1) ; 2, (1, 1, 2) ; 3, (1, 1, 3) ; 4, (1, 1, 4) ; 5, (1, 1, 5) ; 6, (1, 1, 6) ; 7, (1, 2, 2) ; 8, (1, 2, 3) ; 9, (1, 2, 4) ; 10, (1, 2, 5) ; 11, (1, 2, 6) ; 12, (1, 3, 3) ; 13, (1, 3, 4) ; 14, (1, 3, 5) ; 15, (1, 3, 6) ; 16, (1, 4, 4) ; 17, (1, 4, 5) ; 18, (1, 4, 6) ; 19, (1, 5, 5) ; 20, (1, 5, 6) ; 21, (1, 6, 6) ; 22, (2, 2, 2) ; 23, (2, 2, 3) ; 24, (2, 2, 4) ; 25, (2, 2, 5) ; 26, (2, 2, 6) ; 27, (2, 3, 3) ; 28, (2, 3, 4) ; 29, (2, 3, 5) ; 30, (2, 3, 6) ; 31, (2, 4, 4) ; 32, (2, 4, 5) ; 33, (2, 4, 6) ; 34, (2, 5, 5) ; 35, (2, 5, 6) ; 36, (2, 6, 6) ; 37, (3, 3, 3) ; 38, (3, 3, 4) ; 39, (3, 3, 5) ; 40, (3, 3, 6) ; 41, (3, 4, 4) ; 42, (3, 4, 5) ; 43, (3, 4, 6) ; 44, (3, 5, 5) ; 45, (3, 5, 6) ; 46, (3, 6, 6) ; 47, (4, 4, 4) ; 48, (4, 4, 5) ; 49, (4, 4, 6) ; 50, (4, 5, 5) ; 51, (4, 5, 6) ; 52, (4, 6, 6) ; 53, (5, 5, 5) ; 54, (5, 5, 6) ; 55, (5, 6, 6) ; 56, (6, 6, 6) ;<\/p>\n<p>\u0422\u0443\u0442 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0432\u0441\u0435 \u044d\u0442\u0438 \u0438\u0441\u0445\u043e\u0434\u044b <strong>\u043d\u0435 \u0440\u0430\u0432\u043d\u043e\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b<\/strong>! \u0412\u043e\u0442 \u0432\u0430\u043c \u044f\u0440\u043a\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440. \u0418\u0441\u0445\u043e\u0434 (1,1,2) \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043f\u0430\u0441\u0442\u044c \u0442\u0440\u0435\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438, \u0430 \u0438\u0441\u0445\u043e\u0434 (1,2,3) \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043f\u0430\u0441\u0442\u044c 6\u044e \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438. \u0422\u043e\u0442 \u0436\u0435 \u0432\u044b\u043f\u0430\u0434 1,2,2 \u043c\u043e\u0436\u0435\u0442 \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0442\u0440\u0435\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438.<\/p>\n<figure class=\"\">\n<div><figcaption><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1YLTWY24sbbrIfCIkChipCYn1BKBQqYCAerN3cpWuBHQ\/edit#gid=282128841\" rel=\"noopener noreferrer nofollow\">https:\/\/docs.google.com\/spreadsheets\/d\/1YLTWY24sbbrIfCIkChipCYn1BKBQqYCAerN3cpWuBHQ\/edit#gid=282128841<\/a><\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u0437 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u0442\u043e\u043b\u044c\u043a\u043e 34 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0430 \u0447\u0438\u0441\u0435\u043b (\u0438\u0441\u0445\u043e\u0434\u043e\u0432 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430) \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0438. \u0412\u043e\u0442 \u043e\u043d\u0438 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u044b.<\/p>\n<p>1, (1, 1, 1) 2, (1, 2, 2) 3, (1, 3, 3) 4, (1, 4, 4) 5, (1, 5, 5) 6, (1, 6, 6) 7, (2, 2, 2) 8, (2, 2, 3) 9, (2, 3, 3) 10, (2, 3, 4) 11, (2, 4, 4) 12, (2, 4, 5) 13, (2, 5, 5) 14, (2, 5, 6) 15, (2, 6, 6) 16, (3, 3, 3) 17, (3, 3, 4) 18, (3, 3, 5)<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-355837","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/355837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=355837"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/355837\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=355837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=355837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=355837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}