{"id":114168,"date":"2026-10-08T13:49:02","date_gmt":"2026-10-08T05:49:02","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/114168.html"},"modified":"2026-10-08T13:49:02","modified_gmt":"2026-10-08T05:49:02","slug":"%e4%bf%ae%e5%a4%8d%e6%9c%ba%e5%99%a8%e4%ba%ba%e5%90%83%e9%87%91%e5%b8%81bug","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/114168.html","title":{"rendered":"\u4fee\u590d\u673a\u5668\u4eba\u5403\u91d1\u5e01bug"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261008054900-6ac72eccdecd1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261008054901-6ac72ecd3dcb2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u57fa\u51c6\u7b56\u7565\u542b\u6709\u591a\u5904bug,\u901a\u5173\u7387\u8f83\u4f4e\u3002 \u65b9\u5411\u4f20\u611f\u5668\u6052\u8fd4&#034;\u5317&#034;&#xff0c;\u6211\u6539\u4e3a\u6bd4\u8f83\u76f8\u90bb\u4e24\u6b65 position \u7684\u4f4d\u79fb\u5dee\u53cd\u63a8\u771f\u5b9e\u671d\u5411&#xff0c;\u518d\u7528 memory \u5728\u7ebf\u6d4b\u7ed8\u5730\u56fe&#xff08;\u5df2\u77e5\u5899\/\u53ef\u8d70\u683c\/\u91d1\u5e01\u4f4d\u7f6e&#xff09;&#xff0c;\u5728\u5730\u56fe\u4e0a\u505a\u4e50\u89c2 BFS \u5bfc\u822a&#xff1b;\u6b65\u6570\u9884\u7b97\u5185\u4e3b\u52a8\u63a2\u7d22&#034;\u524d\u6cbf\u683c\u5b50&#034;\u627e\u91d1\u5e01&#xff0c;\u89c1\u5e01\u5c31\u6361&#xff0c;\u6700\u540e\u76f4\u5954\u7ec8\u70b9\u3002<\/p>\n<h3>1. \u6211\u7684\u4f18\u5316\u65b9\u5411&#xff08;\u53ef\u591a\u9009&#xff09;<\/h3>\n<ul>\n<li class=\"task-list-item\"> \u6b65\u6570\u4f18\u5316&#xff08;\u8ba9\u673a\u5668\u4eba\u8d70\u5f97\u66f4\u5feb&#xff09;<\/li>\n<li class=\"task-list-item\"> \u91d1\u5e01\u6536\u96c6&#xff08;\u8ba9\u673a\u5668\u4eba\u6361\u66f4\u591a\u91d1\u5e01&#xff09;<\/li>\n<li class=\"task-list-item\"> \u6210\u529f\u7387&#xff08;\u8ba9\u673a\u5668\u4eba\u5728\u5404\u79cd\u5730\u56fe\u4e0a\u90fd\u80fd\u5230\u7ec8\u70b9&#xff09;<\/li>\n<li class=\"task-list-item\"> \u8bb0\u5fc6\u5229\u7528&#xff08;\u8ba9\u673a\u5668\u4eba\u8bb0\u4f4f\u8d70\u8fc7\u7684\u8def&#xff09;<\/li>\n<li class=\"task-list-item\"> \u5176\u4ed6&#xff1a;\u671d\u5411\u81ea\u63a8\u65ad&#xff08;\u6211\u7684\u5b9e\u9a8c\u6761\u4ef6 #7 \u662f\u65b9\u5411\u4f20\u611f\u5668\u6545\u969c&#xff0c;\u5fc5\u987b\u5148\u89e3\u51b3&#034;\u4e0d\u77e5\u9053\u81ea\u5df1\u9762\u671d\u54ea&#034;\u7684\u95ee\u9898&#xff0c;\u5176\u4ed6\u4f18\u5316\u624d\u6709\u610f\u4e49&#xff09;<\/li>\n<\/ul>\n<p>\u7b80\u8981\u8bf4\u660e\u4f60\u7684\u4f18\u5316\u601d\u8def&#xff08;100 \u5b57\u4ee5\u5185&#xff09;&#xff1a;<\/p>\n<p>\u65b9\u5411\u4f20\u611f\u5668\u6052\u8fd4&#034;\u5317&#034;&#xff0c;\u6211\u6539\u4e3a\u6bd4\u8f83\u76f8\u90bb\u4e24\u6b65 position \u7684\u4f4d\u79fb\u5dee\u53cd\u63a8\u771f\u5b9e\u671d\u5411&#xff0c;\u518d\u7528 memory \u5728\u7ebf\u6d4b\u7ed8\u5730\u56fe&#xff08;\u5df2\u77e5\u5899\/\u53ef\u8d70\u683c\/\u91d1\u5e01\u4f4d\u7f6e&#xff09;&#xff0c;\u5728\u5730\u56fe\u4e0a\u505a\u4e50\u89c2 BFS \u5bfc\u822a&#xff1b;\u6b65\u6570\u9884\u7b97\u5185\u4e3b\u52a8\u63a2\u7d22&#034;\u524d\u6cbf\u683c\u5b50&#034;\u627e\u91d1\u5e01&#xff0c;\u89c1\u5e01\u5c31\u6361&#xff0c;\u6700\u540e\u76f4\u5954\u7ec8\u70b9\u3002<\/p>\n<hr \/>\n<h3>2. \u6211\u5177\u4f53\u6539\u4e86\u4ec0\u4e48&#xff1f;<\/h3>\n<ul>\n<li>\u6539\u52a8 1&#xff08;\u671d\u5411\u81ea\u63a8\u65ad&#xff09;&#xff1a;\u6bcf\u6b65\u6bd4\u8f83\u5f53\u524d position \u4e0e\u4e0a\u4e00\u6b65 position \u7684\u4f4d\u79fb\u5dee&#xff08;dy&#061;-1\u2192\u5317\u3001dx&#061;&#043;1\u2192\u4e1c\u3001dy&#061;&#043;1\u2192\u5357\u3001dx&#061;-1\u2192\u897f&#xff09;\u76f4\u63a5\u53cd\u63a8\u771f\u5b9e\u671d\u5411&#xff1b;\u4f4d\u7f6e\u6ca1\u53d8\u65f6\u6309\u81ea\u5df1\u4e0a\u4e00\u6b65\u53d1\u51fa\u7684&#034;\u5de6\u8f6c\/\u53f3\u8f6c\/\u540e\u8f6c&#034;\u66f4\u65b0\u671d\u5411\u4fe1\u5ff5\u3002\u6574\u4e2a\u7b56\u7565\u5b8c\u5168\u4e0d\u8bfb perception[\u201cdirection\u201d]&#xff0c;\u56e0\u6b64\u5bf9\u7ea6\u675f #7 \u514d\u75ab\u3002<\/li>\n<li>\u6539\u52a8 2&#xff08;\u5728\u7ebf\u6d4b\u7ed8 &#043; \u8bb0\u5fc6&#xff09;&#xff1a;\u671d\u5411\u5df2\u77e5\u540e&#xff0c;\u628a front\/right\/back\/left \u56db\u4e2a\u76f8\u5bf9\u4f20\u611f\u5668\u8bfb\u6570\u6362\u7b97\u6210\u7edd\u5bf9\u65b9\u5411&#xff0c;\u9010\u6b65\u628a\u5730\u56fe&#xff08;\u54ea\u4e9b\u683c\u662f\u5899\u3001\u54ea\u91cc\u6709\u91d1\u5e01&#xff09;\u753b\u8fdb perception[\u201cmemory\u201d]&#xff0c;\u4fe1\u606f\u8de8\u6b65\u6301\u4e45\u3002<\/li>\n<li>\u6539\u52a8 3&#xff08;\u4e50\u89c2 BFS \u5bfc\u822a&#xff09;&#xff1a;\u5728\u5df2\u6d4b\u7ed8\u5730\u56fe\u4e0a\u505a\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22&#xff0c;\u672a\u63a2\u660e\u7684\u683c\u5b50\u5148\u4e50\u89c2\u5f53\u4f5c\u53ef\u901a\u884c&#xff0c;\u649e\u5230\u65b0\u5899\u5c31\u5373\u65f6\u91cd\u89c4\u5212&#xff1b;\u53bb\u6361\u91d1\u5e01\/\u63a2\u7d22\u65f6\u628a\u7ec8\u70b9\u683c\u5f53&#034;\u96f7\u533a&#034;\u7ed5\u5f00&#xff0c;\u907f\u514d\u987a\u8def\u8e29\u4e0a\u7ec8\u70b9\u63d0\u524d\u7ed3\u675f\u3002<\/li>\n<li>\u6539\u52a8 4&#xff08;\u4e3b\u52a8\u63a2\u7d22 &#043; \u62fe\u91d1&#xff09;&#xff1a;\u6b65\u6570\u9884\u7b97\u5185&#xff08;\u4e0a\u9650 78 \u6b65&#xff0c;\u5e76\u7528&#034;\u5df2\u7528\u6b65\u6570 &#043; 2\u00d7\u5230\u7ec8\u70b9\u8ddd\u79bb &lt; 100&#034;\u505a\u52a8\u6001\u4fdd\u9669&#xff09;\u524d\u5f80\u6700\u8fd1\u7684&#034;\u524d\u6cbf\u683c\u5b50&#034;&#xff08;\u4e0e\u672a\u77e5\u533a\u57df\u76f8\u90bb\u7684\u5df2\u77e5\u683c&#xff09;\u7167\u4eae\u5730\u56fe&#xff0c;\u4fa6\u5bdf\u5230\u91d1\u5e01\u5c31\u7ed5\u8def\u53bb\u6361&#xff1b;\u9884\u7b97\u8017\u5c3d\u540e\u76f4\u5954\u7ec8\u70b9\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>3. \u4f18\u5316\u524d\u540e\u5bf9\u6bd4<\/h3>\n<p>\u8fd0\u884c python run.py &#8211;evaluate \u83b7\u53d6\u6570\u636e&#xff0c;\u586b\u5165\u4e0b\u8868&#xff1a;<\/p>\n<table>\n<tr>\u6307\u6807Baseline&#xff08;\u4f18\u5316\u524d&#xff09;\u6211\u7684\u7248\u672c&#xff08;\u4f18\u5316\u540e&#xff09;\u63d0\u5347\u500d\u6570<\/tr>\n<tbody>\n<tr>\n<td align=\"left\">\u5e73\u5747\u6b65\u6570<\/td>\n<td align=\"center\">~345&#xff08;\u5b9e\u6d4b&#xff09;<\/td>\n<td align=\"center\">90<\/td>\n<td align=\"center\">3.8 \u500d<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u91d1\u5e01\u6536\u96c6\u7387<\/td>\n<td align=\"center\">~61%&#xff08;\u5b9e\u6d4b&#xff09;<\/td>\n<td align=\"center\">88%<\/td>\n<td align=\"center\">1.4 \u500d<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u901a\u5173\u6210\u529f\u7387<\/td>\n<td align=\"center\">~67%&#xff08;\u5b9e\u6d4b 10\/15&#xff09;<\/td>\n<td align=\"center\">100%&#xff08;15\/15&#xff09;<\/td>\n<td align=\"center\">&#043;33 \u4e2a\u767e\u5206\u70b9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u81ea\u52a8\u8bc4\u6d4b\u5206\u6570&#xff1a;Baseline 34\/50 \u2192 \u6211\u7684\u7248\u672c 50\/50&#xff08;\u6ee1\u5206&#xff09;&#xff08;\u6b65\u6570\u6548\u7387 20\/20\u3001\u91d1\u5e01\u6536\u96c6 15\/15\u3001\u901a\u5173\u6210\u529f 15\/15&#xff09;\u3002<\/p>\n<p>\u53e6\u5916&#xff1a;\u672c\u7b56\u7565\u4ece\u4e0d\u8bfb\u53d6 direction&#xff0c;\u6240\u4ee5\u5e26\u7ea6\u675f #7&#xff08;\u65b9\u5411\u4f20\u611f\u5668\u6545\u969c&#xff09;\u8bc4\u6d4b\u7684\u7ed3\u679c\u4e0e\u4e0a\u8868\u5b8c\u5168\u4e00\u81f4&#xff0c;\u540c\u6837\u662f 50\/50&#xff08;\u5e73\u5747 90 \u6b65\u3001\u91d1\u5e01\u7387 87.6%\u3001\u901a\u5173 15\/15&#xff09;\u3002<\/p>\n<p>&#xff08;\u8bf7\u7c98\u8d34\u4e00\u5f20\u8bc4\u6d4b\u62a5\u544a\u7684\u7ec8\u7aef\u622a\u56fe&#xff09;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261008054901-6ac72ecd6b2ec.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261008054901-6ac72ecdacda9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>4. \u9047\u5230\u7684\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6cd5<\/h3>\n<p>\u95ee\u9898 1&#xff1a;\u65b9\u5411\u4f20\u611f\u5668\u6052\u8fd4&#034;\u5317&#034;&#xff0c;\u65e0\u6cd5\u5f97\u77e5\u771f\u5b9e\u671d\u5411&#xff0c;\u8fde&#034;\u524d\u65b9\u662f\u54ea\u8fb9&#034;\u90fd\u6362\u7b97\u4e0d\u6210\u7edd\u5bf9\u65b9\u5411\u3002<\/p>\n<p>\u600e\u4e48\u89e3\u51b3\u7684&#xff1a;\u6ce8\u610f\u5230\u53ea\u6709&#034;\u524d\u8fdb&#034;\u4f1a\u6539\u53d8\u4f4d\u7f6e&#xff0c;\u4e8e\u662f\u6bd4\u8f83\u76f8\u90bb\u4e24\u6b65 position \u7684\u4f4d\u79fb\u5dee\u6765\u53cd\u63a8\u771f\u5b9e\u671d\u5411\u2014\u2014\u79fb\u52a8\u6210\u529f\u90a3\u4e00\u523b\u671d\u5411\u5c31\u88ab\u552f\u4e00\u786e\u5b9a&#xff1b;\u4f4d\u7f6e\u4e0d\u53d8\u65f6&#xff08;\u539f\u5730\u8f6c\u5411\u6216\u88ab\u5899\u6321\u4f4f&#xff09;&#xff0c;\u6309\u81ea\u5df1\u4e0a\u4e00\u6b65\u53d1\u51fa\u7684\u8f6c\u5411\u52a8\u4f5c\u7ef4\u62a4&#034;\u671d\u5411\u4fe1\u5ff5&#034;\u3002\u5f00\u5c40\u671d\u5411\u672a\u77e5\u65f6\u5148&#034;\u8bd5\u6c34&#034;\u8d70\u4e00\u6b65&#xff08;\u524d\u65b9\u662f\u5899\u5c31\u5148\u53f3\u8f6c\u518d\u8bd5&#xff09;&#xff0c;\u4e00\u65e6\u4f4d\u7f6e\u53d1\u751f\u53d8\u5316\u671d\u5411\u7acb\u5373\u63ed\u6653\u3002<\/p>\n<p>\u95ee\u9898 2&#xff1a;\u53bb\u6361\u91d1\u5e01\/\u63a2\u7d22\u7684\u8def\u4e0a&#xff0c;\u673a\u5668\u4eba\u7ecf\u5e38&#034;\u83ab\u540d\u5176\u5999&#034;\u63d0\u524d\u7ed3\u675f\u6e38\u620f&#xff0c;\u91d1\u5e01\u7387\u4e0a\u4e0d\u53bb\u3002<\/p>\n<p>\u600e\u4e48\u89e3\u51b3\u7684&#xff1a;\u9010\u6b65\u8c03\u8bd5&#xff08;\u5728 memory \u91cc\u8bb0\u5f55\u6bcf\u6b65\u9009\u7684\u76ee\u6807\u683c&#xff09;\u540e\u53d1\u73b0\u4e24\u4e2a\u9690\u853d bug&#xff1a;\u2460 BFS \u53bb\u5f80\u91d1\u5e01\/\u524d\u6cbf\u7684\u8def\u5f84\u53ef\u80fd\u6070\u597d\u7a7f\u8fc7\u7ec8\u70b9\u683c&#xff0c;\u8e29\u4e0a\u53bb\u6e38\u620f\u7acb\u5373\u7ed3\u675f&#xff1b;\u2461 \u7ec8\u70b9\u683c\u81ea\u5df1\u82e5\u6709\u672a\u77e5\u90bb\u5c45&#xff0c;\u4f1a\u88ab\u8bef\u5224\u6210&#034;\u524d\u6cbf\u683c\u5b50&#034;&#xff0c;\u53bb&#034;\u63a2\u7d22&#034;\u5b83\u7b49\u4e8e\u4e3b\u52a8\u8e29\u7ec8\u70b9\u3002\u4fee\u590d&#xff1a;\u76ee\u6807\u4e0d\u662f\u7ec8\u70b9\u65f6\u628a\u7ec8\u70b9\u683c\u5f53&#034;\u96f7\u533a&#034;\u4ece BFS \u91cc\u5c4f\u853d&#xff1b;\u524d\u6cbf\u5019\u9009\u6392\u9664\u7ec8\u70b9\u683c\u3002\u4fee\u590d\u540e\u91d1\u5e01\u7387\u4ece 33% \u63d0\u5347\u5230 88%\u3002<\/p>\n<hr \/>\n<h3>5. \u5982\u679c\u8fd8\u6709\u65f6\u95f4&#xff0c;\u6211\u4f1a\u600e\u4e48\u7ee7\u7eed\u6539\u8fdb&#xff1f;<\/h3>\n<p>\u2460 \u63a2\u7d22\u987a\u5e8f\u6539\u6210&#034;\u4fe1\u606f\u589e\u76ca\u8d2a\u5fc3&#034;&#xff08;\u4f18\u5148\u53bb\u80fd\u4e00\u6b21\u7167\u4eae\u6700\u591a\u672a\u77e5\u683c\u7684\u524d\u6cbf&#xff09;&#xff0c;\u7528\u66f4\u5c11\u6b65\u6570\u8986\u76d6\u66f4\u5927\u533a\u57df&#xff0c;\u628a\u5730\u56fe 4\/5 \u7684\u91d1\u5e01\u7387\u4ece 67%\/71% \u518d\u5f80\u4e0a\u63a8&#xff1b;\u2461 \u628a&#034;\u53bb\u54ea\u4e9b\u91d1\u5e01\u3001\u6309\u4ec0\u4e48\u987a\u5e8f&#034;\u5efa\u6a21\u6210\u5c0f\u578b TSP&#xff0c;\u7528\u6700\u8fd1\u90bb &#043; 2-opt \u6c42\u66f4\u4f18\u62fe\u91d1\u987a\u5e8f&#xff1b;\u2462 \u76ee\u524d\u6bcf\u6b65\u5168\u91cf\u91cd\u7b97 BFS&#xff0c;\u53ef\u4ee5\u6539\u6210\u672c\u5730\u5316\u91cd\u89c4\u5212&#xff0c;\u628a\u7b56\u7565\u63a8\u5e7f\u5230\u66f4\u5927\u7f51\u683c&#xff1b;\u2463 \u7ed9\u8f6c\u5411\u505a\u5e73\u6ed1&#xff08;\u8fde\u7eed\u540c\u5411\u8f6c\u5f2f\u63d0\u524d\u5408\u5e76&#xff09;&#xff0c;\u8fdb\u4e00\u6b65\u538b\u4f4e\u6b65\u6570\u3002<\/p>\n<hr \/>\n<h3>6. \u901a\u8fc7\u8fd9\u4e2a\u5b9e\u9a8c&#xff0c;\u6211\u5bf9\u300c\u5177\u8eab\u667a\u80fd\u300d\u7684\u7406\u89e3&#xff08;50 \u5b57\u4ee5\u5185&#xff09;<\/h3>\n<p>\u667a\u80fd\u4f53\u4e0d\u4f9d\u8d56\u5b8c\u5907\u611f\u77e5\u4e5f\u80fd\u884c\u52a8&#xff1a;\u7528\u884c\u52a8\u7684\u540e\u679c&#xff08;\u4f4d\u7f6e\u53d8\u5316&#xff09;\u53cd\u63a8\u81ea\u8eab\u72b6\u6001&#xff0c;\u8fb9\u8d70\u8fb9\u628a\u4e16\u754c\u753b\u8fdb\u8bb0\u5fc6&#xff0c;\u611f\u77e5\u7f3a\u9677\u53ef\u4ee5\u7528&#034;\u884c\u52a8 &#043; \u8bb0\u5fc6 &#043; \u63a8\u7406&#034;\u8865\u9f50\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u51c6\u7b56\u7565\u542b\u6709\u591a\u5904bug,\u901a\u5173\u7387\u8f83\u4f4e\u3002 \u65b9\u5411\u4f20\u611f\u5668\u6052\u8fd4\\&#8221;\u5317\\&#8221;&#xff0c;\u6211\u6539\u4e3a\u6bd4\u8f83\u76f8\u90bb\u4e24\u6b65 position \u7684\u4f4d\u79fb\u5dee\u53cd\u63a8\u771f\u5b9e\u671d\u5411&#xff0c;\u518d\u7528 memory \u5728\u7ebf\u6d4b\u7ed8\u5730\u56fe&#xff08;\u5df2\u77e5\u5899\/\u53ef\u8d70\u683c\/\u91d1\u5e01\u4f4d\u7f6e&#xff09;&#xff0c;\u5728\u5730\u56fe\u4e0a\u505a\u4e50\u89c2 BFS \u5bfc\u822a&#xff1b;\u6b65\u6570\u9884\u7b97\u5185\u4e3b\u52a8\u63a2\u7d22\\&#8221;\u524d\u6cbf\u683c\u5b50\\&#8221;\u627e\u91d1\u5e01&#xff0c;\u89c1\u5e01\u5c31\u6361&#xff0c;\u6700\u540e\u76f4\u5954\u7ec8\u70b9\u3002<br \/>\n1. \u6211\u7684\u4f18\u5316\u65b9\u5411&#xff08;\u53ef\u591a\u9009&#xff09;\u6b65\u6570\u4f18\u5316&#xff08;\u8ba9\u673a\u5668\u4eba\u8d70\u5f97<\/p>\n","protected":false},"author":2,"featured_media":114164,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81],"topic":[],"class_list":["post-114168","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4fee\u590d\u673a\u5668\u4eba\u5403\u91d1\u5e01bug - \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\/114168.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4fee\u590d\u673a\u5668\u4eba\u5403\u91d1\u5e01bug - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u57fa\u51c6\u7b56\u7565\u542b\u6709\u591a\u5904bug,\u901a\u5173\u7387\u8f83\u4f4e\u3002 \u65b9\u5411\u4f20\u611f\u5668\u6052\u8fd4&quot;\u5317&quot;&#xff0c;\u6211\u6539\u4e3a\u6bd4\u8f83\u76f8\u90bb\u4e24\u6b65 position \u7684\u4f4d\u79fb\u5dee\u53cd\u63a8\u771f\u5b9e\u671d\u5411&#xff0c;\u518d\u7528 memory \u5728\u7ebf\u6d4b\u7ed8\u5730\u56fe&#xff08;\u5df2\u77e5\u5899\/\u53ef\u8d70\u683c\/\u91d1\u5e01\u4f4d\u7f6e&#xff09;&#xff0c;\u5728\u5730\u56fe\u4e0a\u505a\u4e50\u89c2 BFS \u5bfc\u822a&#xff1b;\u6b65\u6570\u9884\u7b97\u5185\u4e3b\u52a8\u63a2\u7d22&quot;\u524d\u6cbf\u683c\u5b50&quot;\u627e\u91d1\u5e01&#xff0c;\u89c1\u5e01\u5c31\u6361&#xff0c;\u6700\u540e\u76f4\u5954\u7ec8\u70b9\u3002 1. \u6211\u7684\u4f18\u5316\u65b9\u5411&#xff08;\u53ef\u591a\u9009&#xff09;\u6b65\u6570\u4f18\u5316&#xff08;\u8ba9\u673a\u5668\u4eba\u8d70\u5f97\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/114168.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-08T05:49:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261008054900-6ac72eccdecd1.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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/114168.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/114168.html\",\"name\":\"\u4fee\u590d\u673a\u5668\u4eba\u5403\u91d1\u5e01bug - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-08T05:49:02+00:00\",\"dateModified\":\"2026-10-08T05:49:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/114168.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/114168.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/114168.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4fee\u590d\u673a\u5668\u4eba\u5403\u91d1\u5e01bug\"}]},{\"@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":"\u4fee\u590d\u673a\u5668\u4eba\u5403\u91d1\u5e01bug - \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\/114168.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4fee\u590d\u673a\u5668\u4eba\u5403\u91d1\u5e01bug - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u57fa\u51c6\u7b56\u7565\u542b\u6709\u591a\u5904bug,\u901a\u5173\u7387\u8f83\u4f4e\u3002 \u65b9\u5411\u4f20\u611f\u5668\u6052\u8fd4\"\u5317\"&#xff0c;\u6211\u6539\u4e3a\u6bd4\u8f83\u76f8\u90bb\u4e24\u6b65 position \u7684\u4f4d\u79fb\u5dee\u53cd\u63a8\u771f\u5b9e\u671d\u5411&#xff0c;\u518d\u7528 memory \u5728\u7ebf\u6d4b\u7ed8\u5730\u56fe&#xff08;\u5df2\u77e5\u5899\/\u53ef\u8d70\u683c\/\u91d1\u5e01\u4f4d\u7f6e&#xff09;&#xff0c;\u5728\u5730\u56fe\u4e0a\u505a\u4e50\u89c2 BFS \u5bfc\u822a&#xff1b;\u6b65\u6570\u9884\u7b97\u5185\u4e3b\u52a8\u63a2\u7d22\"\u524d\u6cbf\u683c\u5b50\"\u627e\u91d1\u5e01&#xff0c;\u89c1\u5e01\u5c31\u6361&#xff0c;\u6700\u540e\u76f4\u5954\u7ec8\u70b9\u3002 1. \u6211\u7684\u4f18\u5316\u65b9\u5411&#xff08;\u53ef\u591a\u9009&#xff09;\u6b65\u6570\u4f18\u5316&#xff08;\u8ba9\u673a\u5668\u4eba\u8d70\u5f97","og_url":"https:\/\/www.wsisp.com\/helps\/114168.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-08T05:49:02+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261008054900-6ac72eccdecd1.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/114168.html","url":"https:\/\/www.wsisp.com\/helps\/114168.html","name":"\u4fee\u590d\u673a\u5668\u4eba\u5403\u91d1\u5e01bug - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-08T05:49:02+00:00","dateModified":"2026-10-08T05:49:02+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/114168.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/114168.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/114168.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4fee\u590d\u673a\u5668\u4eba\u5403\u91d1\u5e01bug"}]},{"@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\/114168","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=114168"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/114168\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/114164"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=114168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=114168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=114168"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=114168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}