{"id":276,"date":"2009-03-30T20:10:00","date_gmt":"2009-03-30T12:10:00","guid":{"rendered":""},"modified":"2013-11-17T10:46:54","modified_gmt":"2013-11-17T02:46:54","slug":"%e5%be%ae%e8%bd%af%e7%9a%84%e9%9d%a2%e8%af%95%e9%a2%98%e5%8f%82%e8%80%83%e7%ad%94%e6%a1%88","status":"publish","type":"post","link":"https:\/\/kyle.ai\/blog\/276.html","title":{"rendered":"\u5fae\u8f6f\u7684\u9762\u8bd5\u9898[\u53c2\u8003\u7b54\u6848]"},"content":{"rendered":"<p>\u7b2c\u4e00\u7ec4\u9898\u7b54\u6848\uff1a<\/p>\n<p>1)\u4e09\u6839\u7ef3\uff0c\u7b2c\u4e00\u6839\u70b9\u71c3\u4e24\u7aef\uff0c\u7b2c\u4e8c\u6839\u70b9\u71c3\u4e00\u7aef\uff0c\u7b2c\u4e09\u6839\u4e0d\u70b9<\/p>\n<p>\u7b2c\u4e00\u6839\u7ef3\u70e7\u5b8c(30\u5206\u949f)\u540e\uff0c\u70b9\u71c3\u7b2c\u4e8c\u6839\u7ef3\u7684\u53e6\u4e00\u7aef\uff0c\u7b2c\u4e8c\u6839\u7ef3\u70e7\u5b8c(45\u5206\u949f)\u540e\uff0c\u70b9\u71c3\u7b2c\u4e09\u6839\u7ef3\u5b50\u4e24\u7aef\uff0c\u7b2c\u4e09\u6839\u7ef3\u70e7\u5b8c(1\u5c0f\u65f615\u5206)\u540e\uff0c\u8ba1\u65f6\u5b8c\u6210<\/p>\n<p>2)\u6839\u636e\u62bd\u5c49\u539f\u7406\uff0c4\u4e2a<\/p>\n<p>3)3\u5347\u88c5\u6ee1;3\u5347-\u30095\u5347(\u5168\u6ce8\u5165);3\u5347\u88c5\u6ee1;3\u5347-\u30095\u5347(\u52691\u5347);5\u5347\u5012\u6389;3\u5347-\u30095\u5347(\u6ce8\u51651\u5347);3\u5347\u88c5\u6ee1;3\u5347-\u30095\u5347;\u5b8c\u6210(\u53e6\uff1a\u53ef\u7528\u56de\u6eaf\u6cd5\u7f16\u7a0b\u6c42\u89e3)<\/p>\n<p>4)\u95ee\u5176\u4e2d\u4e00\u4eba\uff1a\u53e6\u5916\u4e00\u4e2a\u4eba\u4f1a\u8bf4\u54ea\u4e00\u6761\u8def\u662f\u901a\u5f80\u8bda\u5b9e\u56fd\u7684?\u56de\u7b54\u8005\u6240\u6307\u7684\u90a3\u6761\u8def\u5fc5\u7136\u662f\u901a\u5f80\u8bf4\u8c0e\u56fd\u7684\u3002<br \/>\n\u6216\u8005\u95ee\u4ed6\u4eec\u4e24\u4e2a\u4eba\u54ea\u6761\u8def\u901a\u5f80\u4ed6\u4eec\u81ea\u5df1\u7684\u56fd\u5bb6\uff0c\u8bda\u5b9e\u56fd\u7684\u4eba\u4f1a\u6307\u5411\u8bda\u5b9e\u56fd\uff0c\u8bf4\u8c0e\u56fd\u4e5f\u4f1a\u6307\u5411\u57ce\u5e02\u56fd\uff0c\u6240\u4ee5\u53e6\u5916\u4e00\u6761\u5c31\u662f\u901a\u5f80\u8bf4\u8c0e\u56fd\u7684<\/p>\n<p>5)12\u4e2a\u7403\uff1a<br \/>\n\u7b2c\u4e00\u6b21\uff1a4\uff0c4 \u5982\u679c\u5e73\u4e86\uff1a<br \/>\n\u90a3\u4e48\u5269\u4e0b\u7684\u7403\u4e2d\u53d63\u653e\u5de6\u8fb9,\u53d63\u4e2a\u597d\u7403\u653e\u53f3\u8fb9\uff0c\u79f0\uff1a<br \/>\n\u5982\u679c\u5de6\u8fb9\u91cd\uff0c\u90a3\u4e48\u53d6\u4e24\u4e2a\u7403\u79f0\u4e00\u4e0b\uff0c\u54ea\u4e2a\u91cd\u54ea\u4e2a\u662f\u6b21\u54c1\uff0c\u5e73\u7684\u8bdd\u7b2c\u4e09\u4e2a\u91cd\uff0c\u662f\u6b21\u54c1\uff0c\u8f7b\u7684\u8bdd\u540c\u7406<br \/>\n\u5982\u679c\u5e73\u4e86\uff0c\u90a3\u4e48\u5269\u4e0b\u4e00\u4e2a\u6b21\u54c1\uff0c\u8fd8\u53ef\u6839\u636e\u9700\u8981\u79f0\u51fa\u6b21\u54c1\u6bd4\u6b63\u54c1\u8f7b\u6216\u8005\u91cd<br \/>\n\u5982\u679c\u4e0d\u5e73\uff1a<br \/>\n\u90a3\u4e48\u4e0d\u59a8\u8bbe\u5de6\u8fb9\u91cd\u53f3\u8fb9\u8f7b\uff0c\u4e3a\u4e86\u4fbf\u4e8e\u8bf4\u660e\uff0c\u5c06\u5de6\u8fb94\u9897\u79f0\u4e3a\u91cd\u7403\uff0c\u53f3\u8fb94\u9897\u79f0\u4e3a\u8f7b\u7403\uff0c\u5269\u4e0b4\u9897\u79f0\u4e3a\u597d\u7403<br \/>\n\u53d6\u91cd\u74032\u9897\uff0c\u8f7b\u74032\u9897\u653e\u5728\u5de6\u4fa7\uff0c\u53f3\u4fa7\u653e3\u9897\u597d\u7403\u548c\u4e00\u9897\u8f7b\u7403<br \/>\n\u5982\u679c\u5de6\u8fb9\u91cd<br \/>\n\u79f0\u90a3\u4e24\u9897\u91cd\u7403\uff0c\u91cd\u7684\u4e00\u4e2a\u6b21\u54c1\uff0c\u5e73\u7684\u8bdd\u53f3\u8fb9\u8f7b\u7403\u6b21\u54c1<br \/>\n\u5982\u679c\u53f3\u8fb9\u91cd<br \/>\n\u79f0\u5de6\u8fb9\u4e24\u9897\u8f7b\u7403\uff0c\u8f7b\u7684\u4e00\u4e2a\u6b21\u54c1<br \/>\n\u5982\u679c\u5e73<br \/>\n\u79f0\u5269\u4e0b\u4e24\u9897\u91cd\u7403\uff0c\u91cd\u7684\u4e00\u4e2a\u6b21\u54c1\uff0c\u5e73\u7684\u8bdd\u5269\u4e0b\u90a3\u9897\u8f7b\u7403\u6b21\u54c1<br \/>\n13\u4e2a\u7403\uff1a<br \/>\n\u7b2c\u4e00\u6b21\uff1a4\uff0c4\uff0c\u5982\u679c\u5e73\u4e86<br \/>\n\u52695\u9897\u7403\u7528\u4e0a\u9762\u7684\u65b9\u6cd5\u4ecd\u65e7\u80fd\u627e\u51fa\u6b21\u54c1\uff0c\u53ea\u662f\u4e0d\u80fd\u77e5\u9053\u6b21\u54c1\u662f\u91cd\u662f\u8f7b<br \/>\n\u5982\u679c\u4e0d\u5e73\uff0c\u540c\u4e0a<\/p>\n<p>6)<br \/>\no o o<\/p>\n<p>o o o<\/p>\n<p>o o o<\/p>\n<p>7)<br \/>\n23\u6b21\uff0c\u56e0\u4e3a\u5206\u9488\u8981\u8f6c24\u5708\uff0c\u65f6\u9488\u624d\u80fd\u8f6c1\u5708\uff0c\u800c\u5206\u9488\u548c\u65f6\u9488\u91cd\u5408\u4e24\u6b21\u4e4b\u95f4\u7684\u95f4\u9694\u663e\u7136&gt;1\u5c0f\u65f6\uff0c\u5b83\u4eec\u670923\u6b21\u91cd\u5408\u673a\u4f1a\uff0c\u6bcf\u6b21\u91cd\u5408\u4e2d\u79d2\u9488\u6709\u4e00\u6b21\u91cd\u5408\u673a\u4f1a\uff0c\u6240\u4ee5\u662f23\u6b21<br \/>\n\u91cd\u5408\u65f6\u95f4\u53ef\u4ee5\u5bf9\u7167\u624b\u8868\u6c42\u51fa\uff0c\u4e5f\u53ef\u5217\u65b9\u7a0b\u6c42\u51fa<br \/>\n8)<br \/>\n\u5728\u5730\u7403\u8868\u9762\u79cd\u6811\uff0c\u505a\u4e00\u4e2a\u5730\u7403\u5185\u63a5\u7684\u6b63\u56db\u9762\u4f53\uff0c\u5185\u63a5\u70b9\u5373\u4e3a\u6240\u6c42<\/p>\n<p>\u7b2c\u4e8c\u7ec4 \u65e0\u6807\u51c6\u7b54\u6848<\/p>\n<p>\u7b2c\u4e09\u7ec4<\/p>\n<p>1. \u5206\u62101,2,4\u4e09\u6bb5\uff0c\u7b2c\u4e00\u5929\u7ed91\uff0c\u7b2c\u4e8c\u5929\u7ed92\u53d6\u56de1\uff0c\u7b2c3\u5929\u7ed91\uff0c\u7b2c4\u5929\u7ed94\u53d6\u56de1\u30012\uff0c\u7b2c5\u5929\u7ed91\uff0c\u7b2c6\u5929\u7ed92\u53d6\u56de1\uff0c\u7b2c\u4e03\u5929\u7ed91<\/p>\n<p>2. \u6c42\u51fa\u706b\u8f66\u76f8\u9047\u65f6\u95f4\uff0c\u9e1f\u901f\u4e58\u4ee5\u65f6\u95f4\u5c31\u662f\u9e1f\u98de\u884c\u7684\u8ddd\u79bb<\/p>\n<p>3. \u56db\u4e2a\u7f50\u5b50\u4e2d\u5206\u522b\u53d61,2,3,4\u9897\u836f\u4e38\uff0c\u79f0\u51fa\u6bd4\u6b63\u5e38\u91cd\u591a\u5c11\uff0c\u5373\u53ef\u5224\u65ad\u51fa\u90a3\u4e2a\u7f50\u5b50\u7684\u836f\u88ab\u6c61\u67d3<\/p>\n<p>4. \u4e09\u4e2a\u5f00\u5173\u5206\u522b\uff1a\u5173\uff0c\u5f00\uff0c\u5f0010\u5206\u949f\uff0c\u7136\u540e\u8fdb\u5c4b\uff0c\u6697\u4e14\u51c9\u7684\u4e3a\u5f00\u51731\u63a7\u5236\u7684\u706f\uff0c\u4eae\u7684\u4e3a\u5f00\u51732\u63a7\u5236\u7684\u706f\uff0c\u6697\u4e14\u70ed\u7684\u4e3a\u5f00\u51733\u63a7\u5236\u7684\u706f<\/p>\n<p>5. \u56e0\u4e3a\u53ef\u4ee5\u75281\uff0c2\uff0c5\uff0c10\u7ec4\u5408\u6210\u4efb\u4f55\u9700\u8981\u7684\u8d27\u5e01\u503c\uff0c\u65e5\u5e38\u4e60\u60ef\u4e3a10\u8fdb\u5236<\/p>\n<p>6. \u9898\u610f\u4e0d\u7406\u89e3&#8230;*_*<\/p>\n<p>\u7b2c\u56db\u7ec4 \u90fd\u662f\u5f88\u96be\u7684\u9898\u76ee<\/p>\n<p>\u7b2c\u4e00\u9898\uff1a97 0 1 2 0 \u6216\u8005 97 0 1 0 2 (\u63d0\u793a\uff1a\u53ef\u7528\u9006\u63a8\u6cd5\u6c42\u51fa)<\/p>\n<p>\u7b2c\u4e8c\u9898\uff1a3\u67b6\u98de\u673a5\u67b6\u6b21\uff0c\u98de\u6cd5\uff1a<br \/>\nABC 3\u67b6\u540c\u65f6\u8d77\u98de\uff0c1\/8\u5904\uff0cC\u7ed9AB\u52a0\u6ee1\u6cb9\uff0cC\u8fd4\u822a\uff0c1\/4\u5904\uff0cB\u7ed9A\u52a0\u6ee1\u6cb9\uff0cB\u8fd4\u822a\uff0cA\u5230\u8fbe1\/2\u5904\uff0cC\u4ece\u673a\u573a\u5f80\u53e6\u4e00\u65b9\u5411\u8d77\u98de\uff0c3\/4\u5904\uff0cC\u540c\u5df2\u7ecf\u7a7a\u6cb9\u7bb1 \u7684A\u5e73\u5206\u5269\u4f59\u6cb9\u91cf\uff0c\u540c\u65f6B\u4ece\u673a\u573a\u8d77\u98de\uff0cAC\u52307\/8\u5904\u540cB\u5e73\u5206\u5269\u4f59\u6cb9\u91cf\uff0c\u521a\u597d3\u67b6\u98de\u673a\u540c\u65f6\u8fd4\u822a\u3002\u6240\u4ee5\u662f3\u67b6\u98de\u673a5\u67b6\u6b21\u3002<\/p>\n<p>\u7b2c\u4e09\u9898\uff1a\u9700\u8981\u5efa\u7acb\u6570\u5b66\u6a21\u578b<br \/>\n(\u63d0\u793a\uff0c\u4e25\u683c\u8bc1\u660e\u8be5\u6a21\u578b\u6700\u4f18\u6bd4\u8f83\u9ebb\u70e6\uff0c\u4f46\u786e\u5b9e\u53ef\u8bc1\uff0c\u5927\u80c6\u731c\u60f3\u662f\u89e3\u9898\u5173\u952e)<br \/>\n\u9898\u76ee\u53ef\u5f52\u7ed3\u4e3a\u6c42\u6570\u5217 an=500\/(2n+1) n=0,1,2,3&#8230;&#8230;\u7684\u548cSn\u4ec0\u4e48\u65f6\u5019\u5927\u4e8e\u7b49\u4e8e1000,\u89e3\u5f97n&gt;6<br \/>\n\u5f53n=6\u65f6\uff0cS6=977.57<br \/>\n\u6240\u4ee5\u7b2c\u4e00\u4e2a\u4e2d\u8f6c\u70b9\u79bb\u8d77\u59cb\u4f4d\u7f6e\u8ddd\u79bb\u4e3a1000-977.57=22.43\u516c\u91cc<br \/>\n\u6240\u4ee5\u7b2c\u4e00\u6b21\u4e2d\u8f6c\u4e4b\u524d\u5171\u8017\u6cb9 22.43*(2*7+1)=336.50\u5347<br \/>\n\u6b64\u540e\u6bcf\u6b21\u4e2d\u8f6c\u8017\u6cb9500\u5347<br \/>\n\u6240\u4ee5\u603b\u8017\u6cb9\u91cf\u4e3a7*500+336.50=3836.50\u5347<\/p>\n<p>\u7b2c\u56db\u9898\uff1a\u9700\u8981\u5efa\u7acb\u6570\u5b66\u6a21\u578b<br \/>\n\u9898\u76ee\u53ef\u5f52\u7ed3\u4e3a\u6c42\u81ea\u7136\u6570\u5217\u7684\u548cS\u4ec0\u4e48\u65f6\u5019\u5927\u4e8e\u7b49\u4e8e100\uff0c\u89e3\u5f97n&gt;13<br \/>\n\u7b2c\u4e00\u4e2a\u676f\u5b50\u53ef\u80fd\u7684\u6295\u63b7\u697c\u5c42\u5206\u522b\u4e3a\uff1a14\uff0c27\uff0c39\uff0c50\uff0c60\uff0c69\uff0c77\uff0c84\uff0c90\uff0c95\uff0c99\uff0c100<\/p>\n<p>\u7b2c\u4e94\u9898\uff1a3\u548c4(\u53ef\u4e25\u683c\u8bc1\u660e)<br \/>\n\u8bbe\u4e24\u4e2a\u6570\u4e3an1\uff0cn2\uff0cn1&gt;=n2\uff0c\u7532\u542c\u5230\u7684\u6570\u4e3an=n1+n2\uff0c\u4e59\u542c\u5230\u7684\u6570\u4e3am=n1*n2<br \/>\n\u8bc1\u660en1=3\uff0cn2=4\u662f\u552f\u4e00\u89e3<br \/>\n\u8bc1\u660e\uff1a\u8981\u8bc1\u4ee5\u4e0a\u547d\u9898\u4e3a\u771f\uff0c\u4e0d\u59a8\u5148\u8bc1n=7<br \/>\n1)\u5fc5\u8981\u6027\uff1a<br \/>\ni) n&gt;5 \u662f\u663e\u7136\u7684\uff0c\u56e0\u4e3an&lt;4\u4e0d\u53ef\u80fd\uff0cn=4\u6216\u8005n=5\u7532\u90fd\u4e0d\u53ef\u80fd\u56de\u7b54\u4e0d\u77e5\u9053<br \/>\nii) n&gt;6 \u56e0\u4e3a\u5982\u679cn=6\u7684\u8bdd\uff0c\u90a3\u4e48\u7532\u867d\u7136\u4e0d\u77e5\u9053(\u4e0d\u786e\u5b9a2+4\u8fd8\u662f3+3)\u4f46\u662f\u65e0\u8bba\u662f2\uff0c4\u8fd8\u662f3\uff0c3\u4e59\u90fd\u4e0d\u53ef\u80fd\u8bf4\u4e0d\u77e5\u9053(m=8\u6216\u8005m=9\u7684\u8bdd\u4e59\u8bf4\u4e0d\u77e5\u9053\u662f\u6ca1\u6709\u9053\u7406\u7684)<br \/>\niii) n&lt;8 \u56e0\u4e3a\u5982\u679cn&gt;=8\u7684\u8bdd\uff0c\u5c31\u53ef\u4ee5\u5c06n\u5206\u89e3\u6210 n=4+x \u548c n=6+(x-2)\uff0c\u90a3\u4e48m\u53ef\u4ee5\u662f4x\u4e5f\u53ef\u4ee5\u662f6(x-2)\u800c4x=6(x-2)\u7684\u5fc5\u8981\u6761\u4ef6\u662fx=6\u5373n=10\uff0c\u90a3\u6837n\u53c8\u53ef\u4ee5\u5206\u89e3\u62108+2\uff0c\u6240\u4ee5\u603b\u4e4b\u5f53 n&gt;=8\u65f6\uff0cn\u81f3\u5c11\u53ef\u4ee5\u5206\u89e3\u6210\u4e24\u79cd\u4e0d\u540c\u7684\u5408\u6570\u4e4b\u548c\uff0c\u8fd9\u6837\u4e59\u8bf4\u4e0d\u77e5\u9053\u7684\u65f6\u5019\uff0c\u7532\u5c31\u6ca1\u6709\u7406\u7531\u9a6c\u4e0a\u8bf4\u77e5\u9053\u3002<br \/>\n\u4ee5\u4e0a\u8bc1\u660e\u4e86\u5fc5\u8981\u6027<br \/>\n2)\u5145\u5206\u6027<br \/>\n\u5f53n=7\u65f6\uff0cn\u53ef\u4ee5\u5206\u89e3\u62102+5\u62163+4<br \/>\n\u663e\u71362+5\u4e0d\u7b26\u5408\u9898\u610f\uff0c\u820d\u53bb\uff0c\u5bb9\u6613\u5224\u65ad\u51fa3+4\u7b26\u5408\u9898\u610f\uff0cm=12\uff0c\u8bc1\u6bd5<br \/>\n\u4e8e\u662f\u5f97\u5230n=7 m=12 n1=3 n2=4\u662f\u552f\u4e00\u89e3\u3002<\/p>\n<p>\u7b2c\u516d\u9898\uff1a7\u53ea(\u6570\u5b66\u5f52\u7eb3\u6cd5\u8bc1\u660e)<br \/>\n1)\u82e5\u53ea\u67091\u53ea\u75c5\u72d7\uff0c\u56e0\u4e3a\u75c5\u72d7\u4e3b\u4eba\u770b\u4e0d\u5230\u6709\u5176\u4ed6\u75c5\u72d7\uff0c\u5fc5\u7136\u4f1a\u77e5\u9053\u81ea\u5df1\u7684\u72d7\u662f\u75c5\u72d7(\u524d\u63d0\u662f\u4e00\u5b9a\u5b58\u5728\u75c5\u72d7)\uff0c\u6240\u4ee5\u4ed6\u4f1a\u5728\u7b2c\u4e00\u5929\u628a\u75c5\u72d7\u5904\u51b3\u3002<br \/>\n2)\u8bbe\u6709k\u53ea\u75c5\u72d7\u7684\u8bdd\uff0c\u4f1a\u5728\u7b2ck\u5929\u88ab\u5904\u51b3\uff0c\u90a3\u4e48\uff0c\u5982\u679c\u6709k+1\u53ea\uff0c\u75c5\u72d7\u7684\u4e3b\u4eba\u53ea\u4f1a\u770b\u5230k\u53ea\u75c5\u72d7\uff0c\u800c\u7b2ck\u5929\u6ca1\u6709\u4eba\u5904\u51b3\u75c5\u72d7\uff0c\u75c5\u72d7\u4e3b\u4eba\u5c31\u4f1a\u5728\u7b2ck+1\u5929\u77e5\u9053\u81ea\u5df1\u7684\u72d7\u662f\u75c5\u72d7\uff0c\u4e8e\u662f\u75c5\u72d7\u5728\u7b2ck+1\u5929\u88ab\u5904\u51b3<br \/>\n3)\u75311)2)\u5f97\uff0c\u82e5\u6709n\u53ea\u75c5\u72d7\uff0c\u5fc5\u7136\u5728\u7b2cn\u5929\u88ab\u5904\u51b3<\/p>\n<p>\u7b2c\u4e03\u9898\uff1a(\u63d0\u793a\uff1a\u53ef\u7528\u56fe\u8bba\u65b9\u6cd5\u89e3\u51b3)<br \/>\nBONO&amp;EDGE\u8fc7(2\u5206)\uff0cBONO\u5c06\u624b\u7535\u5e26\u56de(1\u5206)\uff0cADAM&amp;LARRY\u8fc7(10\u5206)\uff0cEDGE\u5c06\u624b\u7535\u5e26\u56de(2\u5206)\uff0cBONO&amp;EDGE\u8fc7(2\u5206) 2+1+10+2+2=17\u5206\u949f<\/p>\n<p>\u7b2c\u516b\u9898\uff1a<br \/>\n\u7ea6\u5b9a\u597d\u4e00\u4e2a\u4eba\u4f5c\u4e3a\u62a5\u544a\u4eba(\u53ef\u4ee5\u662f\u7b2c\u4e00\u4e2a\u653e\u98ce\u7684\u4eba)<br \/>\n\u89c4\u5219\u5982\u4e0b\uff1a<br \/>\n1\u3001\u62a5\u544a\u4eba\u653e\u98ce\u7684\u65f6\u5019\u5f00\u706f\u5e76\u6570\u5f00\u706f\u6b21\u6570<br \/>\n2\u3001\u5176\u4ed6\u4eba\u7b2c\u4e00\u6b21\u9047\u5230\u5f00\u7740\u706f\u653e\u98ce\u65f6\uff0c\u5c06\u706f\u5173\u95ed<br \/>\n3\u3001\u5f53\u62a5\u544a\u4eba\u7b2c100\u6b21\u5f00\u706f\u7684\u65f6\u5019\uff0c\u53bb\u5411\u76d1\u72f1\u957f\u62a5\u544a\uff0c\u8981\u6c42\u76d1\u72f1\u957f\u653e\u4eba&#8230;&#8230;<br \/>\n\u6309\u7167\u6982\u7387\u5927\u7ea630\u5e74\u540e(10000\u5929)\u4ed6\u4eec\u53ef\u4ee5\u88ab\u91ca\u653e<\/p>\n<p>\u7b2c\u4e94\u7ec4\u65e0\u6807\u51c6\u7b54\u6848<\/p>\n<p>\u7b2c\u516d\u7ec4\u90e8\u5206\u9898\u53c2\u8003\u7b54\u6848\uff1a<\/p>\n<p>4.<br \/>\nchar * strcpy(char * pstrDest,const char * pstrSource)<br \/>\n{<br \/>\nassert((pstrDest!=NULL)&amp;&amp;(pstrSource!=NULL));<br \/>\nchar * pstr=pstrDest;<br \/>\nwhile((*(pstrDest++)=*(pstrSource++))!=&#8217;\\0&#8242;);<br \/>\nreturn pstr;<br \/>\n}<\/p>\n<p>5.<br \/>\nchar * strrev(char * pstr)<br \/>\n{<br \/>\nassert(pstr!=NULL);<\/p>\n<p>char * p=pstr;<br \/>\nchar * pret=pstr;<br \/>\nwhile(*(p++)!=&#8217;\\0&#8242;);<br \/>\np&#8211;;<br \/>\nchar tmp;<br \/>\nwhile(p&gt;pstr)<br \/>\n{<br \/>\ntmp=*p;<br \/>\n*(p&#8211;)=*(pstr);<br \/>\n*(pstr++)=tmp;<br \/>\n}<br \/>\nreturn pret;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b2c\u4e00\u7ec4\u9898\u7b54\u6848\uff1a 1)\u4e09\u6839\u7ef3\uff0c\u7b2c\u4e00\u6839\u70b9\u71c3\u4e24\u7aef\uff0c\u7b2c\u4e8c\u6839\u70b9\u71c3\u4e00\u7aef\uff0c\u7b2c\u4e09\u6839\u4e0d\u70b9 \u7b2c\u4e00\u6839\u7ef3\u70e7\u5b8c(30\u5206\u949f)\u540e\uff0c\u70b9\u71c3\u7b2c\u4e8c\u6839 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-276","post","type-post","status-publish","format-standard","hentry","category-default"],"_links":{"self":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/comments?post=276"}],"version-history":[{"count":1,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/276\/revisions"}],"predecessor-version":[{"id":4446,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/276\/revisions\/4446"}],"wp:attachment":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/media?parent=276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/categories?post=276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/tags?post=276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}