{"id":358379,"date":"2024-05-21T00:10:35","date_gmt":"2024-05-21T00:10:35","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=358379"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-05-21T00:10:35","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=358379","title":{"rendered":"<span>\u0420\u0430\u0437\u0431\u043e\u0440 \u0437\u0430\u0434\u0430\u0447 \u0428\u043a\u043e\u043b\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 2023<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0428\u043a\u043e\u043b\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 hh.ru 2023 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u043b\u0430, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u043c \u0437\u0430\u0434\u0430\u0447\u043a\u0438 \u0441\u043e \u0432\u0441\u0442\u0443\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u0439. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u043e\u0442\u0431\u043e\u0440\u043e\u0447\u043d\u044b\u0439 \u0442\u0443\u0440 \u0438\u0437\u043d\u0443\u0442\u0440\u0438 \u0438 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447 \u044d\u0442\u043e\u0433\u043e \u0433\u043e\u0434\u0430. \u041c\u044b \u0442\u0430\u043a \u0443\u0436\u0435 \u0434\u0435\u043b\u0430\u043b\u0438: \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b \u0441 \u0440\u0430\u0437\u0431\u043e\u0440\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"https:\/\/habr.com\/ru\/companies\/hh\/articles\/725648\/\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a> \u0438 <a href=\"https:\/\/habr.com\/ru\/companies\/hh\/articles\/342942\/\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a>. \u041f\u043e\u0435\u0445\u0430\u043b\u0438!<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/4ec\/366\/77a\/4ec36677a841c12f405818d17d8a5469.jpeg\" width=\"1600\" height=\"900\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4ec\/366\/77a\/4ec36677a841c12f405818d17d8a5469.jpeg\" data-blurred=\"true\"\/><\/figure>\n<p>\u042d\u0442\u043e\u0442 \u043d\u0430\u0431\u043e\u0440 \u0443\u0436\u0435 14-\u0439! \u041a\u0430\u0436\u0434\u044b\u0439 \u0433\u043e\u0434 \u0428\u043a\u043e\u043b\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439. \u041d\u0430\u043c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043f\u043e\u0434 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0434\u043b\u044f \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432. \u041e\u0434\u043d\u043e \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c: \u0433\u043e\u0434 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0432 \u0428\u043a\u043e\u043b\u0435 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u2014 \u0442\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439. \u0421 \u043f\u0435\u0440\u0432\u043e\u0439 \u0432\u0441\u0451 \u043f\u043e\u043d\u044f\u0442\u043d\u043e: \u043b\u0435\u043a\u0442\u043e\u0440\u044b \u0432 \u043b\u0438\u0446\u0435 \u043e\u043f\u044b\u0442\u043d\u044b\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0432\u0433\u0440\u0443\u0436\u0430\u044e\u0442 \u0442\u043e\u043d\u043d\u0443 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0432 \u0430\u043b\u0447\u0443\u0449\u0438\u0435 \u0442\u0430\u0439\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u043b\u044b\u0435 \u0433\u043e\u043b\u043e\u0432\u044b \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432. \u0410 \u0432\u043e\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0443\u0436\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435: \u0443\u0447\u0435\u043d\u0438\u043a\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0442\u0441\u044f \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0434 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0442\u043e\u043c \u0447\u0430\u0441\u0442\u0435\u043d\u044c\u043a\u043e \u0443\u0445\u043e\u0434\u0438\u0442 \u0432 \u043f\u0440\u043e\u0434. \u041e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435, \u043d\u043e \u0438 \u043e\u0442\u0431\u043e\u0440 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u2014 \u043c\u044b \u043d\u0435 \u043e\u0431\u0443\u0447\u0430\u0435\u043c \u0430\u0437\u0430\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0448 \u043a\u0443\u0440\u0441 \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u044d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u043e\u0432 \u043a\u043e\u0434\u0430.\u00a0<\/p>\n<h3>\u041a\u0430\u043a \u0440\u043e\u0436\u0434\u0430\u044e\u0442\u0441\u044f \u0437\u0430\u0434\u0430\u0447\u0438<\/h3>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0437\u0430\u0434\u0430\u0447\u0438 \u043e\u043a\u0430\u0436\u0443\u0442\u0441\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0428\u043a\u043e\u043b\u044b, \u0438\u0445, \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e, \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c. \u041c\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0433\u043e\u0434 \u043e\u0434\u043d\u0438 \u0438 \u0442\u0435 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0437 \u0440\u0430\u0437\u0430 \u0432 \u0440\u0430\u0437 \u043d\u0430\u043c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u0442\u044c \u043d\u043e\u0432\u0435\u043d\u044c\u043a\u0438\u0439 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434.\u00a0 \u0418 \u0441 \u043a\u0430\u0436\u0434\u044b\u043c \u0433\u043e\u0434\u043e\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0441\u0435 \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0432\u0435\u0434\u044c \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443, \u043e\u043d\u0430 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043d\u0430 \u043b\u0438\u0442\u043a\u043e\u0434\u0435. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442 \u0438 \u0433\u043e\u0442\u043e\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0442\u043e\u0436\u0435 \u043d\u0430\u0439\u0434\u0435\u0442\u0441\u044f.\u00a0<\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e, \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0432\u0441\u0435 \u043f\u0440\u0435\u043f\u044f\u0442\u0441\u0442\u0432\u0438\u044f, \u0437\u0430\u0434\u0430\u0447\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0440\u043e\u0436\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0443\u043c\u0430\u0445 \u043d\u0430\u0448\u0438\u0445 \u043b\u0443\u0447\u0448\u0438\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432. \u0417\u0430\u0442\u0435\u043c \u043e\u043d\u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u0440\u0435\u0432\u044c\u044e, \u0434\u043e\u043b\u0433\u0438\u0439 \u0438 \u043f\u0440\u0438\u0434\u0438\u0440\u0447\u0438\u0432\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043c \u043d\u0430\u0448\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u0428\u043a\u043e\u043b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432.\u00a0<\/p>\n<h3>\u0418\u0437 \u0447\u0435\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u0442 \u0432\u0441\u0442\u0443\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435<\/h3>\n<p>\u0423 \u0432\u0441\u0442\u0443\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u0440\u0438 \u044d\u0442\u0430\u043f\u0430 \u2014 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447 \u0438 \u0438\u043d\u0442\u0435\u0440\u0432\u044c\u044e. \u0412\u0441\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u043d\u0430 <a href=\"https:\/\/school.hh.ru\/\"><u>\u0441\u0430\u0439\u0442\u0435 \u0428\u043a\u043e\u043b\u044b<\/u><\/a>. \u041b\u044e\u0431\u043e\u0439 \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0439 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0434\u0430\u0442\u044c \u0437\u0430\u044f\u0432\u043a\u0443 \u043d\u0430 \u0443\u0447\u0430\u0441\u0442\u0438\u0435. \u0412 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043f\u043e\u0447\u0442\u0438 \u0442\u0440\u0438 \u0442\u044b\u0441\u044f\u0447\u0438 \u043e\u0442\u043a\u043b\u0438\u043a\u043e\u0432 \u2014 2483 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u0438 \u043f\u0440\u043e\u0439\u0442\u0438 \u043d\u0430\u0448 \u043a\u0443\u0440\u0441.\u00a0<\/p>\n<p>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0437\u0430\u0441\u044b\u043f\u0430\u0435\u0442, \u043f\u0440\u043e\u0441\u044b\u043f\u0430\u044e\u0442\u0441\u044f \u0437\u0430\u0434\u0430\u0447\u0438: \u043c\u044b \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c \u0440\u0435\u0448\u0438\u0442\u044c \u0434\u0432\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0437\u0430\u044f\u0432\u043a\u0443 \u043d\u0430 \u0443\u0447\u0430\u0441\u0442\u0438\u0435. \u0418 \u0432 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 \u0441 \u043e\u0431\u0435\u0438\u043c\u0438 \u0437\u0430\u0434\u0430\u0447\u043a\u0430\u043c\u0438 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043f\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c 590 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043d\u043e \u0447\u0430\u0441\u0442\u044c \u0438\u0437 \u043d\u0438\u0445 \u2014 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043f\u0438\u0441\u0430\u043b\u0438.\u00a0<\/p>\n<p>\u0417\u0430\u0442\u0435\u043c \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430\u043d\u0442\u0430\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u0438\u0442 \u043e\u0447\u043d\u043e\u0435 \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435: \u0447\u0442\u043e\u0431\u044b \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0437\u043d\u0430\u043d\u0438\u044f. \u041d\u0430 \u0438\u043d\u0442\u0435\u0440\u0432\u044c\u044e \u043f\u0440\u0438\u0448\u043b\u0438 122 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430. \u0410 \u043f\u043e \u0435\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u043d\u043e\u0432\u044b\u043c\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c\u0438 \u0428\u043a\u043e\u043b\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u0441\u0442\u0430\u043b\u0438 43 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430: 30 \u043d\u0430 \u0431\u044d\u043a\u0435\u043d\u0434 \u0438 13 \u043d\u0430 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434.\u00a0<\/p>\n<p>\u0417\u0430\u044f\u0432\u043e\u043a \u043a\u0430\u0436\u0434\u044b\u0439 \u0433\u043e\u0434 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u0432\u0441\u0435\u0445 \u043d\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u043c\u044b \u043f\u043e\u043a\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u043c. \u0423 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e: \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u044b \u0438\u043b\u0438 \u0432\u044b\u043f\u0443\u0441\u043a\u043d\u0438\u043a\u0438 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043d\u044b\u0445, \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u043b\u0438 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 \u0438 \u0442\u0435, \u043a\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u043d\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u0438\u0437 \u044f\u0437\u044b\u043a\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u0432 \u0428\u043a\u043e\u043b\u0443 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430\u043d\u0442\u0430\u043c\u0438. \u041d\u043e \u043c\u044b \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u0435\u043c \u043e\u0431 \u044d\u0442\u043e\u043c \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u2014 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442.\u00a0<\/p>\n<h3>\u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0437\u0430\u0434\u0430\u0447\u0438!<\/h3>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438: \u044d\u0442\u043e \u0432\u0438\u0434\u043d\u043e \u043f\u043e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0435 \u0443\u0447\u0430\u0441\u0442\u0438\u044f. \u0421 \u043d\u0438\u043c\u0438 \u0441\u043f\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043b\u044e\u0434\u0435\u0439, \u0447\u0435\u043c \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0445 \u043d\u0430\u0431\u043e\u0440\u0430\u0445. \u0412\u0438\u0434\u0438\u043c\u043e, \u044d\u0442\u0438\u043c \u043b\u0435\u0442\u043e\u043c \u043c\u044b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0440\u0430\u0441\u0441\u043b\u0430\u0431\u0438\u043b\u0438\u0441\u044c \u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u043d\u0435 \u0436\u0435\u0441\u0442\u0438\u0442\u044c. \u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0433\u043e\u0434\u0443 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043c\u0441\u044f.\u00a0<\/p>\n<h4>\u0417\u0430\u0434\u0430\u0447\u0430 1. \u041e\u0444\u0438\u0441\u043d\u044b\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438<\/h4>\n<p>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0424\u0451\u0434\u043e\u0440 \u043e\u0447\u0435\u043d\u044c \u043b\u044e\u0431\u0438\u0442 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438 \u0432 \u043e\u0444\u0438\u0441\u0435, \u0438 \u0442\u043e\u0447\u043d\u043e \u0437\u043d\u0430\u0435\u0442 \u0432\u0441\u0435 N \u043c\u0435\u0441\u0442, \u0433\u0434\u0435 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0442\u043e\u0447\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0447\u0435\u043d\u0435\u043a \u0421n \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u043c\u0435\u0441\u0442\u0435. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0424\u0451\u0434\u043e\u0440 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0433\u043e\u043b\u043e\u0434\u0435\u043d: \u043e\u043d \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443, \u0438 \u0440\u0435\u0448\u0430\u0435\u0442 \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0435\u0431\u0435 M \u0447\u0430\u0441\u043e\u0432 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u044a\u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438 \u0432 \u043e\u0444\u0438\u0441\u0435.<\/p>\n<p>\u0424\u0451\u0434\u043e\u0440 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043b \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0447\u0435\u043d\u0435\u043a K, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u0441\u044a\u0435\u0434\u0430\u0442\u044c \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0447\u0430\u0441\u0430 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0432 \u0438\u0442\u043e\u0433\u0435 \u0443\u0441\u043f\u0435\u0442\u044c \u0441\u044a\u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438 \u0432 \u043e\u0444\u0438\u0441\u0435 \u0437\u0430 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f.<\/p>\n<p>\u0412 \u043a\u0430\u0436\u0434\u044b\u0439 \u0447\u0430\u0441, \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u044c \u043e\u0434\u043d\u043e \u043b\u044e\u0431\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0441 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0430\u043c\u0438 \u0438 \u0441\u044a\u0435\u0441\u0442\u044c K \u043f\u0435\u0447\u0435\u043d\u0435\u043a \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u043e\u043d \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442 \u043d\u0430 \u044d\u0442\u043e \u0446\u0435\u043b\u044b\u0439 \u0447\u0430\u0441, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c K \u043f\u0435\u0447\u0435\u043d\u0435\u043a, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0442\u044c \u0441 \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043f\u043b\u0430\u043d\u044b.<\/p>\n<p>\u041a\u043e\u043b\u043b\u0435\u0433\u0438, \u0438\u0437 \u0443\u0432\u0430\u0436\u0435\u043d\u0438\u044f \u043a \u0424\u0451\u0434\u043e\u0440\u0443, \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u044e\u0442 \u0435\u0433\u043e \u043b\u044e\u0431\u0438\u043c\u044b\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438.<\/p>\n<p>\u0412\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u2013 \u043d\u0430\u0439\u0442\u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0435 K. \u0415\u0441\u043b\u0438 \u0424\u0451\u0434\u043e\u0440 \u043d\u0435 \u0443\u0441\u043f\u0435\u0435\u0442 \u0441\u044a\u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438, \u0438\u043b\u0438 \u0432 \u043e\u0444\u0438\u0441\u0435 \u043d\u0435\u0442 \u043f\u0435\u0447\u0435\u043d\u0435\u043a \u2013 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 0.  <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440: <\/p>\n<pre><code>3 6 4 4 5<\/code><\/pre>\n<p>\u0412\u044b\u0432\u043e\u0434:\u00a0<code>3<\/code>  <\/p>\n<p>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0424\u0451\u0434\u043e\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0432\u0435\u0441\u044c \u0447\u0430\u0441 \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u0442\u044c \u0438 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0447\u0435\u043d\u0435\u043a \u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0435\u0441\u0442 \u0441 \u043e\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u0438\u0435\u043c \u0432 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443. \u0415\u0449\u0435 \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c \u043e \u0433\u0440\u0430\u043d\u0438\u0447\u043d\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u2014 \u0435\u0441\u043b\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0435\u0441\u0442 \u0441 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0430\u043c\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0447\u0430\u0441\u043e\u0432, \u0424\u0451\u0434\u043e\u0440 \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u0443\u0441\u043f\u0435\u0435\u0442. \u0418, \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0431\u044b\u0432\u0430\u0435\u0442 \u0432 \u043d\u0430\u0448\u0438\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438: \u0432 \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u0442\u0435\u0441\u0442\u0435 \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 N = 100 000, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0435\u0440\u0435\u0431\u043e\u0440 \u043d\u0435 \u0443\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 1 \u0441\u0435\u043a\u0443\u043d\u0434\u0443.<\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0443\u0441\u043b\u043e\u0432\u0438\u0439, \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u043c \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043f\u043e\u0438\u0441\u043a. \u0412\u043e\u0442 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430 python:<\/p>\n<pre><code class=\"python\">import math  # \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0443\u0441\u043f\u0435\u0442\u044c \u0441\u044a\u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438 \u0441 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c def can_be_eaten(cookies_amounts, per_hour, hours):     time_to_eat = 0     for amount in cookies_amounts:         time_to_eat += math.ceil(amount \/ per_hour)      return time_to_eat &lt;= hours   def get_minimal_amount_to_eat(cookies_amounts, hours):     # \u0415\u0441\u043b\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0435\u0441\u0442 \u0441 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0430\u043c\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0447\u0430\u0441\u043e\u0432 - \u0424\u0451\u0434\u043e\u0440 \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u0443\u0441\u043f\u0435\u0435\u0442     if len(list(filter(lambda amount: amount > 0, cookies_amounts))) > hours:         return 0      start = 1     end = max(cookies_amounts)      while start &lt; end:         # \u041f\u0440\u0438\u0431\u043b\u0438\u0436\u0430\u0435\u043c\u0441\u044f \u043a \u0442\u043e\u0447\u043d\u043e\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u0447\u0435\u0440\u0435\u0437 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043f\u043e\u0438\u0441\u043a         middle = start + math.floor((end - start) \/ 2)          if can_be_eaten(cookies_amounts, middle, hours):             end = middle         else:             start = middle + 1      return end   if __name__ == '__main__':     N, M = [int(x) for x in input().split()]  # \u0427\u0438\u0442\u0430\u0435\u043c N \u0438 M \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435     C = [int(input()) for _ in range(N)]  # \u0427\u0438\u0442\u0430\u0435\u043c Cn \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0440\u043e\u043a\u0430\u0445      print(get_minimal_amount_to_eat(C, M))<\/code><\/pre>\n<p>\u0412 \u043e\u0431\u0449\u0435\u043c, \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e, \u043f\u043e\u0435\u0445\u0430\u043b\u0438 \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<h4>\u0417\u0430\u0434\u0430\u0447\u0430 2. \u041b\u0430\u0431\u0438\u0440\u0438\u043d\u0442<\/h4>\n<p>\u0412\u044b \u043e\u0447\u043d\u0443\u043b\u0438\u0441\u044c \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u044f\u0447\u0435\u0439\u043a\u0435 (x1,y1) \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0430, \u0441 \u0435\u0433\u043e \u043a\u0430\u0440\u0442\u043e\u0439 \u0432 \u0440\u0443\u043a\u0435. \u041a\u0430\u0440\u0442\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043e\u043a\u0440\u0443\u0436\u0451\u043d\u043d\u044b\u0439 \u0441\u043f\u043b\u043e\u0448\u043d\u043e\u0439 \u0441\u0442\u0435\u043d\u043e\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u043c\u0438 N \u043d\u0430 M, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u044f\u0447\u0435\u0435\u043a, \u043a\u0430\u0436\u0434\u0430\u044f \u044f\u0447\u0435\u0439\u043a\u0430 \u0441\u0430\u043c\u043e\u0433\u043e \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0430 \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0445\u043e\u0434 0 \u0438\u043b\u0438 \u0441\u0442\u0435\u043d\u0430 1. \u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438 (\u043c\u0435\u043d\u044f\u044f \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0443 x) \u043b\u0438\u0431\u043e \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438 (\u043c\u0435\u043d\u044f\u044f \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0443 y) \u043d\u0430 \u043e\u0434\u043d\u0443 \u044f\u0447\u0435\u0439\u043a\u0443. \u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u0438 (\u043c\u0435\u043d\u044f\u044f \u0437\u0430 \u043e\u0434\u0438\u043d \u0448\u0430\u0433 \u043e\u0431\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b) \u043d\u0435\u043b\u044c\u0437\u044f.<\/p>\n<p>\u041d\u0430 \u043a\u0430\u0440\u0442\u0435 \u043e\u0442\u043c\u0435\u0447\u0435\u043d \u0432\u044b\u0445\u043e\u0434, \u0438 \u043e\u043d \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u044f\u0447\u0435\u0439\u043a\u0435 \u0441 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c\u0438 (x2,y2).<\/p>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u2014 \u043d\u0430\u0439\u0442\u0438 \u0434\u043b\u0438\u043d\u0443 \u043a\u0440\u0430\u0442\u0447\u0430\u0439\u0448\u0435\u0433\u043e \u043f\u0443\u0442\u0438 \u0438\u0437 \u044f\u0447\u0435\u0439\u043a\u0438 \u043f\u0440\u043e\u0431\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0432 \u044f\u0447\u0435\u0439\u043a\u0443 \u0432\u044b\u0445\u043e\u0434\u0430. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u043d\u0435\u0442 \u2014 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 0<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code>3 3 0 0 2 0 0 1 0 0 1 0 0 0 0<\/code><\/pre>\n<p>\u0412\u044b\u0432\u043e\u0434:\u00a0<code>6<\/code><\/p>\n<p>\u0422\u043e\u0436\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u2013 \u043f\u043e \u0441\u0443\u0442\u0438, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0439\u0442\u0438 \u043f\u043e \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0443 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u0432 \u0434\u0440\u0443\u0433\u0443\u044e, \u043d\u043e IDCLIP \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f (\u043d\u0435\u043b\u044c\u0437\u044f \u0445\u043e\u0434\u0438\u0442\u044c \u0441\u043a\u0432\u043e\u0437\u044c \u0441\u0442\u0435\u043d\u044b). \u0418\u0437 \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0445 \u043e\u0448\u0438\u0431\u043e\u043a \u0432 \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435 \u2013 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043b\u0438\u0431\u043e \u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u043f\u0435\u0440\u0435\u0431\u0440\u0430\u0442\u044c \u044f\u0447\u0435\u0439\u043a\u0438 \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043f\u0430\u0440\u0443 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0446\u0438\u043a\u043b\u043e\u0432, \u0447\u0442\u043e \u0432\u044b\u0434\u0430\u0435\u0442 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u043e\u0432 \u043f\u0443\u0442\u0438, \u043b\u0438\u0431\u043e, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 BFS\/DFS \u0437\u0430\u0431\u044b\u0432\u0430\u043b\u0438 \u043f\u0440\u043e \u0443\u0447\u0435\u0442 \u043f\u043e\u0441\u0435\u0449\u0435\u043d\u043d\u044b\u0445 \u044f\u0447\u0435\u0435\u043a \u0438 \u0443\u0445\u043e\u0434\u0438\u043b\u0438 \u0432 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0435 \u043f\u0443\u0442\u0435\u0448\u0435\u0441\u0442\u0432\u0438\u0435, \u0438\u043b\u0438 \u0437\u0430\u0431\u044b\u0432\u0430\u043b\u0438, \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 DFS \u043f\u0443\u0442\u044c \u2013 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0430\u043c\u044b\u0439 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439. \u0422\u0430\u043a\u0436\u0435, \u0431\u044b\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0439 \u043b\u0438\u043c\u0438\u0442\u043e\u0432 \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0435 500 \u043d\u0430 500, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u0443\u0442\u044c \u0431\u044b\u043b \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u043b\u0438\u043d\u043d\u0435\u0435, \u0447\u0435\u043c \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044c.<\/p>\n<p>\u0418\u0437 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e, \u043f\u043e\u0434\u043e\u0439\u0434\u0451\u0442 \u043b\u0438\u0431\u043e DFS \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u043e\u0439 \u0434\u043b\u0438\u043d\u044b \u043f\u0443\u0442\u0438, \u043b\u0438\u0431\u043e BFS \u2013 \u0442\u0430\u043c \u043f\u0435\u0440\u0432\u044b\u0439 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 \u0443\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u0430\u043c\u044b\u043c \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u043c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439:<\/p>\n<pre><code class=\"python\">from collections import deque   # \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u044f\u0447\u0435\u0439\u043a\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0430 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 def is_valid(x, y, N, M, maze):     if 0 &lt;= x &lt; M and 0 &lt;= y &lt; N:         return maze[y][x] == 0     else:         return False   def shortest_path_length(N, M, x1, y1, x2, y2, maze):     queue = deque([(x1, y1, 0)])  # \u041a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 - \u043a\u043e\u0440\u0442\u0435\u0436 (x, y, \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0435)      visited = [[False] * N for _ in range(M)]     visited[x1][y1] = True      # \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f (\u0432\u0432\u0435\u0440\u0445, \u0432\u043d\u0438\u0437, \u0432\u043b\u0435\u0432\u043e, \u0432\u043f\u0440\u0430\u0432\u043e)     directions = [(-1, 0), (1, 0), (0, -1), (0, 1)]      while queue:         x, y, distance = queue.popleft()          if x == x2 and y == y2:             return distance          for dx, dy in directions:             new_x, new_y = x + dx, y + dy             if is_valid(new_x, new_y, N, M, maze) and not visited[new_x][new_y]:                 queue.append((new_x, new_y, distance + 1))                 visited[new_x][new_y] = True      return 0   if __name__ == '__main__':     N, M = map(int, input().split())     x1, y1 = map(int, input().split())     x2, y2 = map(int, input().split())          maze = []     for _ in range(N):         row = list(map(int, input().split()))         maze.append(row)          print(shortest_path_length(N, M, x1, y1, x2, y2, maze))<\/code><\/pre>\n<p>\u041a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e, \u0432\u043e\u0442 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430<a href=\"https:\/\/github.com\/hhru\/school-tasks-tester\/tree\/master\/2023\"> \u043f\u043e\u043b\u043d\u044b\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0438 \u043d\u0430\u0448\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0435 \u0442\u0435\u0441\u0442\u044b<\/a><\/p>\n<h3>\u041d\u0443 \u0432\u043e\u0442 \u0438 \u0432\u0441\u0451<\/h3>\n<p>\u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u043f\u043e\u0434\u0430\u0435\u0442 \u0437\u0430\u044f\u0432\u043a\u0438 \u0432 \u043d\u0430\u0448\u0443 \u0428\u043a\u043e\u043b\u0443 \u0438 \u0440\u0435\u0448\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u043a\u0438. \u041d\u0430\u0434\u0435\u0435\u043c\u0441\u044f, \u043e\u043d\u0438 \u0432\u0430\u043c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c! \u041d\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u0435\u0441\u043b\u0438 \u0432\u044b \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0432\u044f\u0437\u044c \u043f\u043e \u0437\u0430\u0434\u0430\u0447\u0430\u043c \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c \u043d\u0430\u0431\u043e\u0440\u0430 \u2014 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u044f\u043c\u043e \u0437\u0434\u0435\u0441\u044c, \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043f\u043e\u0434 \u0441\u0442\u0430\u0442\u044c\u0435\u0439.\u00a0<\/p>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u0442\u0435\u043c, \u043a\u043e\u0433\u043e \u0441 \u043a\u0430\u0436\u0434\u044b\u043c \u0433\u043e\u0434\u043e\u043c \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u2014 \u043a \u0441\u043f\u0438\u0441\u0430\u0432\u0448\u0438\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u041d\u0435 \u043d\u0430\u0434\u043e \u0442\u0430\u043a. \u041c\u044b \u0443\u0436\u0435 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u043d\u043e\u0435 \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 live-coding, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043a\u0440\u0430\u0439\u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e \u0441\u043f\u0438\u0441\u0430\u0442\u044c. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0433\u043e\u0434\u0443 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0451 \u0441\u0430\u043c\u0438, \u0442\u0430\u043a \u0432\u0435\u0434\u044c \u0432 \u0440\u0430\u0437\u044b \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435.\u00a0<\/p>\n<p>\u0423\u0432\u0438\u0434\u0438\u043c\u0441\u044f \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0433\u043e\u0434\u0443!\u00a0\u0410 \u043f\u043e\u043a\u0430 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0434\u044b, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432 \u043d\u0430\u0448\u0435\u043c \u0435\u0436\u0435\u0433\u043e\u0434\u043d\u043e\u043c \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0438 \u0443\u0437\u043d\u0430\u0432\u0430\u0435\u043c\u043e\u0441\u0442\u0438 \u0431\u0440\u0435\u043d\u0434\u043e\u0432 IT-\u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0439\u0442\u0438 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439, \u043d\u043e \u043e\u0447\u0435\u043d\u044c <a href=\"https:\/\/kakdela.hh.ru\/poll\/4DtjQDeX0rEq8QO9XRESUhZx\"><strong>\u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043e\u043f\u0440\u043e\u0441<\/strong><\/a>. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u043c\u0441\u044f \u0441 \u0432\u0430\u043c\u0438 \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u0430\u043a <a href=\"https:\/\/habr.com\/ru\/companies\/hh\/articles\/653001\/\">\u0437\u0434\u0435\u0441\u044c <\/a>\u0438 <a href=\"https:\/\/habr.com\/ru\/companies\/hh\/articles\/523248\/\">\u0437\u0434\u0435\u0441\u044c<\/a>. <\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/769642\/\"> https:\/\/habr.com\/ru\/articles\/769642\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0428\u043a\u043e\u043b\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 hh.ru 2023 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u043b\u0430, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u043c \u0437\u0430\u0434\u0430\u0447\u043a\u0438 \u0441\u043e \u0432\u0441\u0442\u0443\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u0439. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u043e\u0442\u0431\u043e\u0440\u043e\u0447\u043d\u044b\u0439 \u0442\u0443\u0440 \u0438\u0437\u043d\u0443\u0442\u0440\u0438 \u0438 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447 \u044d\u0442\u043e\u0433\u043e \u0433\u043e\u0434\u0430. \u041c\u044b \u0442\u0430\u043a \u0443\u0436\u0435 \u0434\u0435\u043b\u0430\u043b\u0438: \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b \u0441 \u0440\u0430\u0437\u0431\u043e\u0440\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"https:\/\/habr.com\/ru\/companies\/hh\/articles\/725648\/\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a> \u0438 <a href=\"https:\/\/habr.com\/ru\/companies\/hh\/articles\/342942\/\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a>. \u041f\u043e\u0435\u0445\u0430\u043b\u0438!<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u042d\u0442\u043e\u0442 \u043d\u0430\u0431\u043e\u0440 \u0443\u0436\u0435 14-\u0439! \u041a\u0430\u0436\u0434\u044b\u0439 \u0433\u043e\u0434 \u0428\u043a\u043e\u043b\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439. \u041d\u0430\u043c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043f\u043e\u0434 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0434\u043b\u044f \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432. \u041e\u0434\u043d\u043e \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c: \u0433\u043e\u0434 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0432 \u0428\u043a\u043e\u043b\u0435 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u2014 \u0442\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439. \u0421 \u043f\u0435\u0440\u0432\u043e\u0439 \u0432\u0441\u0451 \u043f\u043e\u043d\u044f\u0442\u043d\u043e: \u043b\u0435\u043a\u0442\u043e\u0440\u044b \u0432 \u043b\u0438\u0446\u0435 \u043e\u043f\u044b\u0442\u043d\u044b\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0432\u0433\u0440\u0443\u0436\u0430\u044e\u0442 \u0442\u043e\u043d\u043d\u0443 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0432 \u0430\u043b\u0447\u0443\u0449\u0438\u0435 \u0442\u0430\u0439\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u043b\u044b\u0435 \u0433\u043e\u043b\u043e\u0432\u044b \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432. \u0410 \u0432\u043e\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0443\u0436\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435: \u0443\u0447\u0435\u043d\u0438\u043a\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0442\u0441\u044f \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0434 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0442\u043e\u043c \u0447\u0430\u0441\u0442\u0435\u043d\u044c\u043a\u043e \u0443\u0445\u043e\u0434\u0438\u0442 \u0432 \u043f\u0440\u043e\u0434. \u041e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435, \u043d\u043e \u0438 \u043e\u0442\u0431\u043e\u0440 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u2014 \u043c\u044b \u043d\u0435 \u043e\u0431\u0443\u0447\u0430\u0435\u043c \u0430\u0437\u0430\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0448 \u043a\u0443\u0440\u0441 \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u044d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u043e\u0432 \u043a\u043e\u0434\u0430.\u00a0<\/p>\n<h3>\u041a\u0430\u043a \u0440\u043e\u0436\u0434\u0430\u044e\u0442\u0441\u044f \u0437\u0430\u0434\u0430\u0447\u0438<\/h3>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0437\u0430\u0434\u0430\u0447\u0438 \u043e\u043a\u0430\u0436\u0443\u0442\u0441\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0428\u043a\u043e\u043b\u044b, \u0438\u0445, \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e, \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c. \u041c\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0433\u043e\u0434 \u043e\u0434\u043d\u0438 \u0438 \u0442\u0435 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0437 \u0440\u0430\u0437\u0430 \u0432 \u0440\u0430\u0437 \u043d\u0430\u043c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u0442\u044c \u043d\u043e\u0432\u0435\u043d\u044c\u043a\u0438\u0439 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434.\u00a0 \u0418 \u0441 \u043a\u0430\u0436\u0434\u044b\u043c \u0433\u043e\u0434\u043e\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0441\u0435 \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0432\u0435\u0434\u044c \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443, \u043e\u043d\u0430 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043d\u0430 \u043b\u0438\u0442\u043a\u043e\u0434\u0435. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442 \u0438 \u0433\u043e\u0442\u043e\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0442\u043e\u0436\u0435 \u043d\u0430\u0439\u0434\u0435\u0442\u0441\u044f.\u00a0<\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e, \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0432\u0441\u0435 \u043f\u0440\u0435\u043f\u044f\u0442\u0441\u0442\u0432\u0438\u044f, \u0437\u0430\u0434\u0430\u0447\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0440\u043e\u0436\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0443\u043c\u0430\u0445 \u043d\u0430\u0448\u0438\u0445 \u043b\u0443\u0447\u0448\u0438\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432. \u0417\u0430\u0442\u0435\u043c \u043e\u043d\u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u0440\u0435\u0432\u044c\u044e, \u0434\u043e\u043b\u0433\u0438\u0439 \u0438 \u043f\u0440\u0438\u0434\u0438\u0440\u0447\u0438\u0432\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043c \u043d\u0430\u0448\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u0428\u043a\u043e\u043b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432.\u00a0<\/p>\n<h3>\u0418\u0437 \u0447\u0435\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u0442 \u0432\u0441\u0442\u0443\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435<\/h3>\n<p>\u0423 \u0432\u0441\u0442\u0443\u043f\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u0440\u0438 \u044d\u0442\u0430\u043f\u0430 \u2014 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447 \u0438 \u0438\u043d\u0442\u0435\u0440\u0432\u044c\u044e. \u0412\u0441\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u043d\u0430 <a href=\"https:\/\/school.hh.ru\/\"><u>\u0441\u0430\u0439\u0442\u0435 \u0428\u043a\u043e\u043b\u044b<\/u><\/a>. \u041b\u044e\u0431\u043e\u0439 \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0439 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0434\u0430\u0442\u044c \u0437\u0430\u044f\u0432\u043a\u0443 \u043d\u0430 \u0443\u0447\u0430\u0441\u0442\u0438\u0435. \u0412 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043f\u043e\u0447\u0442\u0438 \u0442\u0440\u0438 \u0442\u044b\u0441\u044f\u0447\u0438 \u043e\u0442\u043a\u043b\u0438\u043a\u043e\u0432 \u2014 2483 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u0438 \u043f\u0440\u043e\u0439\u0442\u0438 \u043d\u0430\u0448 \u043a\u0443\u0440\u0441.\u00a0<\/p>\n<p>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0437\u0430\u0441\u044b\u043f\u0430\u0435\u0442, \u043f\u0440\u043e\u0441\u044b\u043f\u0430\u044e\u0442\u0441\u044f \u0437\u0430\u0434\u0430\u0447\u0438: \u043c\u044b \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c \u0440\u0435\u0448\u0438\u0442\u044c \u0434\u0432\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0437\u0430\u044f\u0432\u043a\u0443 \u043d\u0430 \u0443\u0447\u0430\u0441\u0442\u0438\u0435. \u0418 \u0432 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 \u0441 \u043e\u0431\u0435\u0438\u043c\u0438 \u0437\u0430\u0434\u0430\u0447\u043a\u0430\u043c\u0438 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043f\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c 590 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043d\u043e \u0447\u0430\u0441\u0442\u044c \u0438\u0437 \u043d\u0438\u0445 \u2014 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043f\u0438\u0441\u0430\u043b\u0438.\u00a0<\/p>\n<p>\u0417\u0430\u0442\u0435\u043c \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430\u043d\u0442\u0430\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u0438\u0442 \u043e\u0447\u043d\u043e\u0435 \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435: \u0447\u0442\u043e\u0431\u044b \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0437\u043d\u0430\u043d\u0438\u044f. \u041d\u0430 \u0438\u043d\u0442\u0435\u0440\u0432\u044c\u044e \u043f\u0440\u0438\u0448\u043b\u0438 122 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430. \u0410 \u043f\u043e \u0435\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u043d\u043e\u0432\u044b\u043c\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c\u0438 \u0428\u043a\u043e\u043b\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u0441\u0442\u0430\u043b\u0438 43 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430: 30 \u043d\u0430 \u0431\u044d\u043a\u0435\u043d\u0434 \u0438 13 \u043d\u0430 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434.\u00a0<\/p>\n<p>\u0417\u0430\u044f\u0432\u043e\u043a \u043a\u0430\u0436\u0434\u044b\u0439 \u0433\u043e\u0434 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u0432\u0441\u0435\u0445 \u043d\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u043c\u044b \u043f\u043e\u043a\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u043c. \u0423 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e: \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u044b \u0438\u043b\u0438 \u0432\u044b\u043f\u0443\u0441\u043a\u043d\u0438\u043a\u0438 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043d\u044b\u0445, \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u043b\u0438 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 \u0438 \u0442\u0435, \u043a\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u043d\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u0438\u0437 \u044f\u0437\u044b\u043a\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u0432 \u0428\u043a\u043e\u043b\u0443 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430\u043d\u0442\u0430\u043c\u0438. \u041d\u043e \u043c\u044b \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u0435\u043c \u043e\u0431 \u044d\u0442\u043e\u043c \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u2014 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442.\u00a0<\/p>\n<h3>\u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0437\u0430\u0434\u0430\u0447\u0438!<\/h3>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438: \u044d\u0442\u043e \u0432\u0438\u0434\u043d\u043e \u043f\u043e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0435 \u0443\u0447\u0430\u0441\u0442\u0438\u044f. \u0421 \u043d\u0438\u043c\u0438 \u0441\u043f\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043b\u044e\u0434\u0435\u0439, \u0447\u0435\u043c \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0445 \u043d\u0430\u0431\u043e\u0440\u0430\u0445. \u0412\u0438\u0434\u0438\u043c\u043e, \u044d\u0442\u0438\u043c \u043b\u0435\u0442\u043e\u043c \u043c\u044b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0440\u0430\u0441\u0441\u043b\u0430\u0431\u0438\u043b\u0438\u0441\u044c \u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u043d\u0435 \u0436\u0435\u0441\u0442\u0438\u0442\u044c. \u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0433\u043e\u0434\u0443 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043c\u0441\u044f.\u00a0<\/p>\n<h4>\u0417\u0430\u0434\u0430\u0447\u0430 1. \u041e\u0444\u0438\u0441\u043d\u044b\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438<\/h4>\n<p>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0424\u0451\u0434\u043e\u0440 \u043e\u0447\u0435\u043d\u044c \u043b\u044e\u0431\u0438\u0442 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438 \u0432 \u043e\u0444\u0438\u0441\u0435, \u0438 \u0442\u043e\u0447\u043d\u043e \u0437\u043d\u0430\u0435\u0442 \u0432\u0441\u0435 N \u043c\u0435\u0441\u0442, \u0433\u0434\u0435 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0442\u043e\u0447\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0447\u0435\u043d\u0435\u043a \u0421n \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u043c\u0435\u0441\u0442\u0435. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0424\u0451\u0434\u043e\u0440 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0433\u043e\u043b\u043e\u0434\u0435\u043d: \u043e\u043d \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443, \u0438 \u0440\u0435\u0448\u0430\u0435\u0442 \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0435\u0431\u0435 M \u0447\u0430\u0441\u043e\u0432 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u044a\u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438 \u0432 \u043e\u0444\u0438\u0441\u0435.<\/p>\n<p>\u0424\u0451\u0434\u043e\u0440 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043b \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0447\u0435\u043d\u0435\u043a K, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u0441\u044a\u0435\u0434\u0430\u0442\u044c \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0447\u0430\u0441\u0430 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0432 \u0438\u0442\u043e\u0433\u0435 \u0443\u0441\u043f\u0435\u0442\u044c \u0441\u044a\u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438 \u0432 \u043e\u0444\u0438\u0441\u0435 \u0437\u0430 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f.<\/p>\n<p>\u0412 \u043a\u0430\u0436\u0434\u044b\u0439 \u0447\u0430\u0441, \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u044c \u043e\u0434\u043d\u043e \u043b\u044e\u0431\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0441 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0430\u043c\u0438 \u0438 \u0441\u044a\u0435\u0441\u0442\u044c K \u043f\u0435\u0447\u0435\u043d\u0435\u043a \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u043e\u043d \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442 \u043d\u0430 \u044d\u0442\u043e \u0446\u0435\u043b\u044b\u0439 \u0447\u0430\u0441, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c K \u043f\u0435\u0447\u0435\u043d\u0435\u043a, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0442\u044c \u0441 \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043f\u043b\u0430\u043d\u044b.<\/p>\n<p>\u041a\u043e\u043b\u043b\u0435\u0433\u0438, \u0438\u0437 \u0443\u0432\u0430\u0436\u0435\u043d\u0438\u044f \u043a \u0424\u0451\u0434\u043e\u0440\u0443, \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u044e\u0442 \u0435\u0433\u043e \u043b\u044e\u0431\u0438\u043c\u044b\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438.<\/p>\n<p>\u0412\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u2013 \u043d\u0430\u0439\u0442\u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0435 K. \u0415\u0441\u043b\u0438 \u0424\u0451\u0434\u043e\u0440 \u043d\u0435 \u0443\u0441\u043f\u0435\u0435\u0442 \u0441\u044a\u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438, \u0438\u043b\u0438 \u0432 \u043e\u0444\u0438\u0441\u0435 \u043d\u0435\u0442 \u043f\u0435\u0447\u0435\u043d\u0435\u043a \u2013 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 0.  <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440: <\/p>\n<pre><code>3 6 4 4 5<\/code><\/pre>\n<p>\u0412\u044b\u0432\u043e\u0434:\u00a0<code>3<\/code>  <\/p>\n<p>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0424\u0451\u0434\u043e\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0432\u0435\u0441\u044c \u0447\u0430\u0441 \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u0442\u044c \u0438 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0447\u0435\u043d\u0435\u043a \u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0435\u0441\u0442 \u0441 \u043e\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u0438\u0435\u043c \u0432 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443. \u0415\u0449\u0435 \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c \u043e \u0433\u0440\u0430\u043d\u0438\u0447\u043d\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u2014 \u0435\u0441\u043b\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0435\u0441\u0442 \u0441 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0430\u043c\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0447\u0430\u0441\u043e\u0432, \u0424\u0451\u0434\u043e\u0440 \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u0443\u0441\u043f\u0435\u0435\u0442. \u0418, \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0431\u044b\u0432\u0430\u0435\u0442 \u0432 \u043d\u0430\u0448\u0438\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438: \u0432 \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u0442\u0435\u0441\u0442\u0435 \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 N = 100 000, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0435\u0440\u0435\u0431\u043e\u0440 \u043d\u0435 \u0443\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 1 \u0441\u0435\u043a\u0443\u043d\u0434\u0443.<\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0443\u0441\u043b\u043e\u0432\u0438\u0439, \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u043c \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043f\u043e\u0438\u0441\u043a. \u0412\u043e\u0442 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430 python:<\/p>\n<pre><code class=\"python\">import math  # \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0443\u0441\u043f\u0435\u0442\u044c \u0441\u044a\u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438 \u0441 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c def can_be_eaten(cookies_amounts, per_hour, hours):     time_to_eat = 0     for amount in cookies_amounts:         time_to_eat += math.ceil(amount \/ per_hour)      return time_to_eat &lt;= hours   def get_minimal_amount_to_eat(cookies_amounts, hours):     # \u0415\u0441\u043b\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0435\u0441\u0442 \u0441 \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0430\u043c\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0447\u0430\u0441\u043e\u0432 - \u0424\u0451\u0434\u043e\u0440 \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u0443\u0441\u043f\u0435\u0435\u0442     if len(list(filter(lambda amount: amount > 0, cookies_amounts))) > hours:         return 0      start = 1     end = max(cookies_amounts)      while start &lt; end:         # \u041f\u0440\u0438\u0431\u043b\u0438\u0436\u0430\u0435\u043c\u0441\u044f \u043a \u0442\u043e\u0447\u043d\u043e\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u0447\u0435\u0440\u0435\u0437 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043f\u043e\u0438\u0441\u043a         middle = start + math.floor((end - start) \/ 2)          if can_be_eaten(cookies_amounts, middle, hours):             end = middle         else:             start = middle + 1      return end   if __name__ == '__main__':     N, M = [int(x) for x in input().split()]  # \u0427\u0438\u0442\u0430\u0435\u043c N \u0438 M \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435     C = [int(input()) for _ in range(N)]  # \u0427\u0438\u0442\u0430\u0435\u043c Cn \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0440\u043e\u043a\u0430\u0445      print(get_minimal_amount_to_eat(C, M))<\/code><\/pre>\n<p>\u0412 \u043e\u0431\u0449\u0435\u043c, \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e, \u043f\u043e\u0435\u0445\u0430\u043b\u0438 \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<h4>\u0417\u0430\u0434\u0430\u0447\u0430 2. \u041b\u0430\u0431\u0438\u0440\u0438\u043d\u0442<\/h4>\n<p>\u0412\u044b \u043e\u0447\u043d\u0443\u043b\u0438\u0441\u044c \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u044f\u0447\u0435\u0439\u043a\u0435 (x1,y1) \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0430, \u0441 \u0435\u0433\u043e \u043a\u0430\u0440\u0442\u043e\u0439 \u0432 \u0440\u0443\u043a\u0435. \u041a\u0430\u0440\u0442\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043e\u043a\u0440\u0443\u0436\u0451\u043d\u043d\u044b\u0439 \u0441\u043f\u043b\u043e\u0448\u043d\u043e\u0439 \u0441\u0442\u0435\u043d\u043e\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u043c\u0438 N \u043d\u0430 M, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u044f\u0447\u0435\u0435\u043a, \u043a\u0430\u0436\u0434\u0430\u044f \u044f\u0447\u0435\u0439\u043a\u0430 \u0441\u0430\u043c\u043e\u0433\u043e \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0430 \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0445\u043e\u0434 0 \u0438\u043b\u0438 \u0441\u0442\u0435\u043d\u0430 1. \u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438 (\u043c\u0435\u043d\u044f\u044f \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0443 x) \u043b\u0438\u0431\u043e \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438 (\u043c\u0435\u043d\u044f\u044f \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0443 y) \u043d\u0430 \u043e\u0434\u043d\u0443 \u044f\u0447\u0435\u0439\u043a\u0443. \u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u0438 (\u043c\u0435\u043d\u044f\u044f \u0437\u0430 \u043e\u0434\u0438\u043d \u0448\u0430\u0433 \u043e\u0431\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b) \u043d\u0435\u043b\u044c\u0437\u044f.<\/p>\n<p>\u041d\u0430 \u043a\u0430\u0440\u0442\u0435 \u043e\u0442\u043c\u0435\u0447\u0435\u043d \u0432\u044b\u0445\u043e\u0434, \u0438 \u043e\u043d \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u044f\u0447\u0435\u0439\u043a\u0435 \u0441 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c\u0438 (x2,y2).<\/p>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u2014 \u043d\u0430\u0439\u0442\u0438 \u0434\u043b\u0438\u043d\u0443 \u043a\u0440\u0430\u0442\u0447\u0430\u0439\u0448\u0435\u0433\u043e \u043f\u0443\u0442\u0438 \u0438\u0437 \u044f\u0447\u0435\u0439\u043a\u0438 \u043f\u0440\u043e\u0431\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0432 \u044f\u0447\u0435\u0439\u043a\u0443 \u0432\u044b\u0445\u043e\u0434\u0430. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u043d\u0435\u0442 \u2014 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 0<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code>3 3 0 0 2 0 0 1 0 0 1 0 0 0 0<\/code><\/pre>\n<p>\u0412\u044b\u0432\u043e\u0434:\u00a0<code>6<\/code><\/p>\n<p>\u0422\u043e\u0436\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u2013 \u043f\u043e \u0441\u0443\u0442\u0438, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0439\u0442\u0438 \u043f\u043e \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0443 \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u0432 \u0434\u0440\u0443\u0433\u0443\u044e, \u043d\u043e IDCLIP \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f (\u043d\u0435\u043b\u044c\u0437\u044f \u0445\u043e\u0434\u0438\u0442\u044c \u0441\u043a\u0432\u043e\u0437\u044c \u0441\u0442\u0435\u043d\u044b). \u0418\u0437 \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0445 \u043e\u0448\u0438\u0431\u043e\u043a \u0432 \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435 \u2013 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043b\u0438\u0431\u043e \u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u043f\u0435\u0440\u0435\u0431\u0440\u0430\u0442\u044c \u044f\u0447\u0435\u0439\u043a\u0438 \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043f\u0430\u0440\u0443 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0446\u0438\u043a\u043b\u043e\u0432, \u0447\u0442\u043e \u0432\u044b\u0434\u0430\u0435\u0442 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u043e\u0432 \u043f\u0443\u0442\u0438, \u043b\u0438\u0431\u043e, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 BFS\/DFS \u0437\u0430\u0431\u044b\u0432\u0430\u043b\u0438 \u043f\u0440\u043e \u0443\u0447\u0435\u0442 \u043f\u043e\u0441\u0435\u0449\u0435\u043d\u043d\u044b\u0445 \u044f\u0447\u0435\u0435\u043a \u0438 \u0443\u0445\u043e\u0434\u0438\u043b\u0438 \u0432 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0435 \u043f\u0443\u0442\u0435\u0448\u0435\u0441\u0442\u0432\u0438\u0435, \u0438\u043b\u0438 \u0437\u0430\u0431\u044b\u0432\u0430\u043b\u0438, \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 DFS \u043f\u0443\u0442\u044c \u2013 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0430\u043c\u044b\u0439 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439. \u0422\u0430\u043a\u0436\u0435, \u0431\u044b\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0439 \u043b\u0438\u043c\u0438\u0442\u043e\u0432 \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0435 500 \u043d\u0430 500, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u0443\u0442\u044c \u0431\u044b\u043b \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u043b\u0438\u043d\u043d\u0435\u0435, \u0447\u0435\u043c \u0434\u0438\u0430\u0433\u043e\u043d\u0430\u043b\u044c.<\/p>\n<p>\u0418\u0437 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e, \u043f\u043e\u0434\u043e\u0439\u0434\u0451\u0442 \u043b\u0438\u0431\u043e DFS \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u043e\u0439 \u0434\u043b\u0438\u043d\u044b \u043f\u0443\u0442\u0438, \u043b\u0438\u0431\u043e BFS \u2013 \u0442\u0430\u043c \u043f\u0435\u0440\u0432\u044b\u0439 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 \u0443\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u0430\u043c\u044b\u043c \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u043c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439:<\/p>\n<pre><code class=\"python\">from collections import deque   # \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u044f\u0447\u0435\u0439\u043a\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u043b\u0430\u0431\u0438\u0440\u0438\u043d\u0442\u0430 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 def is_valid(x, y, N, M, maze):     if 0 &lt;= x &lt; M and 0 &lt;= y &lt; N:         return maze[y][x] == 0     else:         return False   def shortest_path_length(N, M, x1, y1, x2, y2, maze):     queue = deque([(x1, y1, 0)])  # \u041a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 - \u043a\u043e\u0440\u0442\u0435\u0436 (x, y, \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0435)      visited = [[False] * N for _ in range(M)]     visited[x1][y1] = True      # \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f (\u0432\u0432\u0435\u0440\u0445, \u0432\u043d\u0438\u0437, \u0432\u043b\u0435\u0432\u043e, \u0432\u043f\u0440\u0430\u0432\u043e)     directions = [(-1, 0), (1, 0), (0, -1), (0, 1)]      while queue:         x, y, distance = queue.popleft()          if x == x2 and y == y2:             return distance          for dx, dy in directions:             new_x, new_y = x + dx, y + dy             if is_valid(new_x, new_y, N, M, maze) and not visited[new_x][new_y]:                 queue.append((new_x, new_y, distance + 1))                 visited[new_x][new_y] = True      return 0   if __name__ == '__main__':     N, M = map(int, input().split())     x1, y1 = map(int, input().split())     x2, y2 = map(int, input().split())          maze = []     for _ in range(N):         row = list(map(int, input().split()))         maze.append(row)          print(shortest_path_length(N, M, x1, y1, x2, y2, maze))<\/code><\/pre>\n<p>\u041a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e, \u0432\u043e\u0442 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430<a href=\"https:\/\/github.com\/hhru\/school-tasks-tester\/tree\/master\/2023\"> \u043f\u043e\u043b\u043d\u044b\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0438 \u043d\u0430\u0448\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0435 \u0442\u0435\u0441\u0442\u044b<\/a><\/p>\n<h3>\u041d\u0443 \u0432\u043e\u0442 \u0438 \u0432\u0441\u0451<\/h3>\n<p>\u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u043f\u043e\u0434\u0430\u0435\u0442 \u0437\u0430\u044f\u0432\u043a\u0438 \u0432 \u043d\u0430\u0448\u0443 \u0428\u043a\u043e\u043b\u0443 \u0438 \u0440\u0435\u0448\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u043a\u0438. \u041d\u0430\u0434\u0435\u0435\u043c\u0441\u044f, \u043e\u043d\u0438 \u0432\u0430\u043c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c! \u041d\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u0435\u0441\u043b\u0438 \u0432\u044b \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0432\u044f\u0437\u044c \u043f\u043e \u0437\u0430\u0434\u0430\u0447\u0430\u043c \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c \u043d\u0430\u0431\u043e\u0440\u0430 \u2014 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u044f\u043c\u043e \u0437\u0434\u0435\u0441\u044c, \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043f\u043e\u0434 \u0441\u0442\u0430\u0442\u044c\u0435\u0439.\u00a0<\/p>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u0442\u0435\u043c, \u043a\u043e\u0433\u043e \u0441 \u043a\u0430\u0436\u0434\u044b\u043c \u0433\u043e\u0434\u043e\u043c \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u2014 \u043a \u0441\u043f\u0438\u0441\u0430\u0432\u0448\u0438\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u041d\u0435 \u043d\u0430\u0434\u043e \u0442\u0430\u043a. \u041c\u044b \u0443\u0436\u0435 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u043d\u043e\u0435 \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 live-coding, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043a\u0440\u0430\u0439\u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e \u0441\u043f\u0438\u0441\u0430\u0442\u044c. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0433\u043e\u0434\u0443 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0451 \u0441\u0430\u043c\u0438, \u0442\u0430\u043a \u0432\u0435\u0434\u044c \u0432 \u0440\u0430\u0437\u044b \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435.\u00a0<\/p>\n<p>\u0423\u0432\u0438\u0434\u0438\u043c\u0441\u044f \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0433\u043e\u0434\u0443!\u00a0\u0410 \u043f\u043e\u043a\u0430 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0434\u044b, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432 \u043d\u0430\u0448\u0435\u043c \u0435\u0436\u0435\u0433\u043e\u0434\u043d\u043e\u043c \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0438 \u0443\u0437\u043d\u0430\u0432\u0430\u0435\u043c\u043e\u0441\u0442\u0438 \u0431\u0440\u0435\u043d\u0434\u043e\u0432 IT-\u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0439\u0442\u0438 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439, \u043d\u043e \u043e\u0447\u0435\u043d\u044c <a href=\"https:\/\/kakdela.hh.ru\/poll\/4DtjQDeX0rEq8QO9XRESUhZx\"><strong>\u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043e\u043f\u0440\u043e\u0441<\/strong><\/a>. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u043c\u0441\u044f \u0441 \u0432\u0430\u043c\u0438 \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u0430\u043a <a href=\"https:\/\/habr.com\/ru\/companies\/hh\/articles\/653001\/\">\u0437\u0434\u0435\u0441\u044c <\/a>\u0438 <a href=\"https:\/\/habr.com\/ru\/companies\/hh\/articles\/523248\/\">\u0437\u0434\u0435\u0441\u044c<\/a>. <\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/769642\/\"> https:\/\/habr.com\/ru\/articles\/769642\/<\/a><br \/><\/br><\/br><\/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-358379","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/358379","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=358379"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/358379\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=358379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=358379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=358379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}