{"id":79115,"date":"2019-08-09T19:51:09","date_gmt":"2019-08-09T11:51:09","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/79115.html"},"modified":"2019-08-09T19:51:09","modified_gmt":"2019-08-09T11:51:09","slug":"%e7%bb%99%e5%87%ba%e5%89%8d%e4%b8%89-%e5%9b%9b-%e4%ba%94-%e5%85%ad%e9%ab%98%e4%bd%8e%e7%9a%84%e6%ba%90%e7%a0%81_%e7%82%92%e8%82%a1%e8%ae%ba%e5%9d%9b%e7%a4%be%e5%8c%ba","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=79115","title":{"rendered":"\u7ed9\u51fa\u524d\u4e09 \u56db \u4e94 \u516d\u9ad8\u4f4e\u7684\u6e90\u7801_\u7092\u80a1\u8bba\u575b\u793e\u533a"},"content":{"rendered":"<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u628a \u6284\u5e95\u526f\u56fe \u91cc\u9762\u7684 \u4e70\u5165\u70b9\u5206\u522b\u6539\u6210\u9884\u8b66<\/p>\n<p>\u628a \u6284\u5e95\u526f\u56fe \u91cc\u9762\u7684 \u4e70\u5165\u70b9\u5206\u522b\u6539\u6210\u9884\u8b66<\/p>\n<\/blockquote>\n<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u3010\u80a1\u7968\u8d44\u6e90\u9986\u3011\u5927\u667a\u6167365\u7834\u89e3\u7248\uff0c\u80a1\u7968,\u80a1\u7968\u8d44\u6e90\u9986,\u80a1\u7968\u7f51,\u80a1\u7968\u8f6f\u4ef6,\u80a1\u7968\u516c\u5f0f,\u80a1\u7968\u4e66\u7c4d,\u7092\u80a1\u8f6f\u4ef6,\u80a1\u7968\u77e5\u8bc6,\u80a1\u7968\u5165\u95e8,\u7092\u80a1\u6559\u7a0b,\u80a1\u7968\u516c\u5f0f\u6307\u6807\u3001\u80a1\u7968\u4e66\u7c4d\u4e0b\u8f7d\u7f51\u7ad9\u3002<\/p>\n<\/blockquote>\n<p class=\"nr1\"><script type=\"text\/javascript\" src=\"\/about\/guanzhu.js\"><\/script> <\/p>\n<p style=\"color:red\">\u7f16\u5199\u6761\u4ef6\uff1a<\/p>\n<\/p>\n<p style=\"color:red\">\u7f16\u5199\u65b9\u6cd5\uff1a<\/p>\n<p><span style=\"color: rgb(255, 0, 0); \">&nbsp;\u7f51\u53cb\u6c42\u52a9\uff1a<\/span><\/p>\n<div>\n \u5404\u4f4d\u8001\u5927\u6839\u636e\u4ee5\u4e0b\u8fd9\u6bb5\u4e3b\u56fe\u6e90\u7801\u5e2e\u5fd9\u505a\u51fa\u524d\u4e09\u3001 \u56db\u3001\u4e94\u3001\u516d\u7684\u9ad8\u4f4e\u753b\u7ebf\u6e90\u7801\uff0c\u8c22\u8c22\uff01<br \/>\n <br \/> input:N(3);<br \/>\n <br \/> J1:=BARSTATUS=2;<br \/>\n <br \/> J2:=REF(HIGH,N)=HHV(HIGH,2*N+1);<br \/>\n <br \/> J3:=FILTER(J2,N);<br \/>\n <br \/> J4:=BACKSET(J3,N+1);<br \/>\n <br \/> J5:=FILTER(J4,N);<br \/>\n <br \/> J6:=J5 OR J1;<br \/>\n <br \/> J7:=REF(LOW,N)=LLV(LOW,2*N+1);<br \/>\n <br \/> J8:=FILTER(J7,N);<br \/>\n <br \/> J9:=BACKSET(J8,N+1);<br \/>\n <br \/> JA:=FILTER(J9,N);<br \/>\n <br \/> JB:=JA AND NOT(J5);<br \/>\n <br \/> JC:=BACKSET(J6,REF(BARSLAST(JB),1)+1);<br \/>\n <br \/> JD:=JC&gt;REF(JC,1);<br \/>\n <br \/> JE:=BACKSET(JD,2);<br \/>\n <br \/> JF:=JE&gt;REF(JE,1);<br \/>\n <br \/> J10:=BACKSET(JF AND COUNT(J6,REF(BARSLAST(JB),1)+2)=0,REF(BARSLAST(JB),1)+2);<br \/>\n <br \/> J11:=J10&gt;REF(J10,1);<br \/>\n <br \/> J12:=BACKSET(J11 AND COUNT(J6,REF(BARSLAST(JB),1)+2)=0,REF(BARSLAST(JB),1)+2);<br \/>\n <br \/> J13:=J12&gt;REF(J12,1);<br \/>\n <br \/> J14:=IF(J6,COUNT(JB,REF(BARSLAST(J6),1)+1),0);<br \/>\n <br \/> J15:=IF(J14=1 AND J6,BARSLAST(JF),0);<br \/>\n <br \/> J16:=IF(J6 AND REF(LOW,BARSLAST(JF))&gt;=REF(LOW,BARSLAST(J11)),BARSLAST(J11),BARSLAST(JF));<br \/>\n <br \/> J17:=IF(J14=2 AND J6,J16,0);<br \/>\n <br \/> J18:=IF(J14&gt;=3 AND J6,IF(J6 AND REF(LOW,J16)&gt;=REF(LOW,BARSLAST(J13)),BARSLAST(J13),J16),0);<br \/>\n <br \/> J19:=J15+J17+J18;<br \/>\n <br \/> J1A:=BACKSET(J6,J19);<br \/>\n <br \/> J1B:=J1A&gt;REF(J1A,1);<br \/>\n <br \/> J1C:=BACKSET(J1B,2);<br \/>\n <br \/> J1D:=J1C&gt;REF(J1C,1);<br \/>\n <br \/> J1E:=J1D OR J1;<br \/>\n <br \/> J1F:=BACKSET(J1E,REF(BARSLAST(J6),1)+1);<br \/>\n <br \/> J20:=J1F&gt;REF(J1F,1);<br \/>\n <br \/> J21:=BACKSET(J20,2);<br \/>\n <br \/> J22:=J21&gt;REF(J21,1);<br \/>\n <br \/> J23:=BACKSET(J22 AND COUNT(J1E,REF(BARSLAST(J6),1)+2)=0,REF(BARSLAST(J6),1)+2);<br \/>\n <br \/> J24:=J23&gt;REF(J23,1);<br \/>\n <br \/> J25:=BACKSET(J24 AND COUNT(J1E,REF(BARSLAST(J6),1)+2)=0,REF(BARSLAST(J6),1)+2);<br \/>\n <br \/> J26:=J25&gt;REF(J25,1);<br \/>\n <br \/> J27:=IF(J1E,COUNT(J5,REF(BARSLAST(J1E),1)+1),0);<br \/>\n <br \/> J28:=IF(J27=1 AND J1E,BARSLAST(J22),0);<br \/>\n <br \/> J29:=IF(J1E AND REF(HIGH,BARSLAST(J22))&lt;=REF(HIGH,BARSLAST(J24)),BARSLAST(J24),BARSLAST(J22));<br \/>\n <br \/> J2A:=IF(J27=2 AND J1E,J29,0);<br \/>\n <br \/> J2B:=IF(J27&gt;=3 AND J1E,IF(J1E AND REF(HIGH,J29)&lt;=REF(HIGH,BARSLAST(J26)),BARSLAST(J26),J29),0);<br \/>\n <br \/> J2C:=J28+J2A+J2B;<br \/>\n <br \/> J2D:=BACKSET(J1E,J2C);<br \/>\n <br \/> J2E:=J2D&gt;REF(J2D,1);<br \/>\n <br \/> J2F:=BACKSET(J2E,2);<br \/>\n <br \/> J30:=J2F&gt;REF(J2F,1);<br \/>\n <br \/> J37:=BACKSET(J1,BARSLAST(J1D)+1);<br \/>\n <br \/> J38:=J37&gt;REF(J37,1);<br \/>\n <br \/> J39:=BACKSET(J38,REF(BARSLAST(J1D),1)+2);<br \/>\n <br \/> J3A:=J39&gt;REF(J39,1);<br \/>\n <br \/> J3B:=BACKSET(J1,BARSLAST(J30)+1);<br \/>\n <br \/> J3C:=J3B&gt;REF(J3B,1);<br \/>\n <br \/> J3D:=BACKSET(J3C,REF(BARSLAST(J30),1)+2);<br \/>\n <br \/> J3E:=J3D&gt;REF(J3D,1); <\/p>\n<p>\u524d\u4e00\u4f4e: REF(LOW,BARSLAST(J38)),ColorWHITE,PointDot,Linethick3;<br \/> \u524d\u4e8c\u4f4e: REF(LOW,BARSLAST(J3A)),Colormagenta,PointDot,Linethick2;<br \/> \u524d\u4e00\u9ad8: REF(HIGH,BARSLAST(J3C)),ColorWHITE,PointDot,Linethick3;<br \/> \u524d\u4e8c\u9ad8: REF(HIGH,BARSLAST(J3E)),Colormagenta,PointDot,Linethick2;<\/p>\n<\/div>\n<div>\n &nbsp;\n<\/div>\n<p><img decoding=\"async\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/8\/eiEfMz.jpg\" width=\"1159\" border=\"0\" height=\"346\" alt=\"\u7ed9\u51fa\u524d\u4e09 \u56db \u4e94 \u516d\u9ad8\u4f4e\u7684\u6e90\u7801\" style=\"cursor:pointer\" onclick=\"window.open('\/uploads\/allimg\/120508\/2_120508154505_1.jpg')\" class=\"aligncenter\"><\/p>\n<div>\n <span style=\"color: rgb(255, 0, 0); \">\u89e3\u7b54\u5982\u4e0b\uff1a<\/span>\n<\/div>\n<div>\n \u539f\u6765\u516c\u5f0f\u6709\u70b9\u7f57\u55e6\u4e86\uff0c\u53ef\u4ee5\u8fd9\u6837 <\/p>\n<p>input:N(5);<br \/> J1:=BARSTATUS=2;<br \/> J2:=REF(HIGH,N)=HHV(HIGH,2*N+1);<br \/> J3:=FILTER(J2,N);<br \/> J4:=BACKSET(J3,N+1);<br \/> J5:=FILTER(J4,N);<br \/> J6:=J5 OR J1;<br \/> J7:=REF(LOW,N)=LLV(LOW,2*N+1);<br \/> J8:=FILTER(J7,N);<br \/> J9:=BACKSET(J8,N+1);<br \/> JA:=FILTER(J9,N);<br \/> JB:=JA AND NOT(J5);<br \/> HORILINE(J6,h,J6 ),Colorffffff,DOTLINE; \u9ad8\u53c2\u8003:ref(ref(h,BARSLAST(J6)),1),Linethick0;<br \/> HORILINE(JB,l,JB ),Color00ffff,DOTLINE; \u4f4e\u53c2\u8003:ref(ref(l,BARSLAST(Jb)),1),Linethick0;<br \/> \u9009\u80a1\u548c\u9884\u8ba1\u7528\u9ad8\u53c2\u8003\uff0c\u4f4e\u53c2\u8003<br \/> &nbsp;<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/8\/vyMRbe.jpg\" width=\"721\" border=\"0\" height=\"308\" alt=\"\u7ed9\u51fa\u524d\u4e09 \u56db \u4e94 \u516d\u9ad8\u4f4e\u7684\u6e90\u7801\" style=\"cursor:pointer\" onclick=\"window.open('\/uploads\/allimg\/120508\/2_120508154539_1.jpg')\" class=\"aligncenter\"><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>{\u80a1\u7968\u8d44\u6e90\u9986:www.lixiangluntan.com\u4e13\u4e1a\u548c\u8c10\u9ad8\u7aef\u7092\u80a1\u8f6f\u4ef6--\u516c\u5f0f\u7f16\u5199\u4ea4\u6d41--\u52a0QQ751161480--}<a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u80a1\u7968\u516c\u5f0f\u7f51<\/a><\/p>\n<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u4e09 \u53d8\u8272\u5747\u7ebf\u6e90\u7801<\/p>\n<p>\u4e09 \u53d8\u8272\u5747\u7ebf\u6e90\u7801<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u7ed9\u51fa\u524d\u4e09 \u56db \u4e94 \u516d\u9ad8\u4f4e\u7684\u6e90\u7801<\/p>\n","protected":false},"author":7,"featured_media":79116,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[179],"tags":[180],"class_list":["post-79115","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gsbxdy","tag-180"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/79115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79115"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/79115\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/media\/79116"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}