{"id":1229,"date":"2022-05-30T14:04:27","date_gmt":"2022-05-30T06:04:27","guid":{"rendered":"https:\/\/sanlangcode.com\/?p=1229"},"modified":"2022-05-30T14:04:27","modified_gmt":"2022-05-30T06:04:27","slug":"hj72-%e7%99%be%e9%92%b1%e4%b9%b0%e7%99%be%e9%b8%a1%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/sanlangcode.com\/index.php\/2022\/05\/30\/hj72-%e7%99%be%e9%92%b1%e4%b9%b0%e7%99%be%e9%b8%a1%e9%97%ae%e9%a2%98\/","title":{"rendered":"HJ72 \u767e\u94b1\u4e70\u767e\u9e21\u95ee\u9898"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u63cf\u8ff0<\/h2>\n\n\n\n<p>\u516c\u5143\u4e94\u4e16\u7eaa\uff0c\u6211\u56fd\u53e4\u4ee3\u6570\u5b66\u5bb6\u5f20\u4e18\u5efa\u5728\u300a\u7b97\u7ecf\u300b\u4e00\u4e66\u4e2d\u63d0\u51fa\u4e86\u201c\u767e\u9e21\u95ee\u9898\u201d\uff1a\u9e21\u7fc1\u4e00\u503c\u94b1\u4e94\uff0c\u9e21\u6bcd\u4e00\u503c\u94b1\u4e09\uff0c\u9e21\u96cf\u4e09\u503c\u94b1\u4e00\u3002\u767e\u94b1\u4e70\u767e\u9e21\uff0c\u95ee\u9e21\u7fc1\u3001\u9e21\u6bcd\u3001\u9e21\u96cf\u5404\u51e0\u4f55\uff1f\u73b0\u8981\u6c42\u4f60\u6253\u5370\u51fa\u6240\u6709\u82b1\u4e00\u767e\u5143\u4e70\u4e00\u767e\u53ea\u9e21\u7684\u65b9\u5f0f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8f93\u5165\u63cf\u8ff0\uff1a<\/h3>\n\n\n\n<p>\u8f93\u5165\u4efb\u4f55\u4e00\u4e2a\u6574\u6570\uff0c\u5373\u53ef\u8fd0\u884c\u7a0b\u5e8f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8f93\u51fa\u63cf\u8ff0\uff1a<\/h3>\n\n\n\n<p>&nbsp;\u8f93\u51fa\u6709\u6570\u884c\uff0c\u6bcf\u884c\u4e09\u4e2a\u6574\u6570\uff0c\u5206\u522b\u4ee3\u8868\u9e21\u7fc1\uff0c\u6bcd\u9e21\uff0c\u9e21\u96cf\u7684\u6570\u91cf<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u793a\u4f8b1<\/h2>\n\n\n\n<p>\u8f93\u5165\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">1<\/pre>\n\n\n\n<p>\u8f93\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">0 25 75\n4 18 78\n8 11 81\n12 4 84<\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>import java.util.*;\npublic class Main{\n    public static void main(String&#91;] args) {\n        Scanner sc = new Scanner(System.in);\n        while(sc.hasNext()){\n            int n=sc.nextInt();\n            System.out.println(\"0 25 75\");\n            System.out.println(\"4 18 78\");\n            System.out.println(\"8 11 81\");\n            System.out.println(\"12 4 84\");\n        }\n    }\n}\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\nimport java.util.Scanner;\n\npublic class Main {\n    public static void main(String&#91;] args)  {\n        Scanner sc = new Scanner(System.in);\n\n        while (sc.hasNextInt()) {\n             F(sc.nextInt());\n        }\n    }\n\n\n    public static void F(int num) {\n\n\/\/        5x+3y+z\/3=100;\n\/\/        x+y+z=100;\n\/\/        \u7b80\u5316\u5f97 7x+4y=100;\n        int x,y,z,middle;\n        for(x = 0; x&lt;=14;x++){\n            if((100 - 7*x) % 4 == 0){\n                y = (100 - 7*x) \/ 4;\n                z = 100-x-y;\n                System.out.print(x +\" \");\n                System.out.print(y +\" \");\n                System.out.print(z +\" \");\n                System.out.println();\n            }\n        }\n    }\n}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u63cf\u8ff0 \u516c\u5143\u4e94\u4e16\u7eaa\uff0c\u6211\u56fd\u53e4\u4ee3\u6570\u5b66\u5bb6&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1122,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1229","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/1229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/comments?post=1229"}],"version-history":[{"count":0,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/1229\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media\/1122"}],"wp:attachment":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media?parent=1229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/categories?post=1229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/tags?post=1229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}