{"id":41086,"date":"2025-05-31T06:02:24","date_gmt":"2025-05-30T22:02:24","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/41086.html"},"modified":"2025-05-31T06:02:24","modified_gmt":"2025-05-30T22:02:24","slug":"p1068-noip-2009-%e6%99%ae%e5%8f%8a%e7%bb%84-%e5%88%86%e6%95%b0%e7%ba%bf%e5%88%92%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/41086.html","title":{"rendered":"P1068 [NOIP 2009 \u666e\u53ca\u7ec4] \u5206\u6570\u7ebf\u5212\u5b9a"},"content":{"rendered":"<h3>\u9898\u76ee\u63cf\u8ff0<\/h3>\n<p>\u4e16\u535a\u4f1a\u5fd7\u613f\u8005\u7684\u9009\u62d4\u5de5\u4f5c\u6b63\u5728 A \u5e02\u5982\u706b\u5982\u837c\u7684\u8fdb\u884c\u3002\u4e3a\u4e86\u9009\u62d4\u6700\u5408\u9002\u7684\u4eba\u624d&#xff0c;A \u5e02\u5bf9\u6240\u6709\u62a5\u540d\u7684\u9009\u624b\u8fdb\u884c\u4e86\u7b14\u8bd5&#xff0c;\u7b14\u8bd5\u5206\u6570\u8fbe\u5230\u9762\u8bd5\u5206\u6570\u7ebf\u7684\u9009\u624b\u65b9\u53ef\u8fdb\u5165\u9762\u8bd5\u3002\u9762\u8bd5\u5206\u6570\u7ebf\u6839\u636e\u8ba1\u5212\u5f55\u53d6\u4eba\u6570\u7684\u00a0150%\u00a0\u5212\u5b9a&#xff0c;\u5373\u5982\u679c\u8ba1\u5212\u5f55\u53d6\u00a0m\u00a0\u540d\u5fd7\u613f\u8005&#xff0c;\u5219\u9762\u8bd5\u5206\u6570\u7ebf\u4e3a\u6392\u540d\u7b2c\u00a0m\u00d7150%&#xff08;\u5411\u4e0b\u53d6\u6574&#xff09;\u540d\u7684\u9009\u624b\u7684\u5206\u6570&#xff0c;\u800c\u6700\u7ec8\u8fdb\u5165\u9762\u8bd5\u7684\u9009\u624b\u4e3a\u7b14\u8bd5\u6210\u7ee9\u4e0d\u4f4e\u4e8e\u9762\u8bd5\u5206\u6570\u7ebf\u7684\u6240\u6709\u9009\u624b\u3002<\/p>\n<p>\u73b0\u5728\u5c31\u8bf7\u4f60\u7f16\u5199\u7a0b\u5e8f\u5212\u5b9a\u9762\u8bd5\u5206\u6570\u7ebf&#xff0c;\u5e76\u8f93\u51fa\u6240\u6709\u8fdb\u5165\u9762\u8bd5\u7684\u9009\u624b\u7684\u62a5\u540d\u53f7\u548c\u7b14\u8bd5\u6210\u7ee9\u3002<\/p>\n<h3>\u8f93\u5165\u683c\u5f0f<\/h3>\n<p>\u7b2c\u4e00\u884c&#xff0c;\u4e24\u4e2a\u6574\u6570\u00a0n,m(5\u2264n\u22645000,3\u2264m\u2264n)&#xff0c;\u4e2d\u95f4\u7528\u4e00\u4e2a\u7a7a\u683c\u9694\u5f00&#xff0c;\u5176\u4e2d\u00a0n\u00a0\u8868\u793a\u62a5\u540d\u53c2\u52a0\u7b14\u8bd5\u7684\u9009\u624b\u603b\u6570&#xff0c;m\u00a0\u8868\u793a\u8ba1\u5212\u5f55\u53d6\u7684\u5fd7\u613f\u8005\u4eba\u6570\u3002\u8f93\u5165\u6570\u636e\u4fdd\u8bc1\u00a0m\u00d7150%\u00a0\u5411\u4e0b\u53d6\u6574\u540e\u5c0f\u4e8e\u7b49\u4e8e\u00a0n\u3002<\/p>\n<p>\u7b2c\u4e8c\u884c\u5230\u7b2c\u00a0n&#043;1\u00a0\u884c&#xff0c;\u6bcf\u884c\u5305\u62ec\u4e24\u4e2a\u6574\u6570&#xff0c;\u4e2d\u95f4\u7528\u4e00\u4e2a\u7a7a\u683c\u9694\u5f00&#xff0c;\u5206\u522b\u662f\u9009\u624b\u7684\u62a5\u540d\u53f7\u00a0k(1000\u2264k\u22649999)\u548c\u8be5\u9009\u624b\u7684\u7b14\u8bd5\u6210\u7ee9\u00a0s(1\u2264s\u2264100)\u3002\u6570\u636e\u4fdd\u8bc1\u9009\u624b\u7684\u62a5\u540d\u53f7\u5404\u4e0d\u76f8\u540c\u3002<\/p>\n<h3>\u8f93\u51fa\u683c\u5f0f<\/h3>\n<p>\u7b2c\u4e00\u884c&#xff0c;\u6709\u00a02\u00a0\u4e2a\u6574\u6570&#xff0c;\u7528\u4e00\u4e2a\u7a7a\u683c\u9694\u5f00&#xff0c;\u7b2c\u4e00\u4e2a\u6574\u6570\u8868\u793a\u9762\u8bd5\u5206\u6570\u7ebf&#xff1b;\u7b2c\u4e8c\u4e2a\u6574\u6570\u4e3a\u8fdb\u5165\u9762\u8bd5\u7684\u9009\u624b\u7684\u5b9e\u9645\u4eba\u6570\u3002<\/p>\n<p>\u4ece\u7b2c\u4e8c\u884c\u5f00\u59cb&#xff0c;\u6bcf\u884c\u5305\u542b\u00a02\u00a0\u4e2a\u6574\u6570&#xff0c;\u4e2d\u95f4\u7528\u4e00\u4e2a\u7a7a\u683c\u9694\u5f00&#xff0c;\u5206\u522b\u8868\u793a\u8fdb\u5165\u9762\u8bd5\u7684\u9009\u624b\u7684\u62a5\u540d\u53f7\u548c\u7b14\u8bd5\u6210\u7ee9&#xff0c;\u6309\u7167\u7b14\u8bd5\u6210\u7ee9\u4ece\u9ad8\u5230\u4f4e\u8f93\u51fa&#xff0c;\u5982\u679c\u6210\u7ee9\u76f8\u540c&#xff0c;\u5219\u6309\u62a5\u540d\u53f7\u7531\u5c0f\u5230\u5927\u7684\u987a\u5e8f\u8f93\u51fa\u3002<\/p>\n<h3>\u8f93\u5165\u8f93\u51fa\u6837\u4f8b<\/h3>\n<p>\u8f93\u5165\u00a0<\/p>\n<p>6 3<br \/>\n1000 90<br \/>\n3239 88<br \/>\n2390 95<br \/>\n7231 84<br \/>\n1005 95<br \/>\n1001 88 <\/p>\n<p>\u8f93\u51fa\u00a0<\/p>\n<p>88 5<br \/>\n1005 95<br \/>\n2390 95<br \/>\n1000 90<br \/>\n1001 88<br \/>\n3239 88  <\/p>\n<h3>\u8bf4\u660e\/\u63d0\u793a<\/h3>\n<p>\u3010\u6837\u4f8b\u8bf4\u660e\u3011<\/p>\n<p>m\u00d7150%&#061;3\u00d7150%&#061;4.5&#xff0c;\u5411\u4e0b\u53d6\u6574\u540e\u4e3a\u00a04\u3002\u4fdd\u8bc1\u00a04\u00a0\u4e2a\u4eba\u8fdb\u5165\u9762\u8bd5\u7684\u5206\u6570\u7ebf\u4e3a\u00a088&#xff0c;\u4f46\u56e0\u4e3a\u00a088\u00a0\u6709\u91cd\u5206&#xff0c;\u6240\u4ee5\u6240\u6709\u6210\u7ee9\u5927\u4e8e\u7b49\u4e8e\u00a088\u00a0\u7684\u9009\u624b\u90fd\u53ef\u4ee5\u8fdb\u5165\u9762\u8bd5&#xff0c;\u6545\u6700\u7ec8\u6709\u00a05\u00a0\u4e2a\u4eba\u8fdb\u5165\u9762\u8bd5\u3002<\/p>\n<h3>\u4ee3\u7801<\/h3>\n<h4>\u65e0\u6ce8\u91ca\u7248<\/h4>\n<p>#include&lt;bits\/stdc&#043;&#043;.h&gt;<br \/>\nusing namespace std;<br \/>\nstruct xs{<br \/>\nint h;<br \/>\nint s;<br \/>\n}a[5010];<br \/>\nbool cmp(xs p, xs q){<br \/>\nif(p.s&#061;&#061;q.s) return p.h&lt;q.h;<br \/>\nelse return p.s&gt;q.s;<br \/>\n}<br \/>\nint main(){<br \/>\nint n,m;<br \/>\ncin&gt;&gt;n&gt;&gt;m;<br \/>\nfor(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\ncin&gt;&gt;a[i].h&gt;&gt;a[i].s;<br \/>\n}<br \/>\ndouble g&#061;m*1.5;<br \/>\nint f&#061;floor(g);<br \/>\nsort(a&#043;1,a&#043;n&#043;1,cmp);<br \/>\nint sum&#061;0,k&#061;a[f].s;<br \/>\nfor(int i&#061;f&#043;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\nif(a[i].s&#061;&#061;a[f].s){<br \/>\nsum&#043;&#043;;<br \/>\n}<br \/>\n}<br \/>\ncout&lt;&lt;k&lt;&lt;&#034; &#034;&lt;&lt;f&#043;sum&lt;&lt;&#034;\\\\n&#034;;<br \/>\nfor(int i&#061;1;i&lt;&#061;f&#043;sum;i&#043;&#043;){<br \/>\ncout&lt;&lt;a[i].h&lt;&lt;&#034; &#034;&lt;&lt;a[i].s&lt;&lt;&#034;\\\\n&#034;;<br \/>\n}<br \/>\n} <\/p>\n<h4>\u6709\u6ce8\u91ca\u7248\u00a0<\/h4>\n<p>#include&lt;bits\/stdc&#043;&#043;.h&gt;  \/\/ \u5305\u542b\u6807\u51c6\u5e93\u7684\u6240\u6709\u5934\u6587\u4ef6<br \/>\nusing namespace std;    \/\/ \u4f7f\u7528\u6807\u51c6\u547d\u540d\u7a7a\u95f4<\/p>\n<p>\/\/ \u5b9a\u4e49\u4e00\u4e2a\u7ed3\u6784\u4f53xs&#xff0c;\u8868\u793a\u9009\u624b\u7684\u4fe1\u606f<br \/>\nstruct xs{<br \/>\n    int h;  \/\/ \u62a5\u540d\u53f7<br \/>\n    int s;  \/\/ \u7b14\u8bd5\u6210\u7ee9<br \/>\n}a[5010];  \/\/ \u5b9a\u4e49\u4e00\u4e2a\u7ed3\u6784\u4f53\u6570\u7ec4a&#xff0c;\u6700\u591a\u5b58\u50a85010\u4e2a\u9009\u624b\u7684\u4fe1\u606f<\/p>\n<p>\/\/ \u81ea\u5b9a\u4e49\u6bd4\u8f83\u51fd\u6570cmp&#xff0c;\u7528\u4e8e\u6392\u5e8f<br \/>\nbool cmp(xs p, xs q){<br \/>\n    if(p.s&#061;&#061;q.s) return p.h&lt;q.h;  \/\/ \u5982\u679c\u6210\u7ee9\u76f8\u540c&#xff0c;\u6309\u62a5\u540d\u53f7\u5347\u5e8f\u6392\u5217<br \/>\n    else return p.s&gt;q.s;           \/\/ \u5426\u5219\u6309\u6210\u7ee9\u964d\u5e8f\u6392\u5217<br \/>\n}<\/p>\n<p>int main(){<br \/>\n    int n,m;  \/\/ n:\u62a5\u540d\u9009\u624b\u603b\u6570&#xff0c;m:\u8ba1\u5212\u5f55\u53d6\u4eba\u6570<br \/>\n    cin&gt;&gt;n&gt;&gt;m;  \/\/ \u8f93\u5165n\u548cm<\/p>\n<p>    \/\/ \u5faa\u73af\u8f93\u5165\u6bcf\u4e2a\u9009\u624b\u7684\u62a5\u540d\u53f7\u548c\u6210\u7ee9<br \/>\n    for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n        cin&gt;&gt;a[i].h&gt;&gt;a[i].s;<br \/>\n    }<\/p>\n<p>    double g&#061;m*1.5;  \/\/ \u8ba1\u7b97\u9762\u8bd5\u4eba\u6570\u7684150%\u6bd4\u4f8b<br \/>\n    int f&#061;floor(g);  \/\/ \u5411\u4e0b\u53d6\u6574\u5f97\u5230\u9762\u8bd5\u4eba\u6570f<\/p>\n<p>    sort(a&#043;1,a&#043;n&#043;1,cmp);  \/\/ \u5bf9\u9009\u624b\u6570\u7ec4\u8fdb\u884c\u6392\u5e8f&#xff0c;\u6309\u7167\u81ea\u5b9a\u4e49\u89c4\u5219cmp<\/p>\n<p>    int sum&#061;0,k&#061;a[f].s;  \/\/ sum\u7528\u4e8e\u7edf\u8ba1\u4e0e\u5206\u6570\u7ebf\u76f8\u540c\u7684\u989d\u5916\u4eba\u6570&#xff0c;k\u5b58\u50a8\u5206\u6570\u7ebf<\/p>\n<p>    \/\/ \u68c0\u67e5\u5206\u6570\u7ebf\u4e4b\u540e\u662f\u5426\u6709\u76f8\u540c\u6210\u7ee9\u7684\u9009\u624b<br \/>\n    for(int i&#061;f&#043;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n        if(a[i].s&#061;&#061;a[f].s){<br \/>\n            sum&#043;&#043;;  \/\/ \u5982\u679c\u6709&#xff0c;\u5219\u589e\u52a0sum<br \/>\n        }<br \/>\n    }<\/p>\n<p>    \/\/ \u8f93\u51fa\u5206\u6570\u7ebf\u548c\u5b9e\u9645\u8fdb\u5165\u9762\u8bd5\u7684\u4eba\u6570<br \/>\n    cout&lt;&lt;k&lt;&lt;&#034; &#034;&lt;&lt;f&#043;sum&lt;&lt;&#034;\\\\n&#034;;<\/p>\n<p>    \/\/ \u8f93\u51fa\u6240\u6709\u8fdb\u5165\u9762\u8bd5\u7684\u9009\u624b\u4fe1\u606f<br \/>\n    for(int i&#061;1;i&lt;&#061;f&#043;sum;i&#043;&#043;){<br \/>\n        cout&lt;&lt;a[i].h&lt;&lt;&#034; &#034;&lt;&lt;a[i].s&lt;&lt;&#034;\\\\n&#034;;<br \/>\n    }<\/p>\n<p>    return 0;  \/\/ \u7a0b\u5e8f\u6b63\u5e38\u7ed3\u675f<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb671\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u9762\u8bd5\u5206\u6570\u7ebf\u6839\u636e\u8ba1\u5212\u5f55\u53d6\u4eba\u6570\u7684 150% \u5212\u5b9a\uff0c\u5373\u5982\u679c\u8ba1\u5212\u5f55\u53d6 m \u540d\u5fd7\u613f\u8005\uff0c\u5219\u9762\u8bd5\u5206\u6570\u7ebf\u4e3a\u6392\u540d\u7b2c m\u00d7150%\uff08\u5411\u4e0b\u53d6\u6574\uff09\u540d\u7684\u9009\u624b\u7684\u5206\u6570\uff0c\u800c\u6700\u7ec8\u8fdb\u5165\u9762\u8bd5\u7684\u9009\u624b\u4e3a\u7b14\u8bd5\u6210\u7ee9\u4e0d\u4f4e\u4e8e\u9762\u8bd5\u5206\u6570\u7ebf\u7684\u6240\u6709\u9009\u624b\u3002\u7b2c\u4e00\u884c\uff0c\u4e24\u4e2a\u6574\u6570 n,m(5\u2264n\u22645000,3\u2264m\u2264n)\uff0c\u4e2d\u95f4\u7528\u4e00\u4e2a\u7a7a\u683c\u9694\u5f00\uff0c\u5176\u4e2d n \u8868\u793a\u62a5\u540d\u53c2\u52a0\u7b14\u8bd5\u7684\u9009\u624b\u603b\u6570\uff0cm \u8868\u793a\u8ba1\u5212\u5f55\u53d6\u7684\u5fd7\u613f\u8005\u4eba\u6570\u3002\u4ece\u7b2c\u4e8c\u884c\u5f00\u59cb\uff0c\u6bcf\u884c\u5305\u542b 2 \u4e2a\u6574\u6570\uff0c\u4e2d\u95f4\u7528\u4e00\u4e2a\u7a7a\u683c\u9694\u5f00\uff0c\u5206\u522b\u8868\u793a\u8fdb\u5165\u9762\u8bd5\u7684\u9009\u624b\u7684\u62a5\u540d\u53f7\u548c\u7b14\u8bd5\u6210\u7ee9\uff0c\u6309\u7167\u7b14\u8bd5\u6210\u7ee9\u4ece\u9ad8\u5230\u4f4e\u8f93\u51fa\uff0c\u5982\u679c\u6210\u7ee9\u76f8\u540c\uff0c\u5219\u6309\u62a5\u540d\u53f7\u7531\u5c0f\u5230\u5927\u7684\u987a\u5e8f\u8f93\u51fa\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[55,3226,1813,3784,427],"topic":[],"class_list":["post-41086","post","type-post","status-publish","format-standard","hentry","category-server","tag-c","tag-3226","tag-1813","tag-3784","tag-427"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>P1068 [NOIP 2009 \u666e\u53ca\u7ec4] \u5206\u6570\u7ebf\u5212\u5b9a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/41086.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"P1068 [NOIP 2009 \u666e\u53ca\u7ec4] \u5206\u6570\u7ebf\u5212\u5b9a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb671\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u9762\u8bd5\u5206\u6570\u7ebf\u6839\u636e\u8ba1\u5212\u5f55\u53d6\u4eba\u6570\u7684 150% \u5212\u5b9a\uff0c\u5373\u5982\u679c\u8ba1\u5212\u5f55\u53d6 m \u540d\u5fd7\u613f\u8005\uff0c\u5219\u9762\u8bd5\u5206\u6570\u7ebf\u4e3a\u6392\u540d\u7b2c m\u00d7150%\uff08\u5411\u4e0b\u53d6\u6574\uff09\u540d\u7684\u9009\u624b\u7684\u5206\u6570\uff0c\u800c\u6700\u7ec8\u8fdb\u5165\u9762\u8bd5\u7684\u9009\u624b\u4e3a\u7b14\u8bd5\u6210\u7ee9\u4e0d\u4f4e\u4e8e\u9762\u8bd5\u5206\u6570\u7ebf\u7684\u6240\u6709\u9009\u624b\u3002\u7b2c\u4e00\u884c\uff0c\u4e24\u4e2a\u6574\u6570 n,m(5\u2264n\u22645000,3\u2264m\u2264n)\uff0c\u4e2d\u95f4\u7528\u4e00\u4e2a\u7a7a\u683c\u9694\u5f00\uff0c\u5176\u4e2d n \u8868\u793a\u62a5\u540d\u53c2\u52a0\u7b14\u8bd5\u7684\u9009\u624b\u603b\u6570\uff0cm \u8868\u793a\u8ba1\u5212\u5f55\u53d6\u7684\u5fd7\u613f\u8005\u4eba\u6570\u3002\u4ece\u7b2c\u4e8c\u884c\u5f00\u59cb\uff0c\u6bcf\u884c\u5305\u542b 2 \u4e2a\u6574\u6570\uff0c\u4e2d\u95f4\u7528\u4e00\u4e2a\u7a7a\u683c\u9694\u5f00\uff0c\u5206\u522b\u8868\u793a\u8fdb\u5165\u9762\u8bd5\u7684\u9009\u624b\u7684\u62a5\u540d\u53f7\u548c\u7b14\u8bd5\u6210\u7ee9\uff0c\u6309\u7167\u7b14\u8bd5\u6210\u7ee9\u4ece\u9ad8\u5230\u4f4e\u8f93\u51fa\uff0c\u5982\u679c\u6210\u7ee9\u76f8\u540c\uff0c\u5219\u6309\u62a5\u540d\u53f7\u7531\u5c0f\u5230\u5927\u7684\u987a\u5e8f\u8f93\u51fa\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/41086.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-30T22:02:24+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/41086.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/41086.html\",\"name\":\"P1068 [NOIP 2009 \u666e\u53ca\u7ec4] \u5206\u6570\u7ebf\u5212\u5b9a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-30T22:02:24+00:00\",\"dateModified\":\"2025-05-30T22:02:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/41086.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/41086.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/41086.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"P1068 [NOIP 2009 \u666e\u53ca\u7ec4] \u5206\u6570\u7ebf\u5212\u5b9a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"P1068 [NOIP 2009 \u666e\u53ca\u7ec4] \u5206\u6570\u7ebf\u5212\u5b9a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/41086.html","og_locale":"zh_CN","og_type":"article","og_title":"P1068 [NOIP 2009 \u666e\u53ca\u7ec4] \u5206\u6570\u7ebf\u5212\u5b9a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb671\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u9762\u8bd5\u5206\u6570\u7ebf\u6839\u636e\u8ba1\u5212\u5f55\u53d6\u4eba\u6570\u7684 150% \u5212\u5b9a\uff0c\u5373\u5982\u679c\u8ba1\u5212\u5f55\u53d6 m \u540d\u5fd7\u613f\u8005\uff0c\u5219\u9762\u8bd5\u5206\u6570\u7ebf\u4e3a\u6392\u540d\u7b2c m\u00d7150%\uff08\u5411\u4e0b\u53d6\u6574\uff09\u540d\u7684\u9009\u624b\u7684\u5206\u6570\uff0c\u800c\u6700\u7ec8\u8fdb\u5165\u9762\u8bd5\u7684\u9009\u624b\u4e3a\u7b14\u8bd5\u6210\u7ee9\u4e0d\u4f4e\u4e8e\u9762\u8bd5\u5206\u6570\u7ebf\u7684\u6240\u6709\u9009\u624b\u3002\u7b2c\u4e00\u884c\uff0c\u4e24\u4e2a\u6574\u6570 n,m(5\u2264n\u22645000,3\u2264m\u2264n)\uff0c\u4e2d\u95f4\u7528\u4e00\u4e2a\u7a7a\u683c\u9694\u5f00\uff0c\u5176\u4e2d n \u8868\u793a\u62a5\u540d\u53c2\u52a0\u7b14\u8bd5\u7684\u9009\u624b\u603b\u6570\uff0cm \u8868\u793a\u8ba1\u5212\u5f55\u53d6\u7684\u5fd7\u613f\u8005\u4eba\u6570\u3002\u4ece\u7b2c\u4e8c\u884c\u5f00\u59cb\uff0c\u6bcf\u884c\u5305\u542b 2 \u4e2a\u6574\u6570\uff0c\u4e2d\u95f4\u7528\u4e00\u4e2a\u7a7a\u683c\u9694\u5f00\uff0c\u5206\u522b\u8868\u793a\u8fdb\u5165\u9762\u8bd5\u7684\u9009\u624b\u7684\u62a5\u540d\u53f7\u548c\u7b14\u8bd5\u6210\u7ee9\uff0c\u6309\u7167\u7b14\u8bd5\u6210\u7ee9\u4ece\u9ad8\u5230\u4f4e\u8f93\u51fa\uff0c\u5982\u679c\u6210\u7ee9\u76f8\u540c\uff0c\u5219\u6309\u62a5\u540d\u53f7\u7531\u5c0f\u5230\u5927\u7684\u987a\u5e8f\u8f93\u51fa\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/41086.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-30T22:02:24+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/41086.html","url":"https:\/\/www.wsisp.com\/helps\/41086.html","name":"P1068 [NOIP 2009 \u666e\u53ca\u7ec4] \u5206\u6570\u7ebf\u5212\u5b9a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-30T22:02:24+00:00","dateModified":"2025-05-30T22:02:24+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/41086.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/41086.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/41086.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"P1068 [NOIP 2009 \u666e\u53ca\u7ec4] \u5206\u6570\u7ebf\u5212\u5b9a"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/41086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=41086"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/41086\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=41086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=41086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=41086"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=41086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}