{"id":108939,"date":"2026-09-23T02:16:49","date_gmt":"2026-09-22T18:16:49","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/108939.html"},"modified":"2026-09-23T02:16:49","modified_gmt":"2026-09-22T18:16:49","slug":"%e7%bb%8f%e5%85%b8%e5%8a%a8%e6%80%81%e8%a7%84%e5%88%92%e4%b9%8b%e6%9c%80%e5%a4%a7%e5%ad%90%e6%95%b0%e7%bb%84%e5%92%8c","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/108939.html","title":{"rendered":"\u7ecf\u5178\u52a8\u6001\u89c4\u5212\u4e4b\u6700\u5927\u5b50\u6570\u7ec4\u548c"},"content":{"rendered":"<p>\u7ed9\u4f60\u4e00\u4e2a\u6570\u7ec4&#xff1a;\u5176\u4e2d\u5143\u7d20\u6709\u6b63\u6709\u8d1f&#xff0c;\u95ee\u4f60\u6700\u5927\u5b50\u6570\u7ec4\u548c\u662f\u591a\u5c11&#xff1a;<\/p>\n<p>\u6211\u4eec\u521d\u6b21\u60f3\u5230\u7684\u80af\u5b9a\u662f\u66b4\u529b\u7b97\u6cd5&#xff1a;\u901a\u8fc7\u4e24\u5c42for \u5faa\u73af\u53bb\u679a\u4e3e\u6bcf\u4e2a\u5b50\u6570\u7ec4\u7684\u8d77\u59cb\u548c\u6700\u7ec8\u4f4d\u7f6e&#xff0c;\u8bb0\u5f55\u6240\u6709\u5b50\u6570\u7ec4\u548c\u7684\u6700\u5927\u503c&#xff1a;<\/p>\n<p>ans&#061;\u8d1f\u65e0\u7a77<br \/>\nfor(int i&#061;0;i&lt;len;i&#043;&#043;){<br \/>\n    for(int j&#061;i&#043;1;j&lt;len;j&#043;&#043;){<br \/>\n        ans&#061;max&#xff08;sum[i-&gt;j],ans]&#xff09;      <\/p>\n<p>    }<\/p>\n<p>} <\/p>\n<p>\u6bcf\u6b21\u8ba1\u7b97sum\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u662fO&#xff08;n&#xff09;&#xff1b;\u65f6\u95f4\u590d\u6742\u5ea6\u592a\u9ad8\u4e86&#xff0c;\u53ef\u4ee5\u8fdb\u884c\u4f18\u5316&#xff1b;<\/p>\n<p>\u5bf9\u4e8e\u6240\u6709\u5b50\u6570\u7ec4\u53ef\u4ee5\u6309\u5de6\u7aef\u70b9\u5206\u5f00&#xff1a;\u4ee5a[0],a[1]&#8230;\u5f00\u5934\u7684&#xff0c;\u4e4b\u540e\u8ba1\u7b97a[i]\u5f00\u5934\u7684\u6700\u5927\u5b50\u6570\u7ec4&#xff0c;\u53f3\u7aef\u70b9\u4ecei\u5230\u672b\u5c3e&#xff0c;<\/p>\n<p>ans&#061;\u8d1f\u65e0\u7a77<br \/>\nfor(int i&#061;0;i&lt;len;i&#043;&#043;){<br \/>\n    sum&#061;0;<br \/>\n    for(int j&#061;i;j&lt;len;j&#043;&#043;){<br \/>\n        sum&#043;&#061;a[j]<br \/>\n        ans&#061;max(ans,sum);<br \/>\n    }<\/p>\n<p>} <\/p>\n<p>\u6210\u529f\u5c06\u65f6\u95f4\u590d\u6742\u5ea6\u964d\u5230\u4e86O&#xff08;n&#xff09;&#xff1b;<\/p>\n<p>\u4f46\u662f\u8fd8\u662f\u5f88\u9ad8&#xff0c;\u65f6\u95f4\u590d\u6742\u5ea6\u518d\u5f80\u4e0b\u964d&#xff0c;\u5c31\u8981\u8003\u8651\u52a8\u6001\u89c4\u5212\u7684\u95ee\u9898\u4e86&#xff1b;<\/p>\n<p>\u4e0a\u8ff0\u7684\u4f18\u5316\u66b4\u529b\u7b97\u6cd5\u662f\u56fa\u5b9a\u5de6\u7aef\u70b9&#xff0c;\u90a3\u80fd\u4e0d\u80fd\u56fa\u5b9a\u53f3\u7aef\u70b9\u5462&#xff0c;\u5f53\u7136\u53ef\u4ee5&#xff0c;\u4e0d\u59a8\u8bbedp[i]\u662f\u4ee5\u539f\u6570\u7ec4\u7b2ci&#039;\u4e2a\u5143\u7d20\u7ed3\u5c3e\u7684\u5b50\u6240\u6709\u6570\u7ec4\u4e2d\u7684\u6700\u5927\u503c&#xff0c;\u63a5\u4e0b\u6765\u5c31\u8981\u770b\u72b6\u6001\u8f6c\u79fb\u65b9\u7a0b\u4e86&#xff1a;<\/p>\n<p>\u5df2\u77e5\u4ee5\u77e5\u539f\u6570\u7ec4\u7b2ci&#039;\u4e2a\u5143\u7d20\u7ed3\u5c3e\u7684\u6240\u6709\u6570\u7ec4\u4e2d\u6700\u5927\u5230\u4e86\u7b2c\u4e00\u4e2a\u6570\u7ec4&#xff0c;\u6700\u5c0f\u53ea\u5305\u62ec\u672c\u8eab&#xff0c;\u90a3\u4e48\u5c31\u4ee5\u6700\u540e\u7b2ci\u4e2a\u5143\u7d20\u4f5c\u4e3a\u5206\u754c\u7ebf&#xff0c;\u4e00\u79cd\u6570\u7ec4\u662f\u53ea\u5305\u62ec\u7b2ci\u4e2a\u5143\u7d20\u7684&#xff0c;\u4e00\u7c7b\u6570\u7ec4\u662f\u5305\u62ec\u5176\u4ed6\u5143\u7d20\u7684&#xff0c;\u5bf9\u4e8e\u524d\u4e00\u4e2a\u5c31\u662fa[i]&#xff0c;\u5bf9\u4e8e\u540e\u4e00\u79cd\u4e00\u77e5\u81f3\u5c11\u6709\u4e24\u4e2a\u5143\u7d20 i \u548c i-1 &#xff0c;\u90a3\u4e48\u628ai\u5355\u72ec\u62ff\u51fa\u6765&#xff0c;\u8fd9\u4e00\u7ec4\u5269\u4e0b\u7684\u6240\u6709\u6570\u7ec4\u7684\u53f3\u7aef\u70b9\u5c31\u662fi-1\u4e86&#xff0c;\u90a3\u4e48\u8fd9\u4e9b\u6570\u7ec4\u7684\u6700\u5927\u503c\u5c31\u662fdp[i-1]&#043;a[i]<\/p>\n<p>\u56e0\u6b64dp[i]&#061;max(a[i],dp[i-1]&#043;a[i]);<\/p>\n<p>\u8fb9\u754c\u663e\u800c\u6613\u89c1\u5c31\u662fdp[0]&#xff1b;<\/p>\n<p>\u6613\u5f97dp[0]&#061;0&#xff1b;<\/p>\n<p>\u597d\u4e86\u5728\u5f97\u5230dp\u6570\u7ec4&#xff0c;\u4fbf\u53ef\u904d\u5386dp\u6570\u7ec4\u53bb\u627e\u6700\u5927\u5b50\u6570\u7ec4\u548c\u4e86<\/p>\n<p>\u4e0b\u9762\u662f\u4e00\u9053\u6a21\u7248\u9898&#xff1a;<\/p>\n<p>\u6700\u5927\u5b50\u6bb5\u548c<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1148\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922181647-6ab2c60f79dbc.png\" width=\"1612\" \/><\/p>\n<\/p>\n<p>\u6765\u770b\u4ee3\u7801<\/p>\n<p>#include&lt;iostream&gt;<br \/>\nusing namespace std;<br \/>\nint a[200000];<br \/>\nint main(){<br \/>\n    int n&#061;0;<br \/>\n    cin&gt;&gt;n;<br \/>\n    for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n        cin&gt;&gt;a[i];<br \/>\n    }<br \/>\n    int ans&#061;a[1];<br \/>\n    int dp&#061;0;<\/p>\n<p>    for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n        dp&#061;max(dp&#043;a[i],a[i]);<br \/>\n        ans&#061;max(ans,dp);<br \/>\n    }<\/p>\n<p>    cout&lt;&lt;ans;<\/p>\n<p>    return 0;<br \/>\n} <\/p>\n<p>\u8fd9\u91cc\u6211\u8fdb\u884c\u4e86\u7a7a\u95f4\u4f18\u5316&#xff0c;\u56e0\u4e3adp\u6570\u7ec4\u6211\u53ea\u9700\u8981\u8bb0\u5f55\u524d\u4e00\u4e2a\u5c31\u591f\u4e86&#xff0c;\u6211\u8981\u6c42\u7684\u4ece\u6765\u4e0d\u662fdp\u6570\u7ec4\u662f\u91cc\u9762\u7684\u6700\u5927\u503c&#xff0c;\u56e0\u6b64\u904d\u5386\u539f\u6570\u7ec4\u586b\u5145dp\u65f6ans\u65f6\u523b\u66f4\u65b0\u5c31\u591f\u4e86<\/p>\n<p>\u533a\u95f4\u6700\u5927\u5e8f\u5217\u548c<\/p>\n<h4 id=\"\u95ee\u9898\u63cf\u8ff0\">\u95ee\u9898\u63cf\u8ff0<\/h4>\n<p>\u73b0\u6709\u00a0nn\u00a0\u4e2a\u6570\u5f62\u6210\u7684\u5e8f\u5217\u00a0aiai\u200b&#xff08;i\u2208[1,n]i\u2208[1,n]&#xff09;&#xff0c;\u7ed9\u4f60\u00a0qq\u00a0\u7ec4\u67e5\u8be2&#xff0c;\u6bcf\u6b21\u67e5\u8be2\u7ed9\u5b9a\u4e00\u4e2a\u533a\u95f4\u00a0[l,r][l,r]&#xff08;1\u2264l\u2264r1\u2264l\u2264r&#xff09;\u3002\u4f60\u9700\u8981\u67e5\u8be2\u51fa\u8be5\u533a\u95f4\u6700\u5927\u8fde\u7eed\u5b50\u5e8f\u5217\u7684\u548c&#xff0c;\u5e76\u5c06\u5176\u8f93\u51fa\u3002<\/p>\n<p>\u7531\u4e8e\u8f93\u5165\u5f88\u591a&#xff0c;cpp\u00a0\u8bf7\u4f7f\u7528\u00a0scanf\u00a0\u4e0e\u00a0printf\u3002<\/p>\n<h4 id=\"\u8f93\u5165\u683c\u5f0f\">\u8f93\u5165\u683c\u5f0f<\/h4>\n<p>\u7b2c\u4e00\u884c\u8f93\u5165\u4e00\u4e2a\u6b63\u6574\u6570\u00a0nn\u3002<\/p>\n<p>\u7b2c\u4e8c\u884c\u8f93\u5165\u00a0nn\u00a0\u4e2a\u6b63\u6574\u6570\u00a0aiai\u200b\u3002<\/p>\n<p>\u7b2c\u4e09\u884c\u8f93\u5165\u4e00\u4e2a\u6b63\u6574\u6570\u00a0qq\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\u00a0qq\u00a0\u884c&#xff0c;\u6bcf\u884c\u8f93\u5165\u00a022\u00a0\u4e2a\u6b63\u6574\u6570\u00a0l,rl,r\u3002<\/p>\n<h4 id=\"\u8f93\u51fa\u683c\u5f0f\">\u8f93\u51fa\u683c\u5f0f<\/h4>\n<p>\u5bf9\u4e8e\u6bcf\u7ec4\u67e5\u8be2&#xff0c;\u8f93\u51fa\u8be5\u533a\u95f4\u6700\u5927\u8fde\u7eed\u5b50\u5e8f\u5217\u7684\u548c\u3002<\/p>\n<h4 id=\"\u6837\u4f8b\u8f93\u5165\">\u6837\u4f8b\u8f93\u5165<\/h4>\n<p>8<br \/>\n1 4 -3 8 -9 2 -2 1<br \/>\n4<br \/>\n1 5<br \/>\n2 8<br \/>\n3 6<br \/>\n3 3<\/p>\n<h4 id=\"\u6837\u4f8b\u8f93\u51fa\">\u6837\u4f8b\u8f93\u51fa<\/h4>\n<p>10<br \/>\n9<br \/>\n8<br \/>\n-3<\/p>\n<h4 id=\"\u8bf4\u660e\">\u8bf4\u660e<\/h4>\n<p>\u56db\u7ec4\u67e5\u8be2\u7684\u7b54\u6848\u5206\u522b\u5bf9\u5e94\u4e3a&#xff1a;[1\u00a04\u00a0-3\u00a08],[4\u00a0-3\u00a08],[8],[-3][1\u00a04\u00a0-3\u00a08],[4\u00a0-3\u00a08],[8],[-3]\u3002<\/p>\n<p>\u8fd9\u9053\u9898\u5bf9\u539f\u6570\u7ec4\u505a\u51fa\u4e86\u4e00\u5b9a\u9650\u5236&#xff0c;\u9700\u8981\u6539\u53d8\u904d\u5386\u539f\u6570\u7ec4\u7684\u7ec8\u6b62\u4f4d\u7f6e&#xff1b;<\/p>\n<p>#include&lt;iostream&gt;<br \/>\nusing namespace std;<br \/>\nint a[200000];<br \/>\nint main(){<br \/>\n    int n&#061;0;<br \/>\n    cin&gt;&gt;n;<br \/>\n    for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n        cin&gt;&gt;a[i];<br \/>\n    }<br \/>\n    int m&#061;0;<br \/>\n    cin&gt;&gt;m;<br \/>\n    while(m&#8211;){<br \/>\n      int l&#061;1,r;<br \/>\n      cin&gt;&gt;l&gt;&gt;r;<br \/>\n      int ans&#061;a[l];<br \/>\n      int dp&#061;0;<br \/>\n      for(int i&#061;l;i&lt;&#061;r;i&#043;&#043;){<br \/>\n        dp&#061;max(dp&#043;a[i],a[i]);<br \/>\n        ans&#061;max(ans,dp);<br \/>\n      }<br \/>\n      cout&lt;&lt;ans&lt;&lt;endl;<\/p>\n<p>    }<\/p>\n<p>    return 0;<br \/>\n} <\/p>\n<\/p>\n<p>\u597d\u4e86\u63a5\u4e0b\u6765\u6765\u770b\u4e00\u9053\u8fdb\u9636\u7248\u7684\u9898\u76ee&#xff1a; \u57fa\u5fb7\u7684\u5192\u9669\u4e4b\u65c5<\/p>\n<p>\u7531\u4e8e\u9898\u76ee\u8fc7\u957f\u5c31\u7b80\u8981\u8bf4\u660e\u4e00\u4e0b&#xff1a;\u7ed9\u4f60\u4e00\u6bb5\u6570\u7ec4&#xff0c;\u4f60\u8981\u6c42\u4e24\u7aef\u5b50\u6570\u7ec4&#xff0c;\u8fd9\u4e24\u6bb5\u5b50\u6570\u7ec4\u4e4b\u95f4\u6700\u5c11\u8981\u9694k\u4e2a\u5143\u7d20&#xff0c;\u95ee\u4e24\u6bb5\u5b50\u6570\u7ec4\u548c\u6700\u5927\u4e3a\u591a\u5c11&#xff1f;<\/p>\n<p>\u597d\u4e86\u6765\u770b\u770b\u4e0e\u4e0a\u9762\u9898\u7684\u533a\u522b&#xff0c;\u4e0a\u9762\u7684\u9898\u4f60\u53ea\u9700\u8981\u6c42\u4e00\u6bb5\u6700\u5927\u7684\u5c31\u884c\u4e86&#xff0c;\u4f46\u8fd9\u9053\u9898\u4f60\u8981\u6c42\u4e24\u6bb5\u548c\u6700\u5927&#xff0c;<\/p>\n<p>\u4e00\u6b65\u4e00\u6b65\u6765&#xff0c;\u4e0a\u9762\u7684\u9898\u6211\u7528\u5230\u4e86dp\u6570\u7ec4\u8868\u793a\u4ee5\u67d0\u4e2a\u5143\u7d20\u7ed3\u5c3e\u7684\u6700\u5927\u5b50\u6570\u7ec4\u548c&#xff0c;\u5982\u679c\u8fd9\u9053\u9898dp\u6570\u7ec4\u7684\u72b6\u6001\u4e0d\u53d8\u7684\u8bdd&#xff0c;\u6211\u53ef\u4ee5\u4ece\u5934\u5f00\u59cb\u679a\u4e3e&#xff0c;\u6c42\u51fa\u4ee5\u5f53\u524d\u4f4d\u7f6e\u7ed3\u675f\u7684\u6700\u5927\u5b50\u6570\u7ec4\u548c&#xff0c;\u518d\u5728\u540e\u9762\u9694k\u4e2a\u4f4d\u7f6e&#xff0c;\u53bb\u627e\u4e00\u4e2a\u6700\u5927\u5b50\u6570\u7ec4\u548c&#xff0c;\u8fd9\u4e48\u6c42\u65e0\u7591\u662f\u590d\u6742\u7684&#xff0c;\u6765\u770b\u770b\u8fd9\u4e24\u4e2a\u5b50\u6570\u7ec4\u90fd\u6709\u54ea\u4e9b\u7279\u70b9&#xff1a;\u7b2c\u4e00\u4e2a\u6570\u7ec4\u5f00\u5934\u662f\u56fa\u5b9a\u7684&#xff0c;\u540e\u4e00\u4e2a\u6570\u7ec4\u7ed3\u5c3e\u662f\u56fa\u5b9a\u7684&#xff0c;\u540c\u65f6\u524d\u4e00\u4e2a\u6570\u7ec4\u8fd8\u6709\u7ea6\u675f&#xff0c;\u5fc5\u987b\u662f\u4ee5\u5f53\u524d\u4f4d\u7f6e\u7ed3\u675f\u7684&#xff0c;\u660e\u663e\u4e0d\u5408\u9002<\/p>\n<p>\u56e0\u6b64\u5f15\u5165\u4e86\u65b0\u7684\u72b6\u6001dp[i]\u8868\u793a\u524di\u4e2a\u5143\u7d20\u6700\u5927\u6570\u7ec4\u548c&#xff0c;\u800c\u7b2c\u4e8c\u6bb5\u6570\u7ec4\u8981\u627e\u4ece\u672b\u5c3e\u5f00\u59cb\u7684\u6700\u5927\u5b50\u6570\u7ec4\u548c&#xff0c;\u53ea\u662f\u5728\u6c42\u4ece\u540e\u5230\u524d\u7684\u60c5\u51b5&#xff0c;\u90a3\u4e48\u6211\u628a\u6570\u7ec4\u53cd\u8f6c\u4e00\u4e0b\u4e0d\u4e45\u548c\u7b2c\u4e00\u6bb5\u4e00\u6837\u4e86\u5417&#xff1f;<\/p>\n<p>\u7406\u4e00\u4e0b\u601d\u8def&#xff0c;\u5148\u4ece\u5f00\u5934\u5230\u7ed3\u5c3e\u6c42\u51fa\u6765dp1[i]\u8868\u793a\u6240\u6709\u4f4d\u7f6e\u7684\u524di\u4e2a\u4f4d\u7f6e\u7684\u6700\u5927\u5143\u7d20\u548c&#xff0c;\u4e4b\u540e\u53cd\u8f6c\u539f\u6570\u7ec4&#xff0c;\u518d\u6765\u4ece\u5f00\u5934\u5230\u7ed3\u5c3e\u6c42\u51fa\u6765dp2[i]\u8868\u793a\u6240\u6709\u4f4d\u7f6e\u7684\u524di\u4e2a\u4f4d\u7f6e\u7684\u6700\u5927\u5143\u7d20\u548c&#xff0c;\u8fd9\u65f6\u5019\u4fbf\u662f\u4ece\u540e\u5f80\u524d\u904d\u5386\u7684&#xff08;\u8981\u6ce8\u610f\u4e0b\u6807\u95ee\u9898&#xff09;<\/p>\n<p>\u4e4b\u540e\u904d\u5386\u6bcf\u4e2a\u4f4d\u7f6e\u6c42\u51fa\u5728\u6240\u6709\u60c5\u51b5\u4e0b\u7684\u6700\u5927\u503c&#xff0c;\u770b\u524di\u4e2a\u5143\u7d20\u7684\u6700\u5927\u548c\u52a0\u4e0a\u9694k\u4e2a\u5143\u7d20\u540e\u4ece\u540e\u5f80\u524d\u7684\u6700\u5927\u503c<\/p>\n<p>int temp&#061;dppre[i]&#043;dphre[n-i-k];\u8fd9\u662f\u8f6c\u6362\u540e\u7684\u4e24\u4e2a\u5b50\u6570\u7ec4\u548c<\/p>\n<p>ans&#061;max(ans,temp);<\/p>\n<p>\u8fd9\u91cc\u904d\u5386\u6bcf\u4e2a\u4f4d\u7f6e\u662f\u4e00\u5b9a\u80fd\u904d\u5386\u6240\u6709\u53ef\u80fd\u7684\u60c5\u51b5&#xff0c;\u56e0\u4e3a\u5bf9\u4e8e\u7b54\u6848\u524d\u540e\u6570\u7ec4&#xff0c;\u524d\u6570\u7ec4\u4e00\u5b9a\u662f\u67d0\u4e2a\u4f4d\u7f6e\u4e4b\u524d\u7684\u6700\u5927\u5b50\u6570\u7ec4\u548c&#xff0c;\u540e\u6570\u7ec4\u4e00\u5b9a\u662f\u4ece\u67d0\u4e2a\u4f4d\u7f6e\u4e4b\u540e\u7684\u6700\u5927\u5b50\u6570\u7ec4\u548c&#xff0c;\u53ef\u4ee5\u7528\u53cd\u8bc1\u6cd5\u8bc1\u660e&#xff1a;\u5982\u679c\u4e0d\u662f\u90a3\u4e48\u7ed3\u679c\u5c06\u66f4\u5927&#xff0c;\u6ce8\u610f\u8fd9\u91cc\u7684\u91cd\u70b9\u5728\u67d0\u4e2a\u4f4d\u7f6e&#xff0c;\u5f53\u8fd9\u4e2a\u4f4d\u7f6e\u56fa\u5b9a\u65f6&#xff0c;\u524d\u540e\u4e00\u5b9a\u8981\u9009\u6700\u5927\u7684\u3002\u800c\u904d\u5386\u5462\u5c31\u662f\u5728\u627e\u8fd9\u4e2a\u4f4d\u7f6e\u3002<\/p>\n<p>#include&lt;bits\/stdc&#043;&#043;.h&gt;<br \/>\n#define int long long<br \/>\nusing namespace std;<br \/>\nint a[200001];<br \/>\nint dppre[200001],dphre[200001];<br \/>\nsigned main(){<br \/>\n  int n,k;<br \/>\n  cin&gt;&gt;n&gt;&gt;k;<br \/>\n  for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n    cin&gt;&gt;a[i];<br \/>\n  }<br \/>\n  dppre[0]&#061;0;<br \/>\n  for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n    dppre[i]&#061;max(dppre[i-1]&#043;a[i],a[i]);<br \/>\n  }<br \/>\n  reverse(a&#043;1,a&#043;n&#043;1);<br \/>\n  dphre[0]&#061;0;<br \/>\n  for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n    dphre[i]&#061;max(dphre[i-1]&#043;a[i],a[i]);<br \/>\n  }<br \/>\n  for(int i&#061;2;i&lt;&#061;n;i&#043;&#043;){<br \/>\n    dppre[i]&#061;max(dppre[i],dppre[i-1]);<br \/>\n    dphre[i]&#061;max(dphre[i],dphre[i-1]);<br \/>\n  }<br \/>\n  int ans&#061;-1000000;<br \/>\n  for(int i&#061;1;i&lt;&#061;n-k-1;i&#043;&#043;){<br \/>\n    int temp&#061;dppre[i]&#043;dphre[n-i-k];<br \/>\n    ans&#061;max(ans,temp);<br \/>\n  }<br \/>\n  cout&lt;&lt;ans;<\/p>\n<p>  return 0;<br \/>\n} <\/p>\n<p>\u4e0a\u9762\u8fd8\u90fd\u662f\u4e00\u7ef4\u52a8\u6001\u89c4\u5212&#xff0c;\u63a5\u4e0b\u6765\u6765\u5230\u8fdb\u9636\u4e8c\u7ef4\u72b6\u6001\u7684\u9898<\/p>\n<p>\u53ef\u5220\u9664\u5143\u7d20\u7684\u6700\u5927\u5b50\u6bb5\u548c<\/p>\n<h4 id=\"\u95ee\u9898\u63cf\u8ff0\">\u95ee\u9898\u63cf\u8ff0<\/h4>\n<p>\u6709\u4e00\u4e2a\u5927\u5c0f\u4e3a\u00a0nn\u00a0\u7684\u6574\u6570\u6570\u7ec4\u00a0arrarr\u00a0&#xff0c;\u4f60\u53ef\u4ee5\u9009\u62e9\u8be5\u6570\u7ec4\u7684\u4efb\u610f\u4e00\u4e2a\u975e\u7a7a\u5b50\u6570\u7ec4&#xff0c;\u5e76\u6700\u591a\u5220\u53bb\u5176\u4e2d\u4efb\u610f\u00a0kk\u00a0\u4e2a\u5143\u7d20&#xff0c;\u5220\u9664\u5143\u7d20\u540e\u5b50\u6570\u7ec4\u4e0d\u80fd\u4e3a\u7a7a&#xff0c;\u7136\u540e\u6c42\u51fa\u5176\u5220\u9664\u5143\u7d20\u540e\u7684\u8be5\u5b50\u6570\u7ec4\u7684\u5269\u4f59\u5143\u7d20\u548c\u3002<\/p>\n<p>\u8bf7\u4f60\u6c42\u51fa\u4ee5\u4e0a\u64cd\u4f5c\u6240\u80fd\u5f97\u5230\u7684\u6700\u5927\u5143\u7d20\u548c\u3002<\/p>\n<h4 id=\"\u8f93\u5165\u683c\u5f0f\">\u8f93\u5165\u683c\u5f0f<\/h4>\n<p>\u8f93\u5165\u683c\u5f0f\u6709\u00a022\u00a0\u884c\u3002<\/p>\n<p>\u7b2c\u4e00\u884c\u4e3a\u4e24\u4e2a\u6574\u6570\u00a0n,kn,k\u00a0&#xff0c;\u8868\u793a\u6570\u7ec4\u7684\u957f\u5ea6\u4e3a\u00a0nn\u00a0&#xff0c;\u6700\u591a\u53ef\u4ee5\u5220\u9664\u4e00\u4e2a\u975e\u7a7a\u5b50\u6570\u7ec4\u4e2d\u7684\u00a0kk\u00a0\u4e2a\u5143\u7d20\u3002<\/p>\n<p>\u7b2c\u4e8c\u884c\u4e3a\u00a0nn\u00a0\u4e2a\u6574\u6570&#xff0c;\u8868\u793a\u6570\u7ec4\u7684\u00a0nn\u00a0\u4e2a\u5143\u7d20&#xff0c;\u4e24\u4e2a\u5143\u7d20\u4e4b\u95f4\u7531\u7a7a\u683c\u9694\u5f00\u3002<\/p>\n<p>\u6ce8\u610f\u7b2c\u4e8c\u884c\u4e2d\u7684\u8f93\u5165\u6570\u636e\u4e2d\u53ef\u80fd\u5305\u542b\u8d1f\u6570\u3002<\/p>\n<h4 id=\"\u8f93\u51fa\u683c\u5f0f\">\u8f93\u51fa\u683c\u5f0f<\/h4>\n<p>\u8f93\u51fa\u4e00\u4e2a\u6574\u6570&#xff0c;\u8868\u793a\u6240\u80fd\u5f97\u5230\u7684\u6700\u5927\u5143\u7d20\u548c\u3002<\/p>\n<h4 id=\"\u6837\u4f8b\u8f93\u5165\">\u6837\u4f8b\u8f93\u5165<\/h4>\n<p>5 2<br \/>\n3 -2 -4 0 8<\/p>\n<h4 id=\"\u6837\u4f8b\u8f93\u51fa\">\u6837\u4f8b\u8f93\u51fa<\/h4>\n<p>11<\/p>\n<h4 id=\"\u8bf4\u660e\">\u8bf4\u660e<\/h4>\n<p>\u5bf9\u4e8e\u6837\u4f8b\u6765\u8bf4&#xff0c;\u9009\u62e9\u6240\u6709\u5143\u7d20&#xff0c;\u518d\u5220\u9664\u00a0arr[1]arr[1]\u00a0\u4e0e\u00a0arr[2]arr[2]\u00a0&#xff0c;\u5c31\u53ef\u4ee5\u5f97\u5230\u6700\u5927\u7684\u5143\u7d20\u548c\u3002<\/p>\n<h4 id=\"\u8bc4\u6d4b\u6570\u636e\u89c4\u6a21\">\u8bc4\u6d4b\u6570\u636e\u89c4\u6a21<\/h4>\n<p>\u5bf9\u4e8e\u6240\u6709\u8bc4\u6d4b\u6570\u636e&#xff0c;1\u2264n\u22641000001\u2264n\u2264100000&#xff0c;0\u2264k\u22641000\u2264k\u2264100\u00a0&#xff0c;\u221210000\u2264arr[i]\u226410000\u221210000\u2264arr[i]\u226410000\u00a0\u3002<\/p>\n<\/p>\n<p>\u5bf9\u4e8e\u6700\u540e\u7ed3\u679c&#xff1a;\u6700\u5927\u5143\u7d20\u53ef\u80fd\u662f\u5220\u8fc7\u5143\u7d20\u7684\u4e00\u6bb5\u5b50\u6570\u7ec4&#xff0c;\u4e5f\u53ef\u80fd\u662f\u6ca1\u5220\u8fc7\u7684&#xff0c;\u4e00\u6b21\u5bf9\u4e8edp\u6570\u7ec4\u6211\u8981\u7528\u4e8c\u7ef4\u8868\u793a\u4e24\u4e2a\u72b6\u6001&#xff1a;dp[i][j]&#xff1a;\u7b2ci\u4e2a\u5143\u7d20\u7ed3\u5c3e&#xff08;\u53ef\u80fd\u88ab\u5220\u4e86&#xff09;&#xff0c;\u6070\u597d\u7528\u4e86j\u6b21\u5220\u9664\u4e4b\u540e\u7684\u6700\u5927\u503c&#xff08;\u6709\u70b9\u50cf\u80cc\u5305dp\u4e00\u5b9a\u8981\u6070\u597d\u7528\u4e86\u8fd9j\u6b21\u5220\u9664&#xff0c;\u5426\u5219\u5c31\u662f\u4e0d\u5408\u6cd5\u7684&#xff09;<\/p>\n<p>\u4ece\u5220\u9664\u6b21\u6570\u548c\u7b2ci\u4e2a\u5143\u7d20\u5165\u624b&#xff0c;dp[i][j]\u662f\u4ee5\u7b2ci\u4e2a\u5143\u7d20\u7ed3\u5c3e&#xff08;\u53ef\u80fd\u88ab\u5220\u4e86&#xff09;&#xff0c;\u6070\u597d\u7528\u4e86j\u6b21\u5220\u9664\u4e4b\u540e\u6240\u6709\u5b50\u6570\u7ec4\u548c\u7684\u6700\u5927\u503c&#xff0c;\u90a3\u4e48\u5bf9\u4e8e\u8fd9\u4e9b\u5b50\u6570\u7ec4\u548c\u53c8\u53ef\u4ee5\u770b\u4e3a\u5305\u4e0d\u5305\u62ec\u7b2ci\u4e2a\u5143\u7d20&#xff0c;\u5982\u679c\u5305\u62ec&#xff0c;k\u6b21\u5220\u9664\u673a\u4f1a\u5c31\u8981\u7528\u7684\u524di-1\u4e2a\u5143\u7d20\u4e0a&#xff0c;\u53bb\u5f97\u5230\u7684\u524di-1\u4e2a\u5b50\u6570\u7ec4\u7684\u6700\u5927\u503c&#xff1a;dp[i][j-1]. &#043; a[i]&#xff0c;\u5982\u679c\u5220\u4e86\u7b2ci\u4e2a\u5143\u7d20&#xff0c;\u90a3\u4e48\u5c31\u8981\u7ed9\u524di-1\u4e2a\u5143\u7d20\u7528\u5230k-1\u6b21\u673a\u4f1a&#xff0c;\u5f97\u5230:dp[i-1][j-1];\u00a0<\/p>\n<p>\u6240\u4ee5dp[i][j]&#061;max(dp[i-1][j-1],a[i]&#043;dp[i-1][j-1]);<\/p>\n<p>\u6ce8\u610f\u8fb9\u754c\u6761\u4ef6\u7684\u5904\u7406<\/p>\n<p>dp[0][0]&#061;0;<\/p>\n<p>for(int j&#061;1;j&lt;&#061;k;j&#043;&#043;){ dp[0][j]&#061;inf; } \/\/\u52070\u5200\u7684\u60c5\u51b5\u5355\u72ec\u8003\u8651<\/p>\n<p>for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){ dp[i][0]&#061;max(dp[i-1][0]&#043;a[i],a[i]); }<\/p>\n<p>#include &lt;iostream&gt;<br \/>\nusing namespace std;<br \/>\n#define inf -1000000000000ll<br \/>\n#define int long long<br \/>\nint a[100001];<\/p>\n<p>\/\/dp[i][j] \u4ee5\u7b2ci\u4e2a\u5143\u7d20\u7ed3\u5c3e&#xff0c;\u7528\u4e86k\u6b21\u673a\u4f1a\u7684\u6700\u5927\u5b50\u6570\u7ec4\u548c<br \/>\n\/\/dp[i][j]&#061;dp[i-1][j]&#043;a[i],dp[i-1][j-1];<br \/>\nint dp[100001][110];<br \/>\nsigned main()<br \/>\n{ int n,k;<br \/>\n  cin&gt;&gt;n&gt;&gt;k;<br \/>\n  for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n    cin&gt;&gt;a[i];<br \/>\n  }<br \/>\n  dp[0][0]&#061;0;<br \/>\n  for(int j&#061;1;j&lt;&#061;k;j&#043;&#043;){<br \/>\n    dp[0][j]&#061;inf;<br \/>\n  }<br \/>\n  \/\/\u52070\u5200\u7684\u60c5\u51b5\u5355\u72ec\u8003\u8651<br \/>\n  for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n    dp[i][0]&#061;max(dp[i-1][0]&#043;a[i],a[i]);<br \/>\n  }<br \/>\n  for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n    for(int j&#061;1;j&lt;&#061;k;j&#043;&#043;){<br \/>\n      dp[i][j]&#061;max(dp[i-1][j]&#043;a[i],dp[i-1][j-1]);<br \/>\n    }<br \/>\n  }<br \/>\n  int ans&#061;inf;<br \/>\n  for(int i&#061;1;i&lt;&#061;n;i&#043;&#043;){<br \/>\n    for(int j&#061;0;j&lt;&#061;k;j&#043;&#043;){<br \/>\n      ans&#061;max(ans,dp[i][j]);<br \/>\n    }<br \/>\n  }<br \/>\n  cout&lt;&lt;ans;<\/p>\n<p>  return 0;<br \/>\n} <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7ed9\u4f60\u4e00\u4e2a\u6570\u7ec4&#xff1a;\u5176\u4e2d\u5143\u7d20\u6709\u6b63\u6709\u8d1f&#xff0c;\u95ee\u4f60\u6700\u5927\u5b50\u6570\u7ec4\u548c\u662f\u591a\u5c11&#xff1a;<br \/>\n\u6211\u4eec\u521d\u6b21\u60f3\u5230\u7684\u80af\u5b9a\u662f\u66b4\u529b\u7b97\u6cd5&#xff1a;\u901a\u8fc7\u4e24\u5c42for \u5faa\u73af\u53bb\u679a\u4e3e\u6bcf\u4e2a\u5b50\u6570\u7ec4\u7684\u8d77\u59cb\u548c\u6700\u7ec8\u4f4d\u7f6e&#xff0c;\u8bb0\u5f55\u6240\u6709\u5b50\u6570\u7ec4\u548c\u7684\u6700\u5927\u503c&#xff1a;<br \/>\nans\u8d1f\u65e0\u7a77<br \/>\nfor(int i0;i&lt;len;i){for(int ji1;jj],ans]&#xff09;      }}<br \/>\n\u6bcf\u6b21\u8ba1\u7b97sum\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u662fO&amp;#<\/p>\n","protected":false},"author":2,"featured_media":108938,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[55,2865,427,729],"topic":[],"class_list":["post-108939","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-2865","tag-427","tag-729"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u7ecf\u5178\u52a8\u6001\u89c4\u5212\u4e4b\u6700\u5927\u5b50\u6570\u7ec4\u548c - \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\/108939.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7ecf\u5178\u52a8\u6001\u89c4\u5212\u4e4b\u6700\u5927\u5b50\u6570\u7ec4\u548c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u7ed9\u4f60\u4e00\u4e2a\u6570\u7ec4&#xff1a;\u5176\u4e2d\u5143\u7d20\u6709\u6b63\u6709\u8d1f&#xff0c;\u95ee\u4f60\u6700\u5927\u5b50\u6570\u7ec4\u548c\u662f\u591a\u5c11&#xff1a; \u6211\u4eec\u521d\u6b21\u60f3\u5230\u7684\u80af\u5b9a\u662f\u66b4\u529b\u7b97\u6cd5&#xff1a;\u901a\u8fc7\u4e24\u5c42for \u5faa\u73af\u53bb\u679a\u4e3e\u6bcf\u4e2a\u5b50\u6570\u7ec4\u7684\u8d77\u59cb\u548c\u6700\u7ec8\u4f4d\u7f6e&#xff0c;\u8bb0\u5f55\u6240\u6709\u5b50\u6570\u7ec4\u548c\u7684\u6700\u5927\u503c&#xff1a; ans\u8d1f\u65e0\u7a77 for(int i0;i&lt;len;i){for(int ji1;jj],ans]&#xff09;   }} \u6bcf\u6b21\u8ba1\u7b97sum\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u662fO&amp;#\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/108939.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-22T18:16:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922181647-6ab2c60f79dbc.png\" \/>\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=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/108939.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/108939.html\",\"name\":\"\u7ecf\u5178\u52a8\u6001\u89c4\u5212\u4e4b\u6700\u5927\u5b50\u6570\u7ec4\u548c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-22T18:16:49+00:00\",\"dateModified\":\"2026-09-22T18:16:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/108939.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/108939.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/108939.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7ecf\u5178\u52a8\u6001\u89c4\u5212\u4e4b\u6700\u5927\u5b50\u6570\u7ec4\u548c\"}]},{\"@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":"\u7ecf\u5178\u52a8\u6001\u89c4\u5212\u4e4b\u6700\u5927\u5b50\u6570\u7ec4\u548c - \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\/108939.html","og_locale":"zh_CN","og_type":"article","og_title":"\u7ecf\u5178\u52a8\u6001\u89c4\u5212\u4e4b\u6700\u5927\u5b50\u6570\u7ec4\u548c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u7ed9\u4f60\u4e00\u4e2a\u6570\u7ec4&#xff1a;\u5176\u4e2d\u5143\u7d20\u6709\u6b63\u6709\u8d1f&#xff0c;\u95ee\u4f60\u6700\u5927\u5b50\u6570\u7ec4\u548c\u662f\u591a\u5c11&#xff1a; \u6211\u4eec\u521d\u6b21\u60f3\u5230\u7684\u80af\u5b9a\u662f\u66b4\u529b\u7b97\u6cd5&#xff1a;\u901a\u8fc7\u4e24\u5c42for \u5faa\u73af\u53bb\u679a\u4e3e\u6bcf\u4e2a\u5b50\u6570\u7ec4\u7684\u8d77\u59cb\u548c\u6700\u7ec8\u4f4d\u7f6e&#xff0c;\u8bb0\u5f55\u6240\u6709\u5b50\u6570\u7ec4\u548c\u7684\u6700\u5927\u503c&#xff1a; ans\u8d1f\u65e0\u7a77 for(int i0;i&lt;len;i){for(int ji1;jj],ans]&#xff09;   }} \u6bcf\u6b21\u8ba1\u7b97sum\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u662fO&amp;#","og_url":"https:\/\/www.wsisp.com\/helps\/108939.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-22T18:16:49+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922181647-6ab2c60f79dbc.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/108939.html","url":"https:\/\/www.wsisp.com\/helps\/108939.html","name":"\u7ecf\u5178\u52a8\u6001\u89c4\u5212\u4e4b\u6700\u5927\u5b50\u6570\u7ec4\u548c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-22T18:16:49+00:00","dateModified":"2026-09-22T18:16:49+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/108939.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/108939.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/108939.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u7ecf\u5178\u52a8\u6001\u89c4\u5212\u4e4b\u6700\u5927\u5b50\u6570\u7ec4\u548c"}]},{"@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\/108939","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=108939"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/108939\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/108938"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=108939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=108939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=108939"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=108939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}