{"id":952,"date":"2016-07-06T12:08:51","date_gmt":"2016-07-06T09:08:51","guid":{"rendered":"http:\/\/java.mazurok.com\/?p=952"},"modified":"2016-07-06T13:36:38","modified_gmt":"2016-07-06T10:36:38","slug":"e-olimp-903-%d0%bf%d0%b5%d1%80%d0%b2%d0%b0%d1%8f-%d0%b8%d0%bb%d0%b8-%d0%bf%d0%be%d1%81%d0%bb%d0%b5%d0%b4%d0%bd%d1%8f%d1%8f","status":"publish","type":"post","link":"https:\/\/java.mazurok.com\/?p=952","title":{"rendered":"e-olymp 903. \u041f\u0435\u0440\u0432\u0430\u044f \u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f?"},"content":{"rendered":"<h3>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438<\/h3>\n<p>\u0417\u0430\u0434\u0430\u043d\u043e \u0442\u0440\u0435\u0445\u0437\u043d\u0430\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e. \u041a\u0430\u043a\u0430\u044f \u0446\u0438\u0444\u0440\u0430 \u0432 \u043d\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435: \u043f\u0435\u0440\u0432\u0430\u044f \u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f?<\/p>\n<h3>\u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/h3>\n<p>\u041e\u0434\u043d\u043e \u0442\u0440\u0435\u0445\u0437\u043d\u0430\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e.<\/p>\n<h3>\u0412\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/h3>\n<p>\u0412\u044b\u0432\u0435\u0441\u0442\u0438 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0438\u0437 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0446\u0438\u0444\u0440. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0445 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0437\u043d\u0430\u043a \u201c=\u201d (\u0431\u0435\u0437 \u043a\u0430\u0432\u044b\u0447\u0435\u043a).<\/p>\n<table style=\"height: 270px;width: 289px\">\n<tbody>\n<tr style=\"height: 20.0313px\">\n<td style=\"width: 32px;height: 20.0313px;text-align: center\"><\/td>\n<td style=\"width: 172px;height: 20.0313px;text-align: center\">\u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/td>\n<td style=\"width: 144px;height: 20.0313px;text-align: center\">\u00a0\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 32px;height: 24px;text-align: center\">1<\/td>\n<td style=\"width: 172px;height: 24px;text-align: center\">328<\/td>\n<td style=\"width: 144px;height: 24px;text-align: center\">8<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 32px;height: 24px;text-align: center\">2<\/td>\n<td style=\"width: 172px;height: 24px;text-align: center\">956<\/td>\n<td style=\"width: 144px;height: 24px;text-align: center\">9<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 32px;height: 24px;text-align: center\">3<\/td>\n<td style=\"width: 172px;height: 24px;text-align: center\">384<\/td>\n<td style=\"width: 144px;height: 24px;text-align: center\">4<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 32px;height: 24px;text-align: center\">4<\/td>\n<td style=\"width: 172px;height: 24px;text-align: center\">672<\/td>\n<td style=\"width: 144px;height: 24px;text-align: center\">6<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 32px;height: 24px;text-align: center\">5<\/td>\n<td style=\"width: 172px;height: 24px;text-align: center\">588<\/td>\n<td style=\"width: 144px;height: 24px;text-align: center\">8<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 32px;height: 24px;text-align: center\">6<\/td>\n<td style=\"width: 172px;height: 24px;text-align: center\">733<\/td>\n<td style=\"width: 144px;height: 24px;text-align: center\">7<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 32px;height: 24px;text-align: center\">7<\/td>\n<td style=\"width: 172px;height: 24px;text-align: center\">797<\/td>\n<td style=\"width: 144px;height: 24px;text-align: center\">=<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 32px;height: 24px;text-align: center\">8<\/td>\n<td style=\"width: 172px;height: 24px;text-align: center\">555<\/td>\n<td style=\"width: 144px;height: 24px;text-align: center\">=<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre class=\"font-size:10 top-margin:13 bottom-margin:13 left-margin:13 right-margin:13 toolbar:2 show-lang:1 lang:java decode:true \">import java.util.*;\r\nimport java.lang.*;\r\nimport java.io.*;\r\n\r\nclass Ideone {\r\n\tpublic static void main (String[] args) throws java.lang.Exception {\r\n\t\tScanner in = new Scanner(System.in);\r\n\t\tint a=Math.abs(in.nextInt());\r\n\t\tint b = a%10;\r\n\t\ta \/= 100;\r\n\t\tSystem.out.print((a == b ? \"=\" : (a &gt; b ? a: b)));\r\n\t}\r\n}<\/pre>\n<p><a href=\"https:\/\/www.e-olymp.com\/ru\/submissions\/2716148\">e-olymp.com<\/a><br \/>\n<a href=\"http:\/\/ideone.com\/q7VN3J\">ideone.com<\/a><\/p>\n<p>\u041f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u0435:<\/p>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u0435\u0440\u0432\u0443\u044e \u0446\u0438\u0444\u0440\u0443[latex](a)[\/latex]\u0442\u0440\u0435\u0445\u0437\u043d\u0430\u0447\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430\u00a0[latex]n[\/latex] \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0439\u0442\u0438 \u0446\u0435\u043b\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043e\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u043d\u0430 \u0441\u0442\u043e, \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u0444\u043e\u0440\u043c\u0443\u043b\u043e\u0439 \u00a0[latex] a=\\frac{n}{100}.[\/latex] \u00a0\u0427\u0442\u043e\u0431\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0442\u043e\u0440\u0443\u044e \u0446\u0438\u0444\u0440\u0443 [latex](b)[\/latex] \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0439\u0442\u0438 \u043e\u0441\u0442\u0430\u0442\u043e\u043a \u043e\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u0430 \u043d\u0430 \u0434\u0435\u0441\u044f\u0442\u044c, \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u0444\u043e\u0440\u043c\u0443\u043b\u043e\u0439 [latex]b=n%10[\/latex] . \u0417\u0430\u0442\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0432\u043d\u044b \u043b\u0438 \u044d\u0442\u0438 \u0446\u0438\u0444\u0440\u044b, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442-\u043d\u0430\u0439\u0442\u0438 \u0431\u043e\u043b\u044c\u0448\u0443\u044e.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u0417\u0430\u0434\u0430\u043d\u043e \u0442\u0440\u0435\u0445\u0437\u043d\u0430\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e. \u041a\u0430\u043a\u0430\u044f \u0446\u0438\u0444\u0440\u0430 \u0432 \u043d\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435: \u043f\u0435\u0440\u0432\u0430\u044f \u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f? \u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u041e\u0434\u043d\u043e \u0442\u0440\u0435\u0445\u0437\u043d\u0430\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e. \u0412\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0412\u044b\u0432\u0435\u0441\u0442\u0438 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0438\u0437 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0446\u0438\u0444\u0440. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0445 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0437\u043d\u0430\u043a \u201c=\u201d (\u0431\u0435\u0437 \u043a\u0430\u0432\u044b\u0447\u0435\u043a). \u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u00a0\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 1 328 8 2 956 9 3 384 4 4 672 6 5 588 8 6 733 7 &hellip; <a href=\"https:\/\/java.mazurok.com\/?p=952\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":85,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/952"}],"collection":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/users\/85"}],"replies":[{"embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=952"}],"version-history":[{"count":14,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/952\/revisions"}],"predecessor-version":[{"id":1036,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/952\/revisions\/1036"}],"wp:attachment":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}