{"id":130,"date":"2017-02-21T19:40:00","date_gmt":"2017-02-21T11:40:00","guid":{"rendered":"https:\/\/cn1.club\/?p=130"},"modified":"2025-03-13T20:10:34","modified_gmt":"2025-03-13T12:10:34","slug":"day4-%e7%ac%94%e8%ae%b0-%e5%be%aa%e7%8e%af%e7%bb%93%e6%9e%84-for%e8%af%ad%e5%8f%a5%e7%9a%84%e7%bb%83%e4%b9%a0%e4%b9%8b%e6%b0%b4%e4%bb%99%e8%8a%b1","status":"publish","type":"post","link":"https:\/\/cn1.club\/?p=130","title":{"rendered":"Day4 \u7b14\u8bb0 \u5faa\u73af\u7ed3\u6784 for\u8bed\u53e5\u7684\u7ec3\u4e60\u4e4b\u6c34\u4ed9\u82b1"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code class=\"prettyprint\" >\/*\n\u6848\u4f8b\u6f14\u793a\n\n\u9700\u6c42\uff1a\u5728\u63a7\u5236\u53f0\u8f93\u51fa\u6240\u6709\u7684\u201d\u6c34\u4ed9\u82b1\u6570\u201d\n\u6240\u8c13\u7684\u6c34\u4ed9\u82b1\u6570\u662f\u6307\u4e00\u4e2a\u4e09\u4f4d\u6570\uff0c\u5176\u5404\u4f4d\u6570\u5b57\u7684\u7acb\u65b9\u548c\u7b49\u4e8e\u8be5\u6570\u672c\u8eab\u3002\n\u4e3e\u4f8b\uff1a153\u5c31\u662f\u4e00\u4e2a\u6c34\u4ed9\u82b1\u6570\u3002\n153 = 111 + 555 + 333 = 1 + 125 + 27 = 153\n\n\t\u5206\u6790:\n\t1,100 - 999\n\t2,\u83b7\u53d6\u6bcf\u4e00\u4e2a\u4f4d\u6570\u7684\u503c,\u767e\u4f4d,\u5341\u4f4d,\u4e2a\u4f4d\n\t3.\u5224\u65ad\u5404\u4e2a\u4f4d\u4e0a\u7684\u7acb\u65b9\u548c\u662f\u5426\u7b49\u4e8e\u8fd9\u4e2a\u6570,\u5982\u679c\u7b49\u4e8e\u6253\u5370\n*\/\n\n\nclass Test3_Flower {\n\tpublic static void main(String&#091;] args) {\n\t\tfor (int i = 100;i &lt;= 999 ;i++ ) {\t\t\t\t\t\t\t\t\t\/\/\u83b7\u53d6100\u5230999\u4e4b\u95f4\u7684\u6570\n\t\t\tint ge = i % 10;\t\t\t\t\t\t\t\t\t\t\t\t\/\/123 % 10\n\t\t\tint shi = i \/10 % 10;\t\t\t\t\t\t\t\t\t\t\t\/\/12 % 10\n\t\t\tint bai = i \/10 \/ 10 %10;\t\t\t\t\t\t\t\t\t\t\/\/ 1 % 10\n\t\tif (ge * ge * ge +  shi * shi * shi + bai* bai *bai == i ) {\n\t\t\tSystem.out.println(i);\n\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(&quot;Hello World!&quot;);\n\t}\n}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":196,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"class_list":["post-130","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-xuexi"],"_links":{"self":[{"href":"https:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/posts\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=130"}],"version-history":[{"count":0,"href":"https:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cn1.club\/index.php?rest_route=\/wp\/v2\/media\/196"}],"wp:attachment":[{"href":"https:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn1.club\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}