{"id":297780,"date":"2020-01-28T03:00:13","date_gmt":"2020-01-28T03:00:13","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=297780"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=297780","title":{"rendered":"\u0414\u043e\u043c\u0430\u0448\u043a\u0430 \u043f\u043e \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u043a\u0435"},"content":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/485786\/\"><i>\u041b\u0451\u0448\u0435\u043d\u044c\u043a\u0430, \u041b\u0451\u0448\u0435\u043d\u044c\u043a\u0430, \u0441\u0434\u0435\u043b\u0430\u0439 \u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435!<br \/>   \u0412\u044b\u0443\u0447\u0438 \u0410\u043b\u0451\u0448\u0435\u043d\u044c\u043a\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f !<\/i><br \/>  <b>\u0410\u0433\u043d\u0438\u044f \u0411\u0430\u0440\u0442\u043e<\/b><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/8f\/e4\/pm\/8fe4pmxqyjcfscaluen1vp4pw6o.jpeg\"><\/p>\n<p>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u043a\u0430 \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u043a\u043b\u0430\u0441\u0441\u043d\u0438\u043a\u0430. \u0414\u0430\u043d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e. \u041d\u0443\u0436\u043d\u043e \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e \u0434\u0440\u0443\u0433\u043e\u0435 \u0447\u0438\u0441\u043b\u043e, \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0435. \u0412\u043e\u043f\u0440\u043e\u0441, \u043a\u0430\u043a \u043f\u043e\u0441\u043e\u0432\u0435\u0442\u0443\u044e\u0442 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u043b\u0430\u0433\u043e\u0440\u043e\u0434\u043d\u044b\u0435 \u0434\u043e\u043d\u044b ??? \u0411\u044b\u0432\u0430\u043b\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0441\u043a\u0430\u0436\u0435\u0442, \u043c\u043e\u043b \u043c\u0443\u0436\u0438\u043a, \u0441\u0442\u0430\u0432\u044c \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u0438 \u043d\u0435 \u043f\u0430\u0440\u044c \u043c\u043d\u0435 \u043c\u041e\u0437\u0433\u0438. \u0418 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432 \u043a\u043e\u0440\u043d\u0435 \u043d\u0435\u043f\u0440\u0430\u0432! \u0418\u0431\u043e \u043a\u0440\u043e\u043c\u0435 \u043c\u043e\u043d\u0441\u0442\u0440\u043e\u0432 \u043e\u0442 Alterra \u0438 Xilinx \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0435\u0449\u0451 \u0438 \u0442\u0430\u043a\u043e\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u043a\u0430\u043a <a href=\"http:\/\/www.latticesemi.com\/en\/Products\/FPGAandCPLD\/iCE40\" rel=\"nofollow\">iCE-40 \u043e\u0442 Lattice<\/a>. \u0423\u043b\u044c\u0442\u0440\u0430\u043c\u0438\u043a\u0440\u043e\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u044e\u0449\u0435\u0435. \u041e\u0447\u0435\u043d\u044c \u0434\u0435\u0448\u0435\u0432\u043e\u0435. \u0414\u0430 \u0432\u043e\u0442 \u0431\u0435\u0434\u0430, \u0431\u043e\u043b\u044c\u043d\u043e \u043c\u0435\u043b\u043a\u0438\u0435 \u043e\u043d\u0438, \u0438 \u0443\u0432\u044b, \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0435\u0439 \u0442\u0430\u043c \u043d\u0435\u0442. \u042f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u044d\u0442\u0438\u043c \u0433\u043e\u0434\u0430 4 \u043d\u0430\u0437\u0430\u0434, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b <a href=\"https:\/\/hh.ru\/resume\/c00bf120ff0086f2090039ed1f736563726574\" rel=\"nofollow\">\u043d\u0435\u043a\u0438\u0439 ADPCM-\u043a\u043e\u0434\u0435\u043a<\/a> \u0441 \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0430 adsp-2185 \u043d\u0430 \u0442\u0430\u043a\u043e\u0439 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041d\u0435\u0442, \u0431\u0435\u0437 \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044f \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f(\u0434\u043b\u044f \u0434\u0432\u0443\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445) \u0442\u0430\u043c \u0440\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f \u043d\u0435 \u043e\u0431\u043e\u0448\u043b\u043e\u0441\u044c. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u0440\u0443\u0447\u043a\u0430\u043c\u0438 \u0438 \u043e\u043d \u0437\u0430\u043d\u044f\u043b \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0443 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u0430. \u0411\u0435\u0434\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u043e\u043b\u043e\u0442\u0438\u043b \u043e\u043d \u0443 \u043c\u0435\u043d\u044f \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0442\u0430\u043a\u0442\u0435, \u0442.\u0435. \u0432\u043e\u043e\u0431\u0449\u0435 \u0431\u0435\u0437 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u043e\u043a\u043e\u043d. \u0410 \u043a\u0440\u043e\u043c\u0435 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0432 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0435 \u0431\u044b\u043b\u0438 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u043e\u0436\u0435 \u043d\u0430\u0434\u043e \u0431\u044b\u043b\u043e \u0443\u043c\u043d\u043e\u0436\u0430\u0442\u044c. \u0418 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043d\u0435 \u0431\u044b\u043b\u043e \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043e\u043a\u043d\u0430. \u0410 \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0431\u043e\u0440\u044c\u0431\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0448\u043b\u0430 \u0437\u0430 \u043a\u0430\u0436\u0434\u0443\u044e \u044f\u0447\u0435\u0439\u043a\u0443, \u0440\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f \u043c\u0435\u043d\u044f \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u043e, \u043a\u0430\u043a \u0431\u044b \u0438\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u044d\u0442\u0438\u0445 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u043e\u0432 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0438\u0445(\u043d\u0435 \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e !). \u041d\u0443 \u0438 \u043a\u0430\u043a \u043f\u043e\u043b\u043d\u0430\u044f \u0441\u0431\u044b\u0447\u0430 \u043c\u0435\u0447\u0442 \u2014 \u0447\u0442\u043e\u0431\u044b \u0441\u0445\u0435\u043c\u044b \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043e\u0431\u0449\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u0430. <\/p>\n<p>  \u0418\u0442\u0430\u043a, \u043e\u0442 \u0437\u0430\u0434\u0430\u0447\u043a\u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u043a\u043b\u0430\u0441\u0441\u043d\u0438\u043a\u0430 \u043c\u044b \u043f\u043b\u0430\u0432\u043d\u043e \u043f\u0435\u0440\u0435\u0448\u043b\u0438 \u043a \u0437\u0430\u0434\u0430\u0447\u0435 \u0434\u043b\u044f \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0430 \u0438 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0430. \u041a\u0430\u043a \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0433\u043e? <\/p>\n<p>  \u0412\u0441\u043f\u043e\u043c\u043d\u0438\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u0432\u043e\u043e\u0431\u0449\u0435 \u0443\u043c\u043d\u043e\u0436\u0430\u0435\u043c \u0447\u0438\u0441\u043b\u043e <b>\u0410<\/b> \u043d\u0430 <b>\u0412<\/b>.   <\/p>\n<ol>\n<li>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0432\u043d\u044b\u043c \u043d\u0443\u043b\u044e. <\/li>\n<li>\u041f\u0440\u043e\u0431\u0435\u0436\u0438\u043c\u0441\u044f \u043f\u043e \u0440\u0430\u0437\u0440\u044f\u0434\u0430\u043c <b>A<\/b>.<\/li>\n<li>\u0415\u0441\u043b\u0438 \u0432 \u0440\u0430\u0437\u0440\u044f\u0434\u0435 0, \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u043c.<\/li>\n<li>\u0415\u0441\u043b\u0438 \u0432 \u0440\u0430\u0437\u0440\u044f\u0434\u0435 1, \u0441\u0434\u0432\u0438\u0433\u0430\u0435\u043c <b>B<\/b> \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u0447\u0438\u0441\u043b\u043e \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432 \u0438 \u043f\u0440\u0438\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0443.<\/li>\n<\/ol>\n<p>  \u0418\u0442\u043e\u0433\u043e, \u0447\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u0432 \u0440\u0430\u0437\u0440\u044f\u0434\u0430\u0445 <b>\u0410<\/b> \u0435\u0434\u0438\u043d\u0438\u0446, \u0442\u0435\u043c \u043f\u0440\u043e\u0449\u0435 \u043d\u0430 \u043d\u0435\u0433\u043e \u0443\u043c\u043d\u043e\u0436\u0430\u0442\u044c. \u0423\u043c\u043d\u043e\u0436\u0438\u0442\u044c \u043d\u0430 2, 4 \u0438\u043b\u0438 8 \u0441\u043e\u0432\u0441\u0435\u043c \u043b\u0435\u0433\u043a\u043e. \u041d\u0443\u0436\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0434\u0432\u0438\u0433. \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u0442\u0440\u0443\u0434\u043d\u0435\u0435 \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c \u043d\u0430 3, 5 \u0438\u043b\u0438 10. \u041f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u043e\u0434\u043d\u043e \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u0415\u0449\u0451 \u0442\u0440\u0443\u0434\u043d\u0435\u0435 \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c \u043d\u0430 11. \u0427\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0435\u0434\u0438\u043d\u0438\u0446, \u0442\u0435\u043c \u0442\u0440\u0443\u0434\u043d\u0435\u0435.<\/p>\n<p>  \u041d\u0443 \u0430 \u043a\u0430\u043a \u043d\u0430\u0441\u0447\u0451\u0442 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 255? \u0426\u0435\u043b\u044b\u0445 8 \u0435\u0434\u0438\u043d\u0438\u0446, \u043a\u043e\u0448\u043c\u0430\u0440\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430, \u043f\u0440\u0430\u0432\u0434\u0430? \u0410 \u0432\u043e\u0442 \u0438 \u0444\u0438\u0433\u0443\u0448\u043a\u0438! \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0445\u0438\u0442\u0440\u044b\u0439 \u0444\u0438\u043d\u0442 \u0443\u0448\u0430\u043c\u0438. \u0423\u043c\u043d\u043e\u0436\u0438\u043c \u043d\u0430\u0448\u0435 <b>\u0412<\/b> \u043d\u0430 256 (\u0442.\u0435. \u0441\u0434\u0432\u0438\u043d\u0435\u043c \u043d\u0430 8 \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432) \u0438 \u0432\u044b\u0447\u0442\u0435\u043c \u0435\u0433\u043e \u0436\u0435 \u0438\u0437 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430. \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0433\u0440\u043e\u0437\u043d\u044b\u0439 \u0432\u0438\u0434, \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c \u043d\u0430 255 \u0441\u0442\u043e\u043b\u044c \u0436\u0435 \u043b\u0435\u0433\u043a\u043e, \u043a\u0430\u043a \u0438 \u043d\u0430 10. \u0421\u0442\u043e\u043b\u044c \u0436\u0435 \u043b\u0435\u0433\u043a\u043e \u0443\u043c\u043d\u043e\u0436\u0430\u0442\u044c \u0438 \u043d\u0430 254, \u0438 \u043d\u0430 240, \u0438 \u043d\u0430 224 (\u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 !). <\/p>\n<p>  \u0418\u0442\u043e\u0433\u043e, \u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u0435 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044e. \u0417\u0430\u043f\u043e\u043c\u043d\u0438\u043c \u044d\u0442\u0443 \u0446\u0435\u043d\u043d\u0443\u044e \u043c\u044b\u0441\u043b\u044c. \u0410 \u043f\u043e\u043a\u0430 \u043d\u0430\u0437\u043e\u0432\u0451\u043c <b>\u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044c\u044e<\/b> \u0447\u0438\u0441\u043b\u0430 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f (\u0438\u043b\u0438 \u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u044f), \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0434\u043b\u044f \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0433\u043e. \u0421\u0434\u0432\u0438\u0433\u0438 \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c. \u0418\u0431\u043e \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0437\u0430\u0434\u0430\u0447\u0438(\u0443 \u043d\u0430\u0441 \u0441\u0445\u0435\u043c\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u0430, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 !) \u043e\u043d\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u0441\u044f \u0434\u0430\u0440\u043e\u043c. \u0421\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u0443\u0435\u043c \u043f\u043e\u043a\u0430 \u043e\u0434\u043d\u043e \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e\u0435, \u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435:<\/p>\n<p>  <b>\u0422\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044c \u0447\u0438\u0441\u043b\u0430 \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0435\u0434\u0438\u043d\u0438\u0446 \u0432 \u0435\u0433\u043e \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438.<\/b><br \/>  \u0412 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0435\u0441\u043b\u0438 \u043c\u044b \u0431\u0435\u0437 \u0444\u043e\u043a\u0443\u0441\u043e\u0432 \u0441 \u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u0435\u043c \u0447\u0435\u0441\u0442\u043d\u043e \u0443\u043c\u043d\u043e\u0436\u0438\u043c, \u043a\u0430\u043a \u0432 \u0443\u0447\u0438\u043b\u0438 \u0432 \u0448\u043a\u043e\u043b\u0435, \u0447\u0438\u0441\u043b\u043e \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u043e \u0447\u0438\u0441\u043b\u0443 \u0435\u0434\u0438\u043d\u0438\u0446 \u0432 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 <b>A<\/b>. \u0410 \u0435\u0441\u043b\u0438 \u043d\u0430\u0447\u043d\u0451\u043c \u0445\u0438\u0442\u0440\u0438\u0442\u044c \u0438 \u043a \u0442\u043e\u043c\u0443 \u0436\u0435 \u043d\u0430\u043c \u043f\u043e\u0432\u0435\u0437\u0451\u0442, \u0442\u043e \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u043c \u0447\u0438\u0441\u043b\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439.<\/p>\n<p>  \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f:<br \/>  <b>\u0422\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044c \u043b\u044e\u0431\u043e\u0433\u043e n-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0442\u0440\u043e\u0433\u043e \u043c\u0435\u043d\u044c\u0448\u0435 n<\/b>.<br \/>  \u0412\u0435\u0434\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0435 \u0447\u0438\u0441\u043b\u043e \u0435\u0434\u0438\u043d\u0438\u0446 \u0432 <b>n<\/b>-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0440\u0430\u0432\u043d\u043e <b>n<\/b>, \u0443 \u0447\u0438\u0441\u043b\u0430 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e 255. \u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0444\u043e\u043a\u0443\u0441, \u043a\u0430\u043a \u0441 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u043d\u0430 255, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u0434\u043b\u044f \u0447\u0438\u0441\u0435\u043b \u043b\u044e\u0431\u043e\u0439 \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0441\u0442\u0438. \u042d\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u044b \u0438 \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0435\u0439 \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u041f\u0440\u0438\u0434\u0430\u0434\u0438\u043c \u043d\u0430\u0448\u0438\u043c \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f\u043c \u0431\u043e\u043b\u0435\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0432\u0438\u0434. \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0443\u0441\u0442\u044c \u0443 \u043d\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043a\u0430\u043a\u0430\u044f-\u0442\u043e \u0441\u0445\u0435\u043c\u0430 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 <b>\u0410<\/b>. \u0412\u043e\u0437\u044c\u043c\u0451\u043c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 <b>\u0412<\/b> \u0435\u0434\u0438\u043d\u0438\u0446\u0443. \u0422\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0441\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0435 \u0441\u0434\u0432\u0438\u043d\u0443\u0442\u0441\u044f, \u0441\u043b\u043e\u0436\u0430\u0442\u0441\u044f \u0438 \u0432\u044b\u0447\u0442\u0443\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 <b>\u0410<\/b>. \u0418\u0442\u043e\u0433\u043e, \u043d\u0430\u0448\u0430 \u0441\u0445\u0435\u043c\u0430 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 <b>A<\/b> \u0435\u0441\u0442\u044c \u043d\u0438 \u0447\u0442\u043e \u0438\u043d\u043e\u0435, \u043a\u0430\u043a \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u043b\u0430 <b>A<\/b> \u0432 \u0432\u0438\u0434\u0435 \u0441\u0443\u043c\u043c\u044b \u0441\u0442\u0435\u043f\u0435\u043d\u0435\u0439 \u0434\u0432\u043e\u0439\u043a\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438 \u0441\u043e \u0437\u043d\u0430\u043a\u043e\u043c <b>+<\/b> \u0438 \u0441\u043e \u0437\u043d\u0430\u043a\u043e\u043c <b>&#8212;<\/b>. \u0410 \u043c\u043e\u0436\u043d\u043e \u0441\u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043c\u0435\u0441\u0442\u0435 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0435, \u0438 \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0447\u0442\u043e \u0441\u0445\u0435\u043c\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u043d\u043e\u0441\u0442\u044c\u044e \u043d\u0435\u043a\u0438\u0445 \u0447\u0438\u0441\u0435\u043b <b>A+<\/b> \u0438 <b>A-<\/b>, \u0440\u0430\u0432\u043d\u043e\u0439 <b>A<\/b>. \u042d\u0442\u043e \u043f\u043b\u043e\u0445\u043e\u2026 \u0427\u043b\u0435\u043d\u044b \u0440\u0430\u0437\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e \u0432\u0435\u043b\u0438\u043a\u0438. \u041f\u043e\u0434\u0443\u043c\u0430\u0435\u043c, \u0435\u0441\u0442\u044c \u043b\u0438 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u0438\u0445 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c?<br \/>  \u0417\u0430\u043c\u0435\u0442\u0438\u043c \u043f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e, \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u0430\u044f \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u0434\u0432\u043e\u0439\u043a\u0438 \u043c\u043e\u0436\u0435\u0442 \u0432\u0445\u043e\u0434\u0438\u0442\u044c \u0432 \u0441\u0445\u0435\u043c\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437. \u0412 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u0432\u0445\u043e\u0434\u0438\u0442 \u0434\u0432\u0430\u0436\u0434\u044b \u0441 \u043e\u0434\u043d\u0438\u043c \u0437\u043d\u0430\u043a\u043e\u043c, \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0442\u0435\u043f\u0435\u043d\u044c\u044e \u0434\u0432\u043e\u0439\u043a\u0438 \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443 \u0431\u041e\u043b\u044c\u0448\u0435\u0439. \u0415\u0441\u043b\u0438 \u043e\u043d\u0430 \u0432\u0445\u043e\u0434\u0438\u0442 \u0434\u0432\u0430\u0436\u0434\u044b \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u043a\u0430\u043c\u0438, \u043e\u043d\u0438 \u0432\u0437\u0430\u0438\u043c\u043d\u043e \u0432\u044b\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f. \u0418\u0442\u043e\u0433\u043e, \u0441\u0445\u0435\u043c\u0430 \u043e\u0447\u0435\u043d\u044c \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0435 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 <b>A<\/b>. \u0421 \u0442\u043e\u0439 \u043b\u0438\u0448\u044c \u0440\u0430\u0437\u043d\u0438\u0446\u0435\u0439, \u0447\u0442\u043e \u0435\u0433\u043e \u00ab\u0431\u0438\u0442\u044b\u00bb(\u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u0445 <b>\u0442\u0440\u0438\u0442\u044b<\/b>), \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043d\u0435 \u0434\u0432\u0430, \u0430 \u0442\u0440\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f: 1, 0 \u0438 -1.<br \/>  \u0418\u0442\u043e\u0433\u043e. \u0415\u0441\u043b\u0438 <b>A<\/b> \u0435\u0441\u0442\u044c <b>n<\/b>-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0435 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e, \u0441\u0445\u0435\u043c\u0430 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0433\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0443\u043c\u043c\u043e\u0439:  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a1c\/b90\/95f\/a1cb9095fd98ab3853ec04940dd59d97.svg\" alt=\"$A={t_m}2^m + {t_{m-1}}2^{m-1} + ....+ {t_1}2 + {t_0}$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u0433\u0434\u0435 <b><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b70\/d95\/0b6\/b70d950b6ba89178666dac41190fe91f.svg\" alt=\"${t_i}$\" data-tex=\"inline\"><\/math><\/b> \u2014 \u0442\u0440\u0438\u0442\u044b, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f 1, 0 \u0438 -1, \u0430 <b>m<\/b> \u043d\u0435\u043a\u043e\u0435 \u043f\u043e\u043a\u0430 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e.<\/p>\n<p>  \u0412 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 <b>\u0442\u0440\u043e\u0438\u0447\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u043e\u0439<\/b> \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e <b>\u0441\u0445\u0435\u043c\u043e\u0439<\/b> \u0438\u043b\u0438 <b>\u0441\u0445\u0435\u043c\u043e\u0439 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f<\/b> \u0434\u043b\u044f \u0447\u0438\u0441\u043b\u0430 <b>A<\/b>.<\/p>\n<p>  \u041f\u043e\u043f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u043d\u0430\u0439\u0442\u0438 <b>m<\/b>. \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0441 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u043d\u0430 255, <b>m<\/b> \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u043c\u0435\u043d\u044c\u0448\u0435 <b>n<\/b>. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043c\u043e\u0436\u0435\u0442 \u043b\u0438 \u043e\u043d\u043e \u0431\u044b\u0442\u044c \u0440\u0430\u0432\u043d\u043e <b>n+1<\/b>. <br \/>  \u041f\u0443\u0441\u043a\u0430\u0439 <b>A<\/b> \u043a\u0430\u043a \u0438 \u043f\u0440\u0435\u0436\u0434\u0435, \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 <b>n<\/b>-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e. \u0422\u043e\u0433\u0434\u0430 \u0441\u0445\u0435\u043c\u0430 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044f \u043a\u0430\u043a:  <\/p>\n<p><math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/773\/bb5\/e6b\/773bb5e6bb86d2c17931461566b25dd0.svg\" alt=\"$A={t_{n+1}}2^{n+1} + {t_{n}}2^{n} + {t_{n-1}}2^{n-1} ....+ {t_1}2 + {t_0}$\" data-tex=\"display\"><\/math><\/p>\n<p>  \u0412\u0441\u043f\u043e\u043c\u043d\u0438\u043c, \u0447\u0442\u043e <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/432\/bbf\/4b6\/432bbf4b65bc007296e1220f13299cc7.svg\" alt=\"$2^k + 2^{k-1} +....+ 2 + 1 = 2^{k+1}-1$\" data-tex=\"inline\"><\/math><br \/>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u0442\u0440\u0438\u0442 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0432\u0435\u043d -1. \u0412\u0435\u0434\u044c \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 1, \u0441\u0443\u043c\u043c\u0430 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u0430 -1. \u0410 \u043f\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044e <b>A<\/b> \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e. \u041f\u0443\u0441\u0442\u044c \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u0442\u0440\u0438\u0442 \u0440\u0430\u0432\u0435\u043d 1. \u041d\u043e \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0442\u0440\u0438\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0440\u0430\u0432\u0435\u043d -1. \u0418\u043d\u0430\u0447\u0435 \u0441\u0443\u043c\u043c\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439. \u0412 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0435\u0441\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0442\u0440\u0438\u0442 \u0440\u0430\u0432\u0435\u043d 0, \u0441\u0443\u043c\u043c\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u043d\u0435 \u043c\u0435\u043d\u044c\u0448\u0435 \u0447\u0435\u043c <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/9a9\/5d4\/cc2\/9a95d4cc2f434af386ec74d2895e2122.svg\" alt=\"$2^{n+1} - (2^{n-1}+...+1)=2^{n+1} - (2^n - 1)=2^n+1$\" data-tex=\"inline\"><\/math><br \/>  \u0412 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a <b>n<\/b>-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0435 <b>A<\/b> \u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/402\/06b\/095\/40206b095e052de9880d51bb7eb4904b.svg\" alt=\"$2^n - 1$\" data-tex=\"inline\"><\/math>. \u041d\u043e \u0435\u0441\u043b\u0438 \u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u0442\u0440\u0438\u0442 \u0440\u0430\u0432\u0435\u043d 1, \u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 -1, \u0442\u043e \u0441\u0443\u043c\u043c\u0430 \u0434\u0432\u0443\u0445 \u0441\u0442\u0430\u0440\u0448\u0438\u0445 \u0447\u043b\u0435\u043d\u043e\u0432 \u0440\u0430\u0432\u043d\u0430 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/5eb\/584\/f07\/5eb584f07c9029f3517919047a37ba3d.svg\" alt=\"$2^{n+1}-2^n=2^n$\" data-tex=\"inline\"><\/math>. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442 \u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u0442\u0440\u0438\u0442 \u0440\u0430\u0432\u0435\u043d 0. <\/p>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0434\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u0432\u0430\u0436\u043d\u043e\u0435 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435: <b>m=n<\/b>.<br \/>  \u0418\u043d\u044b\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043b\u044e\u0431\u043e\u0439 \u0441\u0445\u0435\u043c\u044b \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 <b>n<\/b>-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0435 <b>A<\/b> \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e <b>n+1<\/b> \u0441\u0442\u0435\u043f\u0435\u043d\u0435\u0439 \u0434\u0432\u043e\u0439\u043a\u0438 \u2014 \u043e\u0442 0 \u0434\u043e <b>n<\/b>(\u043d\u0430 \u043e\u0434\u043d\u0443 \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0434\u043b\u044f \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f), \u0447\u0442\u043e \u0441\u0440\u0430\u0437\u0443 \u0438\u0437\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430\u0441 \u043e\u0442 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c <b>\u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438<\/b>(\u0441\u043c \u0432\u044b\u0448\u0435) \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b. \u0421\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u044d\u0442\u043e \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u0442\u0430\u043a, \u043a\u0430\u043a \u043c\u044b \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u0432\u044b\u043f\u0438\u0441\u044b\u0432\u0430\u044f \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443 \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430. \u0422\u043e\u043b\u044c\u043a\u043e \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445 \u0443 \u043d\u0430\u0441 \u0442\u0443\u0442 \u043d\u0435 \u0431\u0438\u0442\u044b \u0430 \u0442\u0440\u0438\u0442\u044b (\u0442\u0440\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f), \u0432\u043e-\u0432\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 \u0442\u0440\u0438\u0442\u043e\u0432 \u0434\u0430\u044e\u0442 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u0438 \u0438\u0445 \u043d\u0430\u0434\u043e \u043e\u0442\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c, \u0432 \u0442\u0440\u0435\u0442\u044c\u0438\u0445 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u0434\u0430\u0432\u0430\u0442\u044c \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0435 \u0447\u0438\u0441\u043b\u0430. \u042d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0445\u0435\u043c. <\/p>\n<p>  \u041f\u0438\u0441\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u043d\u0430 \u043f\u0438\u0442\u043e\u043d\u0435. \u041d\u0435 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044f \u0442\u0430\u043a\u043e\u0439 \u0435\u0433\u043e \u0444\u0430\u043d\u0430\u0442, \u0430 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0441 \u043d\u0438\u043c \u043a\u0440\u0430\u0439\u043d\u0435 \u0443\u0434\u043e\u0431\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0431\u043b\u043e\u043a\u043d\u043e\u0442\u0430\u0445 jupyter. \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043a\u043b\u0430\u0441\u0441 TriScheme, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0441 \u0432\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u043c\u0438 \u0432\u044b\u0448\u0435 \u0442\u0440\u043e\u0438\u0447\u043d\u044b\u043c\u0438 \u0441\u0445\u0435\u043c\u0430\u043c\u0438, \u0444\u0443\u043d\u043a\u0446\u0438\u044e allSchemes, \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u044e\u0449\u0443\u044e \u0441 \u0435\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u0441\u0435 \u0441\u0445\u0435\u043c\u044b \u0434\u043b\u044f \u0447\u0438\u0441\u0435\u043b \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u043e\u043c, \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044e printSchemes, \u0440\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">TriScheme<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"python\">class TriScheme():          def __init__(self, buf:list): # \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0438\u0437 \u043c\u0430\u0441\u0441\u0438\u0432\u0430         self.buf=[]         for i in range(0, len(buf)):             s=0             if (type(buf[i]) == int) or (type(buf[i]) == float):                 if buf[i]   &gt; 0: s=1                 elif buf[i] &lt; 0: s=-1             self.buf.append(s)                  def zero(self): # \u043e\u0431\u043d\u0443\u043b\u044f\u0435\u0442         self.buf=[0]*len(self.buf)              def __repr__(self): # \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u0441\u0442\u0440\u043e\u043a\u0438         s=&quot;&quot;         for i in range(1, len(self.buf)+1):                         if   self.buf[-i]==1:  s=s+&quot;+&quot;             elif self.buf[-i]==0:  s=s+&quot;0&quot;             elif self.buf[-i]==-1: s=s+&quot;-&quot;         return s                  def inc(self):  # \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442 (\u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439)         for i in range(0, len(self.buf)):             if (self.buf[i]+1) &lt; 2:                 self.buf[i]+=1                 break             for j in range(0, i+1):                 self.buf[i]=-1                      def __int__(self):  # \u0432\u044b\u0434\u0430\u0451\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435         m=1         s=0         for i in range(0, len(self.buf)):             s+=self.buf[i]*m             m=m*2         return s          def isMax(self): # \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0447\u0442\u043e \u0441\u0445\u0435\u043c\u0430 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430         s=0         for i in range(0, len(self.buf)):             s+=self.buf[i]         return (s == len(self.buf))          def isMaxDig(self): # \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442, \u0447\u0442\u043e \u0441\u0445\u0435\u043c\u0430 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0430\u044f n-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u043c\u0443 \u0447\u0438\u0441\u043b\u0443         s=[0]*len(self.buf)         s[0]=-1         s[-1]=1         return (self.buf == s)              def ones(self): # \u0432\u044b\u0434\u0430\u0435\u0442 \u0447\u0438\u0441\u043b\u043e \u043d\u0435\u043d\u0443\u043b\u0435\u0432\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 (\u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044c \u0441\u0445\u0435\u043c\u044b)         s=0         for i in range(0, len(self.buf)):             if self.buf[i] != 0:                 s+=1         return s          def minPos(self):  # \u0432\u044b\u0434\u0430\u0451\u0442 \u043d\u043e\u043c\u0435\u0440 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043d\u0435\u043d\u0443\u043b\u0435\u0432\u043e\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438         for i in range(0, len(self.buf)):             if self.buf[i] != 0:                 return i                           def allSchemes(dig): # \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0432\u0441\u0435 \u0441\u0445\u0435\u043c\u044b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0447\u0438\u0441\u0435\u043b \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0441\u0442\u0438 dig     sch=[]     for i in range(0, 2**dig): sch.append([])     ts=TriScheme([0]*(dig+1))         while True:         sch[int(ts)].append(TriScheme(ts.buf))         if ts.isMaxDig():             break         ts.inc()     return sch  def printSchemes(sch):  # \u043f\u0435\u0447\u0430\u0442\u0430\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0445\u0435\u043c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0447\u0438\u0441\u043b\u043e \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e_\u0441\u0445\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a_\u0441\u0445\u0435\u043c     for i in range(0, len(sch)):         s=sch[i]         a=[]         for j in range(0, len(s)):              a.append(s[j].ones())         m=min(a)         print(i, m, len(s), s)  # \u0412\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0441\u0445\u0435\u043c\u044b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 4-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b         sch4=allSchemes(4) printSchemes(sch4) <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412\u044b\u0447\u0438\u0441\u043b\u0438\u043c \u0441\u0445\u0435\u043c\u044b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 4-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b:<br \/>  0 0 1 [00000]<br \/>  1 1 5 [0000+, 000+-, 00+&#8212;, 0+&#8212;, +&#8212;-]<br \/>  2 1 4 [000+0, 00+-0, 0+&#8212;0, +&#8212;0]<br \/>  3 2 7 [000++, 00+-+, 00+0-, 0+&#8212;+, 0+-0-, +&#8212;+, +&#8212;0-]<br \/>  4 1 3 [00+00, 0+-00, +&#8212;00]<br \/>  5 2 8 [00+0+, 00++-, 0+-0+, 0+-+-, 0+0&#8212;, +&#8212;0+, +&#8212;+-, +-0&#8212;]<br \/>  6 2 5 [00++0, 0+-+0, 0+0-0, +&#8212;+0, +-0-0]<br \/>  7 2 7 [00+++, 0+-++, 0+0-+, 0+00-, +&#8212;++, +-0-+, +-00-]<br \/>  8 1 2 [0+000, +-000]<br \/>  9 2 7 [0+00+, 0+0+-, 0++&#8212;, +-00+, +-0+-, +-+&#8212;, +0&#8212;]<br \/>  10 2 5 [0+0+0, 0++-0, +-0+0, +-+-0, +0&#8212;0]<br \/>  11 3 8 [0+0++, 0++-+, 0++0-, +-0++, +-+-+, +-+0-, +0&#8212;+, +0-0-]<br \/>  12 2 3 [0++00, +-+00, +0-00]<br \/>  13 3 7 [0++0+, 0+++-, +-+0+, +-++-, +0-0+, +0-+-, +00&#8212;]<br \/>  14 2 4 [0+++0, +-++0, +0-+0, +00-0]<br \/>  15 2 5 [0++++, +-+++, +0-++, +00-+, +000-]<\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0447\u0438\u0441\u043b\u043e, \u0437\u0430 \u043d\u0438\u043c \u0435\u0433\u043e \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044c (\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0435\u043d\u0443\u043b\u0435\u0432\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u0441\u0445\u0435\u043c\u0435), \u0437\u0430\u0442\u0435\u043c \u0447\u0438\u0441\u043b\u043e \u0441\u0445\u0435\u043c, \u0438 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0445\u0435\u043c. <br \/>  \u0412 \u0441\u0445\u0435\u043c\u0435 <b>+<\/b> \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 1, <b>0<\/b> \u2014 0, \u0438 <b>&#8212;<\/b> \u2014 -1. \u0421\u0442\u0430\u0440\u0448\u0438\u0439 \u0442\u0440\u0438\u0442 \u0441\u043b\u0435\u0432\u0430 (\u043a\u0430\u043a \u043f\u0440\u0438 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0447\u0438\u0441\u0435\u043b). <\/p>\n<p>  \u0418\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432\u0438\u0434\u043d\u043e \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0447\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0438\u0441\u043b\u0430 13 \u0438 11 \u0438\u043c\u0435\u044e\u0442 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044c 3 (\u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u0434\u043b\u044f 4-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b, \u043a\u0430\u043a \u0434\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u0432\u044b\u0448\u0435). \u0418 \u0432\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u0447\u0442\u043e \u0447\u0438\u0441\u043b\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0445\u0435\u043c \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0432\u0435\u043b\u0438\u043a\u043e. \u042d\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u0438\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0447\u0435\u043c \u043d\u0430\u0441 \u0443\u0447\u0438\u043b\u0438 \u0432 \u0448\u043a\u043e\u043b\u0435. \u0418 \u0432\u043e-\u0432\u0442\u043e\u0440\u044b\u0445 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043e\u0431\u0449\u0438\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u0430, \u0432\u044b\u0431\u043e\u0440 \u0441\u0445\u0435\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u0435\u043b\u0438\u043a. \u0415\u0449\u0451 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0431\u043e\u043b\u0435\u0435 \u0434\u043b\u0438\u043d\u043d\u044b\u043c \u0447\u0438\u0441\u043b\u0430\u043c. \u0422\u0430\u043a \u0434\u043b\u044f 14-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0432\u043d\u043e\u0439 8. \u0410 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0441\u0445\u0435\u043c \u2014 937. <\/p>\n<p>  \u0412\u0441\u0451 \u0431\u044b \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0437\u0430\u0442\u0440\u0430\u0442\u0435\u043d. \u0415\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0441\u0442\u0451\u0442 \u043a\u0430\u043a <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4ab\/134\/5c4\/4ab1345c48553b025fbe369429ed8628.svg\" alt=\"$3^n$\" data-tex=\"inline\"><\/math> \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0447\u0438\u0441\u0435\u043b <b>n<\/b>. \u0414\u043b\u044f 8 \u0440\u0430\u0437\u0440\u044f\u0434\u043e\u0432 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e. \u0414\u043b\u044f 14 \u2014 \u043c\u0438\u043d\u0443\u0442\u044b. \u0414\u043b\u044f 16 \u2014 \u0447\u0430\u0441\u044b. \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u044b \u0414\u041b\u042f \u0412\u0421\u0415\u0425 <b>n<\/b>-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b, \u0443\u0432\u044b, \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f, \u043a\u0440\u043e\u043c\u0435 \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0430 \u0421 \u0438 \u0432\u0437\u044f\u0442\u044c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043f\u043e\u043c\u043e\u0449\u043d\u0435\u0435. \u0412\u043f\u0440\u043e\u0447\u0435\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0440\u0430\u0441\u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u043d\u0430 GPU \u0438\u043b\u0438 \u043d\u0430 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435. <\/p>\n<p>  \u0414\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0436\u0435\u043b\u0435\u0437\u043e\u043a \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0441\u043f\u0438\u0441\u043a\u0438 \u0441\u0445\u0435\u043c \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b. \u041f\u0440\u0438\u0447\u0451\u043c \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0412\u0421\u0415, \u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435. \u0418\u0431\u043e \u043a\u0430\u043a\u0443\u044e \u0432\u044b\u0431\u0440\u0430\u0442\u044c, \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0432\u0438\u0441\u0435\u0442\u044c \u043e\u0442 \u043e\u0431\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u0441\u0442\u0432(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442). \u0418 \u0432\u043e\u0442 \u0442\u0443\u0442 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u043e\u043b\u0435\u0435 \u0433\u0443\u043c\u0430\u043d\u043d\u044b\u0439. \u0415\u0449\u0451 \u0440\u0430\u0437 \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e: <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/432\/bbf\/4b6\/432bbf4b65bc007296e1220f13299cc7.svg\" alt=\"$2^k + 2^{k-1} +....+ 2 + 1 = 2^{k+1}-1$\" data-tex=\"inline\"><\/math>. <br \/>  \u0412 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u044d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435. \u041f\u0443\u0441\u0442\u044c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0430\u0440\u0448\u0438\u0445 \u0442\u0440\u0438\u0442\u043e\u0432 \u0441\u0445\u0435\u043c\u044b. \u0412\u0441\u0435 \u043c\u043b\u0430\u0434\u0448\u0438\u0435 \u0442\u0440\u0438\u0442\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 <b>k<\/b> \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u0438 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u0440\u0430\u0432\u043d\u044b\u043c\u0438 \u043d\u0443\u043b\u044e. \u0422\u043e\u0433\u0434\u0430 \u0438\u0437\u043c\u0435\u043d\u044f\u044f \u043a\u0430\u043a\u0438\u043c \u0443\u0433\u043e\u0434\u043d\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u0442\u0440\u0438\u0442\u044b, \u043c\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0445\u0435\u043c\u044b \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c \u043d\u0430 \u043f\u043b\u044e\u0441\/\u043c\u0438\u043d\u0443\u0441 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6ce\/e24\/5c6\/6cee245c67203d121d50ef9e566e21e1.svg\" alt=\"$2^{k+1}-1$\" data-tex=\"inline\"><\/math>. \u041f\u0440\u0438\u0447\u0435\u043c \u0441 \u043f\u0440\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435\u043c \u043a \u043c\u043b\u0430\u0434\u0448\u0438\u043c \u0442\u0440\u0438\u0442\u0430\u043c \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0441\u0442\u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f. \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043a\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u044b \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d\u0438\u0439, \u0442\u0440\u0438\u0442 \u0437\u0430 \u0442\u0440\u0438\u0442\u043e\u043c.<\/p>\n<p>  \u041f\u0443\u0441\u0442\u044c \u0434\u0430\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e <b>A<\/b>. \u041d\u0430\u0434\u043e \u043d\u0430\u0439\u0442\u0438 \u0432\u0441\u0435 \u0441\u0445\u0435\u043c\u044b \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0441\u0440\u0435\u0434\u0438 <b>n<\/b>-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b. \u0410\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u0443\u044e \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0443 \u0440\u0430\u0437\u043d\u043e\u0441\u0442\u0438 \u043c\u0435\u0436\u0434\u0443 <b>A<\/b> \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u0445\u0435\u043c\u044b, \u043d\u0430\u0437\u043e\u0432\u0451\u043c <b>\u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u044c\u044e<\/b> \u0441\u0445\u0435\u043c\u044b. \u0412\u043e\u0437\u044c\u043c\u0435\u043c \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 <b>n+1<\/b>-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443, \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0443\u044e <b>n<\/b>-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430, \u0432\u0441\u0435 \u0442\u0440\u0438\u0442\u044b \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b, \u0438 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u044b \u0440\u0430\u0432\u043d\u044b\u043c\u0438 \u043d\u0443\u043b\u044e. \u0418 \u043d\u0430\u0447\u043d\u0451\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0442\u0440\u0438\u0442\u044b, \u043e\u0434\u0438\u043d \u0437\u0430 \u0434\u0440\u0443\u0433\u0438\u043c, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441\u043e \u0441\u0442\u0430\u0440\u0448\u0435\u0433\u043e. \u0412 <b>k<\/b>-\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0441\u0445\u0435\u043c\u0430 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u0442\u0440\u0438 \u043d\u043e\u0432\u044b\u0445 \u0441\u0445\u0435\u043c\u044b \u2014 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 <b>k<\/b>-\u0433\u043e \u0442\u0440\u0438\u0442\u0430 1, 0 \u0438 -1. \u041e\u0441\u0442\u0430\u0432\u0438\u043c \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0441\u0445\u0435\u043c \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435 \u0438\u0437 \u043d\u0438\u0445, \u043f\u043e\u0433\u0440\u0435\u0448\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0435\u0442 <math><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/684\/d89\/395\/684d8939574b94621cfe8d71397c4af3.svg\" alt=\"$2^k-1$\" data-tex=\"inline\"><\/math>. \u0421 \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0438\u043c\u0441\u044f \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0441\u0445\u0435\u043c \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u0448\u0430\u0433\u0443 \u0432 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 <b>k-1<\/b>. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u043c \u0441\u043f\u0438\u0441\u043a\u0435 (\u0432 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 0) \u0431\u0443\u0434\u0443\u0442 \u0412\u0421\u0415 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u0441\u0445\u0435\u043c\u044b, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0440\u0430\u0432\u043d\u043e <b>A<\/b>. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0442\u0430\u043a\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e calcSchemes.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">calcSchemes<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"python\">def calcSchemes(a, n=-1):     m=1     nn=1     while m &lt; a:         nn+=1         m=m*2     if n &lt; nn:         n=nn     sch=[TriScheme([0]*n)]     for i in range(0, n):         tmp=[]         pos=n-i-1         for j in range(0, len(sch)):             for k in range(-1, 2):                 ts=sch[j]                 ts.buf[pos]=k                 d=abs(a - int(ts))                 if d &lt;= (2**pos - 1):                     tmp.append(TriScheme(ts.buf))         sch=tmp        return sch  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041d\u0443 \u0438 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043e\u0431\u0435\u0449\u0430\u043d\u043d\u0430\u044f \u0441\u0431\u044b\u0447\u0430 \u043c\u0435\u0447\u0442.<br \/>  \u0412 \u0442\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0431\u044b\u043b\u043e \u0434\u0432\u0430 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u0430, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0443\u043c\u043d\u043e\u0436\u0430\u0442\u044c: 16351 \u0438 16318. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f calcSchemes \u043d\u0430\u0439\u0434\u0451\u043c \u0441\u0445\u0435\u043c\u044b \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u043e\u0432:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0445\u0435\u043c\u044b<\/b><\/p>\n<div class=\"spoiler_text\">\u0414\u043b\u044f 16351<br \/>  0++++++++0+++++<br \/>   0+++++++++-++++<br \/>   0+++++++++0-+++<br \/>   0+++++++++00-++<br \/>   0+++++++++000-+<br \/>   0+++++++++0000-<br \/>   +-+++++++0+++++<br \/>   +-++++++++-++++<br \/>   +-++++++++0-+++<br \/>   +-++++++++00-++<br \/>   +-++++++++000-+<br \/>   +-++++++++0000-<br \/>   +0-++++++0+++++<br \/>   +0-+++++++-++++<br \/>   +0-+++++++0-+++<br \/>   +0-+++++++00-++<br \/>   +0-+++++++000-+<br \/>   +0-+++++++0000-<br \/>   +00-+++++0+++++<br \/>   +00-++++++-++++<br \/>   +00-++++++0-+++<br \/>   +00-++++++00-++<br \/>   +00-++++++000-+<br \/>   +00-++++++0000-<br \/>   +000-++++0+++++<br \/>   +000-+++++-++++<br \/>   +000-+++++0-+++<br \/>   +000-+++++00-++<br \/>   +000-+++++000-+<br \/>   +000-+++++0000-<br \/>   +0000-+++0+++++<br \/>   +0000-++++-++++<br \/>   +0000-++++0-+++<br \/>   +0000-++++00-++<br \/>   +0000-++++000-+<br \/>   +0000-++++0000-<br \/>   +00000-++0+++++<br \/>   +00000-+++-++++<br \/>   +00000-+++0-+++<br \/>   +00000-+++00-++<br \/>   +00000-+++000-+<br \/>   +00000-+++0000-<br \/>   +000000-+0+++++<br \/>   +000000-++-++++<br \/>   +000000-++0-+++<br \/>   +000000-++00-++<br \/>   +000000-++000-+<br \/>   +000000-++0000-<br \/>   +0000000-0+++++<br \/>   +0000000-+-++++<br \/>   +0000000-+0-+++<br \/>   +0000000-+00-++<br \/>   +0000000-+000-+<br \/>   +0000000-+0000-<br \/>   +00000000&#8212;++++<br \/>   +00000000-0-+++<br \/>   +00000000-00-++<br \/>   +00000000-000-+<br \/>   +00000000-0000-<\/p>\n<p>  \u0414\u043b\u044f 16318<br \/>  0+++++++0+++++0<br \/>   0++++++++-++++0<br \/>   0++++++++0-+++0<br \/>   0++++++++00-++0<br \/>   0++++++++000-+0<br \/>   0++++++++0000-0<br \/>   +-++++++0+++++0<br \/>   +-+++++++-++++0<br \/>   +-+++++++0-+++0<br \/>   +-+++++++00-++0<br \/>   +-+++++++000-+0<br \/>   +-+++++++0000-0<br \/>   +0-+++++0+++++0<br \/>   +0-++++++-++++0<br \/>   +0-++++++0-+++0<br \/>   +0-++++++00-++0<br \/>   +0-++++++000-+0<br \/>   +0-++++++0000-0<br \/>   +00-++++0+++++0<br \/>   +00-+++++-++++0<br \/>   +00-+++++0-+++0<br \/>   +00-+++++00-++0<br \/>   +00-+++++000-+0<br \/>   +00-+++++0000-0<br \/>   +000-+++0+++++0<br \/>   +000-++++-++++0<br \/>   +000-++++0-+++0<br \/>   +000-++++00-++0<br \/>   +000-++++000-+0<br \/>   +000-++++0000-0<br \/>   +0000-++0+++++0<br \/>   +0000-+++-++++0<br \/>   +0000-+++0-+++0<br \/>   +0000-+++00-++0<br \/>   +0000-+++000-+0<br \/>   +0000-+++0000-0<br \/>   +00000-+0+++++0<br \/>   +00000-++-++++0<br \/>   +00000-++0-+++0<br \/>   +00000-++00-++0<br \/>   +00000-++000-+0<br \/>   +00000-++0000-0<br \/>   +000000-0+++++0<br \/>   +000000-+-++++0<br \/>   +000000-+0-+++0<br \/>   +000000-+00-++0<br \/>   +000000-+000-+0<br \/>   +000000-+0000-0<br \/>   +0000000&#8212;++++0<br \/>   +0000000-0-+++0<br \/>   +0000000-00-++0<br \/>   +0000000-000-+0<br \/>   +0000000-0000-0  <\/div>\n<\/div>\n<p>  \u041d\u0430\u043c \u043f\u043e\u0432\u0435\u0437\u043b\u043e! \u041e\u0431\u0430 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u0430 \u0438\u043c\u0435\u044e\u0442 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044c 3. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0434\u043b\u044f \u043e\u0431\u043e\u0438\u0445 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0445\u0435\u043c\u044b:<br \/>  \u0414\u043b\u044f 16318 <b>+0000000-0000-0<\/b> \u0438 \u0434\u043b\u044f 16351 \u2014 <b>+00000000-0000-<\/b>. \u041d\u0430\u043c \u0435\u0449\u0451 \u0440\u0430\u0437 \u043f\u043e\u0432\u0435\u0437\u043b\u043e! \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0445\u0432\u043e\u0441\u0442\u044b \u0441\u0445\u0435\u043c. \u041e\u043d\u0438 \u0434\u043b\u044f 16318 \u0438 16351 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0434\u0432\u0438\u0433\u043e\u043c \u0432\u043b\u0435\u0432\u043e \u043d\u0430 \u043e\u0434\u043d\u0443 \u043f\u043e\u0437\u0438\u0446\u0438\u044e. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 16318 \u0438 16351, \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0434\u043e\u0431\u0430\u0432\u043e\u0447\u043d\u044b\u0439 \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u043b\u0435\u043a\u0441\u043e\u0440, \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0439 \u0441\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0439 \u0438 \u043d\u0435 \u0441\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u043d\u0434 \u043d\u0430 \u0432\u0445\u043e\u0434\u0435 \u0441\u0443\u043c\u043c\u0430\u0442\u043e\u0440\u0430. <br \/>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \u041d\u0430\u043f\u0438\u0448\u0435\u043c \u043d\u0430 \u0432\u0435\u0440\u0438\u043b\u043e\u0433\u0435 \u0442\u0440\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 16318 \u0438 16351:   <\/p>\n<ol>\n<li>\u00ab\u0428\u043a\u043e\u043b\u044c\u043d\u044b\u0439\u00bb \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (\u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0441\u0434\u0432\u0438\u0433\u0438) <\/li>\n<li>\u041e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 <\/li>\n<li>\u041e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0430\u044f \u043e\u0431\u0449\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b<\/li>\n<\/ol>\n<p>  \u0414\u043b\u044f \u0432\u0441\u0435\u0445 \u0442\u0440\u0451\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u0441\u0438\u043d\u0442\u0435\u0437, \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u043d\u0438\u0445 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0442\u0440\u0430\u0447\u0435\u043d\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u0430.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Verilog<\/b><\/p>\n<div class=\"spoiler_text\"><code>\/*-----------------------\u0428\u043a\u043e\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442----------------------*\/<br \/>  module mul_163xx(<br \/>   input[15:0] di,<br \/>   input s,<br \/>   output[31:0] dq<br \/>   );<br \/>  reg[31:0] dd;<br \/>  always @*<br \/>   if(s) dd= (di&lt;&lt;13)+(di&lt;&lt;12)+(di&lt;&lt;11)+(di&lt;&lt;10)+(di&lt;&lt;9)+(di&lt;&lt;8)+(di&lt;&lt;7)+(di&lt;&lt;4)+(di&lt;&lt;3)+(di&lt;&lt;2)+(di&lt;&lt;1) + (di&lt;&lt;6)+di;<br \/>   else dd=(di&lt;&lt;13)+(di&lt;&lt;12)+(di&lt;&lt;11)+(di&lt;&lt;10)+(di&lt;&lt;9)+(di&lt;&lt;8)+(di&lt;&lt;7)+(di&lt;&lt;4)+(di&lt;&lt;3)+(di&lt;&lt;2)+(di&lt;&lt;1) + (di&lt;&lt;5); <br \/>  assign dq=dd;<br \/>  endmodule<\/p>\n<p>  \/*---------------------------\u041e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 -------------------------*\/<br \/>  module mul_163xx(<br \/>   input[15:0] di,<br \/>   input s,<br \/>   output[31:0] dq<br \/>   );<br \/>  reg[31:0] dd;<br \/>  always @*<br \/>   if(s) dd= (di&lt;&lt;14) - (di&lt;&lt;5) - di;<br \/>   else dd=(di&lt;&lt;14) - (di&lt;&lt;6) - (di&lt;&lt;1);<br \/>  assign dq=dd; <br \/>  endmodule<\/p>\n<p>  \/*--------------\u041e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0441 \u043e\u0431\u0449\u0438\u043c\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438--------------*\/<br \/>  module mul_163xx(<br \/>   input[15:0] di,<br \/>   input s,<br \/>   output[31:0] dq<br \/>   );<br \/>  wire[31:0] tail = (di&lt;&lt;5) + di;<br \/>  reg[31:0] dd;<br \/>  always @*<br \/>   if(s) dd= (di&lt;&lt;14) - tail;<br \/>   else dd=(di&lt;&lt;14) - (tail&lt;&lt;1);<br \/>  assign dq=dd; <br \/>  endmodule<\/p>\n<p>  \/*-------------------------------\u0422\u0435\u0441\u0442\u0431\u0435\u043d\u0447------------------------------*\/<br \/>  module mult_tb();<\/p>\n<p>  reg clk = 0;<br \/>  always #100 clk = ~clk;<\/p>\n<p>  reg[15:0] di;<br \/>  wire[31:0] dq;<br \/>  reg s; <\/p>\n<p>  mul_163xx mul (<br \/>   .di (di),<br \/>   .dq (dq),<br \/>   .s (s)<br \/>   );<\/p>\n<p>  initial <br \/>   begin<br \/>   clk=0;<\/p>\n<p>  s=0;<br \/>   $display(&quot;s=0&quot;);<\/p>\n<p>   di=1;<br \/>   @(posedge clk);<br \/>   $display(&quot;%d&quot;, dq);<\/p>\n<p>  di=10;<br \/>   @(posedge clk);<br \/>   $display(&quot;%d&quot;, dq);<\/p>\n<p>  di=100;<br \/>   @(posedge clk);<br \/>   $display(&quot;%d&quot;, dq);<\/p>\n<p>  di=1000;<br \/>   @(posedge clk);<br \/>   $display(&quot;%d&quot;, dq);<\/p>\n<p>  s=1;<br \/>   $display(&quot;s=1&quot;);<\/p>\n<p>  di=1;<br \/>   @(posedge clk);<br \/>   $display(&quot;%d&quot;, dq);<\/p>\n<p>  di=10;<br \/>   @(posedge clk);<br \/>   $display(&quot;%d&quot;, dq);<\/p>\n<p>  di=100;<br \/>   @(posedge clk);<br \/>   $display(&quot;%d&quot;, dq);<\/p>\n<p>  di=1000;<br \/>   @(posedge clk);<br \/>   $display(&quot;%d&quot;, dq);<\/p>\n<p>  $finish;<br \/>   end<\/p>\n<p>  endmodule<\/p>\n<p>  \/*------------------------------PCF-\u0444\u0430\u0439\u043b------------------------------*\/<br \/>  set_io dq[0] A1<br \/>  set_io dq[1] A2<br \/>  set_io dq[2] P16<br \/>  set_io dq[3] M13<br \/>  set_io dq[4] A5<br \/>  set_io dq[5] A6<br \/>  set_io dq[6] A7<br \/>  set_io dq[7] L13<br \/>  set_io dq[8] A9<br \/>  set_io dq[9] A10<br \/>  set_io dq[10] A11<br \/>  set_io dq[11] M14<br \/>  set_io dq[12] P15<br \/>  set_io dq[13] N16<br \/>  set_io dq[14] A15<br \/>  set_io dq[15] A16<br \/>  set_io dq[16] B1<br \/>  set_io dq[17] B2<br \/>  set_io dq[18] B3<br \/>  set_io dq[19] B4<br \/>  set_io dq[20] B5<br \/>  set_io dq[21] B6<br \/>  set_io dq[22] B7<br \/>  set_io dq[23] B8<br \/>  set_io dq[24] B9<br \/>  set_io dq[25] B10<br \/>  set_io dq[26] B11<br \/>  set_io dq[27] B12<br \/>  set_io dq[28] B13<br \/>  set_io dq[29] B14<br \/>  set_io dq[30] B15<br \/>  set_io dq[31] B16<br \/>  set_io di[0] C1<br \/>  set_io di[1] C2<br \/>  set_io di[2] C3<br \/>  set_io di[3] C4<br \/>  set_io di[4] C5<br \/>  set_io di[5] C6<br \/>  set_io di[6] C7<br \/>  set_io di[7] C8<br \/>  set_io di[8] C9<br \/>  set_io di[9] C10<br \/>  set_io di[10] C11<br \/>  set_io di[11] C12<br \/>  set_io di[12] C13<br \/>  set_io di[13] C14<br \/>  set_io di[14] D4<br \/>  set_io di[15] C16<br \/>  set_io s D1<br \/>  <\/code>  <\/div>\n<\/div>\n<p>  \u0412\u0441\u0435 \u0442\u0440\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0443\u043c\u043d\u043e\u0436\u0430\u044f \u043f\u0440\u0438 0 \u043d\u0430 \u0432\u0445\u043e\u0434\u0435 s \u043d\u0430 16318, \u0430 \u043f\u0440\u0438 1 \u2014 \u043d\u0430 16351. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c yosys \u0434\u0430\u0451\u0442 \u0434\u043b\u044f \u0448\u043a\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 488 \u044f\u0447\u0435\u0435\u043a, \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u2014 206, \u0438 \u0434\u043b\u044f \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0441 \u043e\u0431\u0449\u0438\u043c\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438 202. \u041d\u0430\u0432\u0435\u0440\u043d\u043e \u043e\u043d \u0441\u0430\u043c \u0442\u043e\u0436\u0435 \u0447\u0442\u043e-\u0442\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u0442, \u0445\u043e\u0442\u044f \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u0432 4 \u044f\u0447\u0435\u0439\u043a\u0438 \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u0435\u0441\u0442\u044c. \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u0441\u043e \u0448\u043a\u043e\u043b\u044c\u043d\u044b\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0438\u043b\u0438\u0447\u043d\u0430\u044f.<\/p>\n<p>  \u041d\u0443 \u0438 \u043d\u0430\u043a\u043e\u043d\u0435\u0446. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0443-\u0442\u043e \u043f\u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0438\u0437\u043b\u0438\u0448\u043d\u0438\u043c \u0433\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u043e\u0433\u043e\u0440\u043e\u0434, \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u043e \u0441\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c, \u0447\u0442\u043e 16318=16384-64-2, \u0430 16351=16384-32-1. \u041e\u0434\u043d\u0430\u043a\u043e \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445 \u0447\u0438\u0441\u043b\u0430 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438 \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u0435\u0441\u043b\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0443\u043c\u043d\u043e\u0436\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0438\u0441\u0435\u043b, \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0431\u0440\u0430\u0442\u044c \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0445\u0435\u043c\u044b. \u041c\u043d\u0435 \u0432 \u0442\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0432\u0435\u0437\u043b\u043e. \u0412 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u043e\u0438\u0441\u043a\u0430 \u0441\u0445\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u043c\u043e\u0447\u044c. \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0441\u0442\u0430\u0442\u044c\u044f \u043a\u043e\u043c\u0443-\u0442\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439. \u0418 \u0442\u043e\u0442 \u043a\u0442\u043e \u0435\u0451 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043b, \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0430\u043d\u0438\u043a\u043e\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043d\u0430\u0434\u043e \u0443\u043c\u043d\u043e\u0436\u0430\u0442\u044c, \u0430 \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044f \u043d\u0435\u0442.<\/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\/post\/485786\/\"> https:\/\/habr.com\/ru\/post\/485786\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/485786\/\"><i>\u041b\u0451\u0448\u0435\u043d\u044c\u043a\u0430, \u041b\u0451\u0448\u0435\u043d\u044c\u043a\u0430, \u0441\u0434\u0435\u043b\u0430\u0439 \u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435!<br \/>   \u0412\u044b\u0443\u0447\u0438 \u0410\u043b\u0451\u0448\u0435\u043d\u044c\u043a\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f !<\/i><br \/>  <b>\u0410\u0433\u043d\u0438\u044f \u0411\u0430\u0440\u0442\u043e<\/b><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/8f\/e4\/pm\/8fe4pmxqyjcfscaluen1vp4pw6o.jpeg\"><\/p>\n<p>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u043a\u0430 \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u043a\u043b\u0430\u0441\u0441\u043d\u0438\u043a\u0430. \u0414\u0430\u043d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e. \u041d\u0443\u0436\u043d\u043e \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e \u0434\u0440\u0443\u0433\u043e\u0435 \u0447\u0438\u0441\u043b\u043e, \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0435. \u0412\u043e\u043f\u0440\u043e\u0441, \u043a\u0430\u043a \u043f\u043e\u0441\u043e\u0432\u0435\u0442\u0443\u044e\u0442 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u043b\u0430\u0433\u043e\u0440\u043e\u0434\u043d\u044b\u0435 \u0434\u043e\u043d\u044b ??? \u0411\u044b\u0432\u0430\u043b\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0441\u043a\u0430\u0436\u0435\u0442, \u043c\u043e\u043b \u043c\u0443\u0436\u0438\u043a, \u0441\u0442\u0430\u0432\u044c \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u044c \u0438 \u043d\u0435 \u043f\u0430\u0440\u044c \u043c\u043d\u0435 \u043c\u041e\u0437\u0433\u0438. \u0418 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432 \u043a\u043e\u0440\u043d\u0435 \u043d\u0435\u043f\u0440\u0430\u0432! \u0418\u0431\u043e \u043a\u0440\u043e\u043c\u0435 \u043c\u043e\u043d\u0441\u0442\u0440\u043e\u0432 \u043e\u0442 Alterra \u0438 Xilinx \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0435\u0449\u0451 \u0438 \u0442\u0430\u043a\u043e\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u043a\u0430\u043a <a href=\"http:\/\/www.latticesemi.com\/en\/Products\/FPGAandCPLD\/iCE40\" rel=\"nofollow\">iCE-40 \u043e\u0442 Lattice<\/a>. \u0423\u043b\u044c\u0442\u0440\u0430\u043c\u0438\u043a\u0440\u043e\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u044e\u0449\u0435\u0435. \u041e\u0447\u0435\u043d\u044c \u0434\u0435\u0448\u0435\u0432\u043e\u0435. \u0414\u0430 \u0432\u043e\u0442 \u0431\u0435\u0434\u0430, \u0431\u043e\u043b\u044c\u043d\u043e \u043c\u0435\u043b\u043a\u0438\u0435 \u043e\u043d\u0438, \u0438 \u0443\u0432\u044b, \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0435\u0439 \u0442\u0430\u043c \u043d\u0435\u0442. \u042f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u044d\u0442\u0438\u043c \u0433\u043e\u0434\u0430 4 \u043d\u0430\u0437\u0430\u0434, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b <a href=\"https:\/\/hh.ru\/resume\/c00bf120ff0086f2090039ed1f736563726574\" rel=\"nofollow\">\u043d\u0435\u043a\u0438\u0439 ADPCM-\u043a\u043e\u0434\u0435\u043a<\/a> \u0441 \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0430 adsp-2185 \u043d\u0430 \u0442\u0430\u043a\u043e\u0439 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b.  <\/p>\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-297780","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/297780","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=297780"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/297780\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=297780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=297780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=297780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}