{"id":52999,"date":"2019-11-21T00:00:00","date_gmt":"2019-11-20T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/zadacha-s-topcoder-open-2019-razrezaem-pirog-na-shest-chastej"},"modified":"2020-02-18T14:00:50","modified_gmt":"2020-02-18T11:00:50","slug":"zadacha-s-topcoder-open-2019-razrezaem-pirog-na-shest-chastej","status":"publish","type":"post","link":"https:\/\/prohoster.info\/et\/blog\/novosti-interneta\/zadacha-s-topcoder-open-2019-razrezaem-pirog-na-shest-chastej","title":{"rendered":"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441 TopCoder Open 2019: \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u0435\u043c \u043f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u044c \u0447\u0430\u0441\u0442\u0435\u0439","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441 TopCoder Open 2019: \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u0435\u043c \u043f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u044c \u0447\u0430\u0441\u0442\u0435\u0439\" src=\"\/wp-content\/uploads\/2019\/11\/66bc8cdb4666ecae8811e521eceadf3c.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n\u041f\u043e \u0441\u043b\u0435\u0434\u0430\u043c <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/edison\/blog\/476270\/\">\u00ab\u041d\u0430\u0448\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u043b\u0438: TopCoder Open 2019\u00bb<\/a><\/noindex> \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0442\u0440\u0435\u043a\u0430 Algorithm <i>(\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u0417\u0430 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0447\u0430\u0441\u0430 \u043d\u0443\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0442\u0440\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430 Java, C#, C++ \u0438\u043b\u0438 Python.)<\/i><\/p>\n<h3>1. \u041f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u0435\u0440\u044b\u0445<\/h3>\n<p>\n<b>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438<\/b><\/p>\n<p>\u041b\u0438\u043c\u0438\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u2014 4 \u0441\u0435\u043a\u0443\u043d\u0434\u044b.<\/p>\n<p>\u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0438\u0440\u043e\u0433. \u0415\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0432\u0435\u0440\u0445\u0443, \u043f\u0438\u0440\u043e\u0433 \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0443 (\u0441\u0442\u0440\u043e\u0433\u043e) \u0432\u044b\u043f\u0443\u043a\u043b\u043e\u0433\u043e \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0412\u0430\u043c \u0434\u0430\u043d\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0432\u0435\u0440\u0448\u0438\u043d \u0432 \u0446\u0435\u043b\u044b\u0445 \u0447\u0438\u0441\u043b\u0430\u0445 X \u0438 Y.<\/p>\n<p>\u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u044f\u0442\u044c \u0434\u0440\u0443\u0437\u0435\u0439. \u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u044c \u0447\u0430\u0441\u0442\u0435\u0439 \u0440\u0430\u0432\u043d\u043e\u0439 \u043f\u043b\u043e\u0449\u0430\u0434\u0438 (\u043d\u043e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0439 \u0444\u043e\u0440\u043c\u044b). \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u0436\u0435\u0442 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430 \u043f\u044f\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0437\u043e\u0432, \u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0444\u0438 \u043c\u043e\u0436\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0437\u0430 \u0442\u0440\u0438 \u0440\u0430\u0437\u0440\u0435\u0437\u0430.<\/p>\n<p>\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u0442\u0440\u0438 \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u043d\u0438\u044f \u043f\u0440\u044f\u043c\u044b\u043c\u0438 \u043b\u0438\u043d\u0438\u044f\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 \u043e\u0434\u043d\u0443 \u0442\u043e\u0447\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u0435\u043b\u044f\u0442 \u043f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u044c \u0440\u0430\u0432\u043d\u044b\u0445 \u043f\u043e \u043f\u043b\u043e\u0449\u0430\u0434\u0438 \u0447\u0430\u0441\u0442\u0435\u0439. \u0412\u044b\u0432\u0435\u0434\u0438\u0442\u0435 {x, y, d1, d2, d3}, \u0433\u0434\u0435 (x, y) \u2014 \u043e\u0431\u0449\u0430\u044f \u0442\u043e\u0447\u043a\u0430 \u0432\u0441\u0435\u0445 \u0442\u0440\u0451\u0445 \u0440\u0430\u0437\u0440\u0435\u0437\u043e\u0432, \u0430 d1, d2, d3 \u2014 \u0443\u0433\u043b\u044b \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0440\u0435\u0437\u043e\u0432 \u0432 \u0440\u0430\u0434\u0438\u0430\u043d\u0430\u0445.<br \/>\n <noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\n<b class=\"spoiler_title\">Definition<\/b>Class: CakeForSix<br \/>\nMethod: cut<br \/>\nParameters: int[], int[]<br \/>\nReturns: double[]<br \/>\nMethod signature: double[] cut(int[] x, int[] y)<br \/>\n(be sure your method is public)<\/p>\n<p><b>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u044f <\/b><\/p>\n<ul>\n<li>\u041f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0434\u043e\u043b\u044c \u043e\u0441\u0438 \u0445 \u0440\u0430\u0432\u043d\u043e 0 (\u0440\u0430\u0434\u0438\u0430\u043d), \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0434\u043e\u043b\u044c \u043e\u0441\u0438 y \u0440\u0430\u0432\u043d\u043e pi\/2 (\u0440\u0430\u0434\u0438\u0430\u043d).<\/li>\n<li>\u0420\u0430\u0437\u0440\u0435\u0437 \u0432 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 d \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u0435\u043d \u0440\u0430\u0437\u0440\u0435\u0437\u0443 \u0432 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 pi*k+d \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u0446\u0435\u043b\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 k.<\/li>\n<li>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043b\u044e\u0431\u044b\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u043e\u043d\u0438 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043e\u0442 [0, pi).<\/li>\n<li>\u0413\u0440\u0435\u0439\u0434\u0435\u0440 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442 \u043f\u043b\u043e\u0449\u0430\u0434\u0438 \u0432\u0430\u0448\u0438\u0445 \u0448\u0435\u0441\u0442\u0438 \u043a\u0443\u0441\u043e\u0447\u043a\u043e\u0432 \u0442\u043e\u0440\u0442\u0430 \u0432 doubles. \u041e\u0442\u0432\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u044f\u0442, \u0435\u0441\u043b\u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043b\u0438 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u0430\u044f \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u043c\u0435\u043d\u044c\u0448\u0435 10^(-4).<\/li>\n<li>\u0422\u043e\u0447\u043d\u0435\u0435, \u043f\u0443\u0441\u0442\u044c X \u0438 Y \u0431\u0443\u0434\u0443\u0442 \u0441\u0430\u043c\u044b\u043c\u0438 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u043c\u0438 \u0438 \u0441\u0430\u043c\u044b\u043c\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0438\u0437 \u0432\u0430\u0448\u0438\u0445 \u0448\u0435\u0441\u0442\u0438 \u043e\u0431\u043b\u0430\u0441\u0442\u0435\u0439, \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0433\u0440\u0435\u0439\u0434\u0435\u0440\u043e\u043c. \u0422\u043e\u0433\u0434\u0430 \u0432\u0430\u0448 \u043e\u0442\u0432\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u044f\u0442, \u0435\u0441\u043b\u0438 Y &lt;max (X+10^(-4), X*1+10^(-4))).<\/li>\n<li>(\u0412 \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 1e-7 \u0432\u043c\u0435\u0441\u0442\u043e 1e-4. \u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432 \u0430\u0440\u0445\u0438\u0432\u0435 \u043f\u0440\u0435\u0434\u0435\u043b \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0431\u044b\u043b \u0441\u043d\u0438\u0436\u0435\u043d \u0438\u0437-\u0437\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0432\u044b\u0437\u043e\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435, \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0434\u0435\u043b\u0430\u044e\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u043d\u0435\u0440\u0430\u0437\u0440\u0435\u0448\u0438\u043c\u043e\u0439 \u0441 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e 1e-7. \u0412 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0438\u0440\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0435 \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u044e\u0442 \u0442\u0430\u043a\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0438 \u0432\u0441\u0435 \u0435\u0449\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438, \u0442\u0430\u043a \u0447\u0442\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0431\u0449\u0435\u0439 \u0447\u0438\u0441\u043b\u043e\u0432\u043e\u0439 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u043e.)<\/li>\n<\/ul>\n<p>\n<b>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f<\/b><\/p>\n<ul>\n<li>x \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u0442 3 \u0434\u043e 50 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e.<\/li>\n<li>y \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0436\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0447\u0442\u043e \u0438 x.<\/li>\n<li>\u0432\u0441\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043c\u0435\u0436\u0434\u0443 0 \u0438 10 000 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e <\/li>\n<li>x \u0438 y \u0437\u0430\u0434\u0430\u044e\u0442 \u0432\u044b\u043f\u0443\u043a\u043b\u044b\u0439 \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0432 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043f\u0440\u043e\u0442\u0438\u0432 \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0435\u043b\u043a\u0438. <\/li>\n<\/ul>\n<p>\n<b class=\"spoiler_title\">\u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c<\/b><\/p>\n<h3>Problem Statement<\/h3>\n<p>\nTime limit is 4 seconds.<\/p>\n<p>You have a cake. Seen from above, the cake is a (strictly) convex polygon. You are given the coordinates of its vertices in the int[]s x and y.<\/p>\n<p>You have five friends. You now want to cut the cake into six pieces of equal area (but not necessarily equal shape). Of course, anyone can do that in five cuts \u2014 but only a true pro can do it in three!<\/p>\n<p>Find three straight-line cuts passing through the same point that cut the cake into six equally large parts. Return {x, y, d1, d2, d3}, where (x, y) is the common point of the three cuts, and d1, d2, d3 are their directions in radians.<\/p>\n<p><b>Definition<\/b><\/p>\n<p>Class: CakeForSix<br \/>\nMethod: cut<br \/>\nParameters: int[], int[]<br \/>\nReturns: double[]<br \/>\nMethod signature: double[] cut(int[] x, int[] y)<br \/>\n(be sure your method is public) <\/p>\n<p><b>Notes<\/b><br \/>\n \u2014 The positive direction along the x axis is 0 (radians), the positive direction along the y axis is pi\/2 (radians).<br \/>\n \u2014 A cut in direction d is the same as a cut in direction pi*k+d for any integer k.<br \/>\n \u2014 You may return any directions, they do not have to be from [0,pi).<br \/>\n \u2014 The grader will compute the areas of your six cake pieces in doubles. The answer will be accepted if the relative or absolute difference between them is less than 10^(-4).<br \/>\n \u2014 More precisely, let X and Y be the smallest and the largest of your six areas, as computed by the grader. Then, your answer will be accepted if Y &lt; max( X + 10^(-4), X * (1+10^(-4)) ).<br \/>\n \u2014 (The original version of the problem used 1e-7 precision instead of 1e-4. For upsolving this problem in the archive the precision limit was lowered due to the existence of challenge cases that most likely make the task unsolvable with 1e-7 precision. In an ideal world the constraints would not allow such cases and still require high precision, so that it isn&#8217;t easy to solve the problem via some general numeric optimization.)<\/p>\n<p><b>Constraints<\/b><br \/>\n \u2014 x will have between 3 and 50 elements, inclusive.<br \/>\n \u2014 y will have the same number of elements as x.<br \/>\n \u2014 All coordinates will be between 0 and 10,000, inclusive.<br \/>\n \u2014 x and y will describe a convex polygon in counterclockwise order.<\/p>\n<h3>\u041f\u0440\u0438\u043c\u0435\u0440\u044b<\/h3>\n<p>\n<b>0)<\/b> <\/p>\n<p>{0, 20, 30, 50, 30, 20}<br \/>\n{10, 0, 0, 10, 20, 20}<br \/>\nReturns: <br \/>\n{24.999999999437453, 9.999999999500002, 0.0, 0.7266423406817211, 2.4149503129080787 }<\/p>\n<p>\u0421\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u044b\u0439, \u043d\u043e \u043d\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0448\u0435\u0441\u0442\u0438\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a. \u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0442\u0432\u0435\u0442\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u043d\u0438\u044e \u0435\u0433\u043e \u043f\u043e\u043f\u043e\u043b\u0430\u043c \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044e \u0434\u0432\u0443\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0430\u0437\u0440\u0435\u0437\u043e\u0432 \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044e\u0442 \u043a\u0430\u0436\u0434\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043d\u0430 \u0442\u0440\u0438 \u0447\u0430\u0441\u0442\u0438.<\/p>\n<p><img decoding=\"async\" alt=\"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441 TopCoder Open 2019: \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u0435\u043c \u043f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u044c \u0447\u0430\u0441\u0442\u0435\u0439\" src=\"\/wp-content\/uploads\/2019\/11\/0669aeb4377f31e52d62b838d1775569.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<b>1)<\/b><\/p>\n<p>{0, 1000, 0}<br \/>\n{0, 0, 1000}<br \/>\nReturns: <br \/>\n{333.3333333331763, 333.3333333332546, 0.7853981633986264, 2.0344439357948154, 2.6779450445891753 }<\/p>\n<p>\u041f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u044b\u0439 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a. \u041e\u043f\u044f\u0442\u044c \u0436\u0435, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043d\u0430\u0447\u0430\u0442\u044c \u0441 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0442\u0440\u0435\u0445 \u0440\u0430\u0437\u0440\u0435\u0437\u043e\u0432 \u0432\u0434\u043e\u043b\u044c \u043e\u0441\u0438 \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0438.<\/p>\n<p><img decoding=\"async\" alt=\"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441 TopCoder Open 2019: \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u0435\u043c \u043f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u044c \u0447\u0430\u0441\u0442\u0435\u0439\" src=\"\/wp-content\/uploads\/2019\/11\/3c3647bbd45045ae939ab6a3997b5a31.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<b>2)<\/b><\/p>\n<p>{40, 70, 90, 90, 50}<br \/>\n{30, 20, 40, 100, 60}<br \/>\nReturns: <br \/>\n{69.79517771922892, 52.77575974637605, 2.0616329654335885, 3.637826104091601, 4.32123485812475 }<\/p>\n<p>\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043f\u044f\u0442\u0438\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a.<\/p>\n<p><img decoding=\"async\" alt=\"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441 TopCoder Open 2019: \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u0435\u043c \u043f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u044c \u0447\u0430\u0441\u0442\u0435\u0439\" src=\"\/wp-content\/uploads\/2019\/11\/8b60c5de28b6dd2a70ce63f808a3cfc2.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<b>3)<\/b><\/p>\n<p>{300, 400, 300, 200}<br \/>\n{500, 600, 700, 600}<br \/>\nReturns: {299.99999999974995, 599.9999999995, 0.0, 1.107148717794088, 2.034443935795705 }<\/p>\n<p>\u041a\u0432\u0430\u0434\u0440\u0430\u0442, \u043f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0439 \u043d\u0430 45 \u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432.<\/p>\n<p><img decoding=\"async\" alt=\"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441 TopCoder Open 2019: \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u0435\u043c \u043f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u044c \u0447\u0430\u0441\u0442\u0435\u0439\" src=\"\/wp-content\/uploads\/2019\/11\/8383c63aa308805813556d9a25328b4a.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n[<noindex><a rel=\"nofollow\" href=\"https:\/\/community.topcoder.com\/stat?c=problem_statement&amp;pm=15787\">\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a<\/a><\/noindex>]<\/p>\n<p class=\"for_users_only_msg\">\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. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/auth\/login\/\">\u0412\u043e\u0439\u0434\u0438\u0442\u0435<\/a><\/noindex>, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.<\/p>\n<h2 class=\"default-block__polling-title\">\u042f \u0440\u0435\u0448\u0438\u043b \u0437\u0430\u0434\u0430\u0447\u0443 \u0437\u0430<\/h2>\n<ul class=\"content-list content-list_polling\">\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    \u043c\u0435\u043d\u0435\u0435 \u0447\u0435\u043c \u0437\u0430 10 \u043c\u0438\u043d\u0443\u0442<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    10-30 \u043c\u0438\u043d\u0443\u0442<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    30-60 \u043c\u0438\u043d\u0443\u0442<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    1-2 \u0447\u0430\u0441\u0430<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c \u0437\u0430 2 \u0447\u0430\u0441\u0430<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    \u0434\u0440\u0443\u0433\u043e\u0435<\/p>\n<\/li>\n<\/ul>\n<p>    \u041f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043b\u0438 42 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u043b\u0438\u0441\u044c 47 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439.<br \/>\n<br \/>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/476500\/\">habr.com<\/a><\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u043e \u0441\u043b\u0435\u0434\u0430\u043c \u00ab\u041d\u0430\u0448\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u043b\u0438: TopCoder Open 2019\u00bb \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0442\u0440\u0435\u043a\u0430 Algorithm (\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u0417\u0430 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0447\u0430\u0441\u0430 \u043d\u0443\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0442\u0440\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430 Java, C#, C++ \u0438\u043b\u0438 Python.) 1. \u041f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u0435\u0440\u044b\u0445 \u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u041b\u0438\u043c\u0438\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u2014 4 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0438\u0440\u043e\u0433. \u0415\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0432\u0435\u0440\u0445\u0443, \u043f\u0438\u0440\u043e\u0433 \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0443 (\u0441\u0442\u0440\u043e\u0433\u043e) \u0432\u044b\u043f\u0443\u043a\u043b\u043e\u0433\u043e \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0412\u0430\u043c \u0434\u0430\u043d\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-52999","post","type-post","status-publish","format-standard","hentry","category-novosti-interneta"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u043e \u0441\u043b\u0435\u0434\u0430\u043c \u00ab\u041d\u0430\u0448\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u043b\u0438: TopCoder Open 2019\u00bb \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0442\u0440\u0435\u043a\u0430 Algorithm (\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u0417\u0430 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0447\u0430\u0441\u0430 \u043d\u0443\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0442\u0440\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430 Java, C#, C++ \u0438\u043b\u0438 Python.) 1. \u041f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u0435\u0440\u044b\u0445 \u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u041b\u0438\u043c\u0438\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u2014 4 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0438\u0440\u043e\u0433. \u0415\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0432\u0435\u0440\u0445\u0443, \u043f\u0438\u0440\u043e\u0433 \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0443 (\u0441\u0442\u0440\u043e\u0433\u043e) \u0432\u044b\u043f\u0443\u043a\u043b\u043e\u0433\u043e \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0412\u0430\u043c \u0434\u0430\u043d\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/et\/blog\/novosti-interneta\/zadacha-s-topcoder-open-2019-razrezaem-pirog-na-shest-chastej\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"et_EE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0417\u0430\u0434\u0430\u0447\u0430 \u0441 TopCoder Open 2019: \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u0435\u043c \u043f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u044c \u0447\u0430\u0441\u0442\u0435\u0439 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u043e \u0441\u043b\u0435\u0434\u0430\u043c \u00ab\u041d\u0430\u0448\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u043b\u0438: TopCoder Open 2019\u00bb \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0442\u0440\u0435\u043a\u0430 Algorithm (\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u0417\u0430 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0447\u0430\u0441\u0430 \u043d\u0443\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0442\u0440\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430 Java, C#, C++ \u0438\u043b\u0438 Python.) 1. \u041f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u0435\u0440\u044b\u0445 \u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u041b\u0438\u043c\u0438\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u2014 4 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0438\u0440\u043e\u0433. \u0415\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0432\u0435\u0440\u0445\u0443, \u043f\u0438\u0440\u043e\u0433 \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0443 (\u0441\u0442\u0440\u043e\u0433\u043e) \u0432\u044b\u043f\u0443\u043a\u043b\u043e\u0433\u043e \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0412\u0430\u043c \u0434\u0430\u043d\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/et\/blog\/novosti-interneta\/zadacha-s-topcoder-open-2019-razrezaem-pirog-na-shest-chastej\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-11-20T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:00:50+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47\u0417\u0430\u0434\u0430\u0447\u0430 \u0441 TopCoder Open 2019: \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u0435\u043c \u043f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u044c \u0447\u0430\u0441\u0442\u0435\u0439 | ProHoster","description":"\u041f\u043e \u0441\u043b\u0435\u0434\u0430\u043c \u00ab\u041d\u0430\u0448\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u043b\u0438: TopCoder Open 2019\u00bb \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0442\u0440\u0435\u043a\u0430 Algorithm (\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u0417\u0430 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0447\u0430\u0441\u0430 \u043d\u0443\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0442\u0440\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430 Java, C#, C++ \u0438\u043b\u0438 Python.) 1. \u041f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u0435\u0440\u044b\u0445 \u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u041b\u0438\u043c\u0438\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u2014 4 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0438\u0440\u043e\u0433. \u0415\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0432\u0435\u0440\u0445\u0443, \u043f\u0438\u0440\u043e\u0433 \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0443 (\u0441\u0442\u0440\u043e\u0433\u043e) \u0432\u044b\u043f\u0443\u043a\u043b\u043e\u0433\u043e \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0412\u0430\u043c \u0434\u0430\u043d\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b","canonical_url":"https:\/\/prohoster.info\/et\/blog\/novosti-interneta\/zadacha-s-topcoder-open-2019-razrezaem-pirog-na-shest-chastej","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"et_EE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0417\u0430\u0434\u0430\u0447\u0430 \u0441 TopCoder Open 2019: \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u0435\u043c \u043f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u044c \u0447\u0430\u0441\u0442\u0435\u0439 | ProHoster","og:description":"\u041f\u043e \u0441\u043b\u0435\u0434\u0430\u043c \u00ab\u041d\u0430\u0448\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u043b\u0438: TopCoder Open 2019\u00bb \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0442\u0440\u0435\u043a\u0430 Algorithm (\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u0417\u0430 \u043f\u043e\u043b\u0442\u043e\u0440\u0430 \u0447\u0430\u0441\u0430 \u043d\u0443\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0442\u0440\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430 Java, C#, C++ \u0438\u043b\u0438 Python.) 1. \u041f\u0438\u0440\u043e\u0433 \u043d\u0430 \u0448\u0435\u0441\u0442\u0435\u0440\u044b\u0445 \u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u041b\u0438\u043c\u0438\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u2014 4 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0438\u0440\u043e\u0433. \u0415\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0432\u0435\u0440\u0445\u0443, \u043f\u0438\u0440\u043e\u0433 \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0443 (\u0441\u0442\u0440\u043e\u0433\u043e) \u0432\u044b\u043f\u0443\u043a\u043b\u043e\u0433\u043e \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0412\u0430\u043c \u0434\u0430\u043d\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b","og:url":"https:\/\/prohoster.info\/et\/blog\/novosti-interneta\/zadacha-s-topcoder-open-2019-razrezaem-pirog-na-shest-chastej","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-11-20T21:00:00+00:00","article:modified_time":"2020-02-18T11:00:50+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"52999","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-24 05:41:27","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 20:33:28","updated":"2026-01-24 05:41:27"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/52999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/comments?post=52999"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/52999\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media?parent=52999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/categories?post=52999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/tags?post=52999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}