{"id":47889,"date":"2025-07-30T09:41:54","date_gmt":"2025-07-30T01:41:54","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/47889.html"},"modified":"2025-07-30T09:41:54","modified_gmt":"2025-07-30T01:41:54","slug":"%e3%80%8a%e5%89%91%e6%8c%87offer%e3%80%8b-%e7%ae%97%e6%b3%95%e7%af%87-%e6%95%b0%e5%ad%a6","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/47889.html","title":{"rendered":"\u300a\u5251\u6307offer\u300b-\u7b97\u6cd5\u7bc7-\u6570\u5b66"},"content":{"rendered":"<h2>\u9898\u76ee<\/h2>\n<li>\n<p>\u6570\u503c\u7684\u6574\u6570\u6b21\u65b9<\/p>\n<\/li>\n<li>\n<p>\u6574\u6570\u4e2d1\u51fa\u73b0\u7684\u6b21\u6570&#xff08;\u6574\u6570\u7684\u8303\u56f4\u4e3a1&#xff5e;n&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u4e11\u6570<\/p>\n<\/li>\n<li>\n<p>\u548c\u4e3aS\u7684\u8fde\u7eed\u6b63\u6570\u5e8f\u5217(\u6ed1\u52a8\u7a97\u53e3\u601d\u60f3)<\/p>\n<\/li>\n<li>\n<p>\u548c\u4e3aS\u7684\u4e24\u4e2a\u6570\u5b57(\u53cc\u6307\u9488\u601d\u60f3)<\/p>\n<\/li>\n<li>\n<p>\u6784\u5efa\u4e58\u79ef\u6570\u7ec4<\/p>\n<\/li>\n<li>\n<p>\u6570\u636e\u6d41\u4e2d\u7684\u4e2d\u4f4d\u6570<\/p>\n<\/li>\n<li>\n<p>\u6251\u514b\u724c\u987a\u5b50<\/p>\n<\/li>\n<h2><\/h2>\n<h2>\u4ee3\u7801\u5b9e\u73b0<\/h2>\n<h3>\u6570\u503c\u7684\u6574\u6570\u6b21\u65b9<\/h3>\n<p>\u9898\u76ee\u63cf\u8ff0&#xff1a;\u7ed9\u5b9a\u4e00\u4e2adouble\u7c7b\u578b\u7684\u6d6e\u70b9\u6570base\u548cint\u7c7b\u578b\u7684\u6574\u6570exponent&#xff0c;\u6c42base\u7684exponent\u6b21\u65b9\u3002\u4fdd\u8bc1base\u548cexponent\u4e0d\u540c\u65f6\u4e3a0\u3002<\/p>\n<p>\u601d\u8def&#xff1a;\u5224\u65adexponent\u7684\u5947\u5076\u6027\u3002\u76f8\u6bd4\u4e8e\u76f4\u63a5\u6309\u7167\u5faa\u73af\u6b21\u6570&#xff0c;\u76f8\u4e58exponent\u6b21&#xff0c;\u91c7\u7528res*&#061;res\u7684\u65b9\u5f0f\u53ef\u4ee5\u5b9e\u73b0O(logn)\u6b21\u7684\u76f8\u4e58\u3002<\/p>\n<p># -*- coding:utf-8 -*-<br \/>\nclass Solution:<br \/>\n    def Power(self, base, exponent):<br \/>\n        # write code here<br \/>\n        res&#061;base<br \/>\n        flag&#061;1<br \/>\n        if exponent&lt;0:<br \/>\n            exponent*&#061;-1<br \/>\n            flag&#061;-1<br \/>\n        elif exponent&#061;&#061;0:<br \/>\n            return 1<br \/>\n        while True:<br \/>\n            if exponent%2&#061;&#061;1:<br \/>\n                if exponent&#061;&#061;1:<br \/>\n                    res*&#061;base<br \/>\n                    break<br \/>\n                res*&#061;res<br \/>\n                exponent&#061;exponent\/\/2<br \/>\n            else:<br \/>\n                if exponent&#061;&#061;1:<br \/>\n                    res&#061;res<br \/>\n                    break<br \/>\n                res*&#061;res<br \/>\n                exponent&#061;exponent\/\/2<br \/>\n        return res if flag&#061;&#061;1 else 1\/res<\/p>\n<h3>\u6574\u6570\u4e2d1\u51fa\u73b0\u7684\u6b21\u6570&#xff08;\u6574\u6570\u7684\u8303\u56f4\u4e3a1&#xff5e;n&#xff09;<\/h3>\n<p>\u9898\u76ee\u63cf\u8ff0&#xff1a;\u6c42\u51fa1~13\u7684\u6574\u6570\u4e2d1\u51fa\u73b0\u7684\u6b21\u6570,\u5e76\u7b97\u51fa100~1300\u7684\u6574\u6570\u4e2d1\u51fa\u73b0\u7684\u6b21\u6570&#xff1f;\u4e3a\u6b64\u4ed6\u7279\u522b\u6570\u4e86\u4e00\u4e0b1~13\u4e2d\u5305\u542b1\u7684\u6570\u5b57\u67091\u300110\u300111\u300112\u300113\u56e0\u6b64\u5171\u51fa\u73b06\u6b21,\u4f46\u662f\u5bf9\u4e8e\u540e\u9762\u95ee\u9898\u4ed6\u5c31\u6ca1\u8f99\u4e86\u3002ACMer\u5e0c\u671b\u4f60\u4eec\u5e2e\u5e2e\u4ed6,\u5e76\u628a\u95ee\u9898\u66f4\u52a0\u666e\u904d\u5316,\u53ef\u4ee5\u5f88\u5feb\u7684\u6c42\u51fa\u4efb\u610f\u975e\u8d1f\u6574\u6570\u533a\u95f4\u4e2d1\u51fa\u73b0\u7684\u6b21\u6570&#xff08;\u4ece1 \u5230 n \u4e2d1\u51fa\u73b0\u7684\u6b21\u6570&#xff09;\u3002<\/p>\n<p>\u601d\u8def&#xff1a;\u9010\u4e2a\u627e\u5230\u6570\u5b57\u6240\u5305\u542b\u76841\u7684\u4e2a\u6570\u3002<\/p>\n<p># -*- coding:utf-8 -*-<br \/>\nclass Solution:<br \/>\n    def NumberOf1Between1AndN_Solution(self, n):<br \/>\n        # write code here<br \/>\n        &#034;&#034;&#034;<br \/>\n        \u65b9\u6cd51&#xff1a;\u53c2\u8003<br \/>\nhttps:\/\/www.nowcoder.com\/profile\/4321749\/codeBookDetail?submissionId&#061;12566515<br \/>\n        \u7684\u8bb2\u89e3<br \/>\n        res &#061; 0<br \/>\n        i &#061; 1  # \u4e2a\u4f4d\u5f00\u59cb<br \/>\n        while n \/\/ i !&#061; 0:<br \/>\n            high &#061; n\/\/(i*10) # \u9ad8\u4f4d\u6570<br \/>\n            current &#061; (n\/\/i) % 10  # \u7b2ci\u4f4d\u6570<br \/>\n            low &#061; n &#8211; (n\/\/i) * i  # \u4f4e\u4f4d\u6570<br \/>\n            if current &#061;&#061; 0:<br \/>\n                res &#043;&#061; high * i<br \/>\n            elif current &#061;&#061; 1:<br \/>\n                res &#043;&#061; high * i &#043; low &#043; 1<br \/>\n            else:<br \/>\n                res &#043;&#061; (high&#043;1) * i<br \/>\n            i *&#061; 10<br \/>\n        return res<br \/>\n        &#034;&#034;&#034;<br \/>\n        &#034;&#034;&#034;<br \/>\n        #\u65b9\u6cd52<br \/>\n        #\u4ee51~13\u4e3a\u4f8b&#xff1a;<br \/>\n        res&#061;0<br \/>\n        tmp&#061;n<br \/>\n        base&#061;1<br \/>\n        while tmp:<br \/>\n            last&#061;tmp%10<br \/>\n            tmp&#061;tmp\/10<br \/>\n            #\u52a0\u4e0a\u4e24\u4f4d\u6570\u4e2d\u7684\u53cc11\u7684\u8fd9\u4e00\u79cd\u60c5\u51b5<br \/>\n            res&#043;&#061;tmp*base<br \/>\n            #\u52a0\u4e0a\u4e24\u4f4d\u6570\u7684\u5176\u5b83\u60c5\u51b5<br \/>\n            if last&#061;&#061;1:<br \/>\n                res&#043;&#061;n%base&#043;1<br \/>\n            #\u52a0\u4e0a\u4e2a\u4f4d\u7684&#034;1&#034;\u8fd9\u4e00\u79cd\u60c5\u51b5<br \/>\n            elif last&gt;1:<br \/>\n                res&#043;&#061;base<br \/>\n            base*&#061;10<br \/>\n        return res<br \/>\n        &#034;&#034;&#034;<br \/>\n        counts &#061; 0<br \/>\n        if n &lt; 1: return 0<br \/>\n        for i in range(1, n&#043;1):<br \/>\n            num &#061; i<br \/>\n            while num&gt;0:<br \/>\n                if num%10 &#061;&#061;1:<br \/>\n                    counts &#061; counts &#043; 1<br \/>\n                num &#061; num\/10<br \/>\n        return counts<\/p>\n<h3>\u4e11\u6570<\/h3>\n<p>\u9898\u76ee\u63cf\u8ff0&#xff1a;\u628a\u53ea\u5305\u542b\u8d28\u56e0\u5b502\u30013\u548c5\u7684\u6570\u79f0\u4f5c\u4e11\u6570&#xff08;Ugly Number&#xff09;\u3002\u4f8b\u59826\u30018\u90fd\u662f\u4e11\u6570&#xff0c;\u4f4614\u4e0d\u662f&#xff0c;\u56e0\u4e3a\u5b83\u5305\u542b\u8d28\u56e0\u5b507\u3002 \u4e60\u60ef\u4e0a\u6211\u4eec\u628a1\u5f53\u505a\u662f\u7b2c\u4e00\u4e2a\u4e11\u6570\u3002\u6c42\u6309\u4ece\u5c0f\u5230\u5927\u7684\u987a\u5e8f\u7684\u7b2cN\u4e2a\u4e11\u6570\u3002<\/p>\n<p>\u601d\u8def&#xff1a;\u4fdd\u8bc1\u76f8\u4e58\u7684\u6570\u4e2d\u53ea\u67092\u30013\u30015&#xff0c;\u800c\u4e14\u662f\u6309\u7167\u7531\u5c0f\u5230\u5927\u7684\u987a\u5e8f\u4e00\u6b21\u5f97\u5230\u4e11\u6570&#xff0c;\u5217\u8868\u4e2d\u7684\u6700\u540e\u4e00\u4e2a\u6570\u503c\u5c31\u662f\u7b2cN\u4e2a\u4e11\u6570\u3002<\/p>\n<p># -*- coding:utf-8 -*-<br \/>\nclass Solution:<br \/>\n    def GetUglyNumber_Solution(self, index):<br \/>\n        # write code here<br \/>\n        if index &lt;&#061; 1: return index<br \/>\n        #\u7b2c\u4e00\u4e2a\u4e11\u6570\u662f1<br \/>\n        res &#061; [1] * index<br \/>\n        i2, i3, i5 &#061; 0, 0, 0<br \/>\n        #\u627e\u5230\u7b2c2\u4e2a\u5230\u7b2cindex\u4e2a\u4e11\u6570<br \/>\n        #\u5728for\u7684\u6bcf\u4e00\u6b21\u5faa\u73af\u4e2d\u80af\u5b9a\u53ef\u4ee5\u627e\u5230\u4e00\u4e2a\u4e11\u6570&#xff0c;\u4e14\u662f\u7531\u5c0f\u5230\u5927\u6700\u5c0f\u7684\u4e00\u4e2a<br \/>\n        for i in range(1, index):<br \/>\n            res[i] &#061; min(res[i2]*2, min(res[i3]*3, res[i5]*5))<br \/>\n            if res[i] &#061;&#061; res[i2]*2: i2 &#043;&#061; 1<br \/>\n            if res[i] &#061;&#061; res[i3]*3: i3 &#043;&#061; 1<br \/>\n            if res[i] &#061;&#061; res[i5]*5: i5 &#043;&#061; 1<br \/>\n        return res[-1]<\/p>\n<h3>\u548c\u4e3aS\u7684\u8fde\u7eed\u6b63\u6570\u5e8f\u5217<\/h3>\n<p>\u9898\u76ee\u63cf\u8ff0&#xff1a;\u5c0f\u660e\u5f88\u559c\u6b22\u6570\u5b66,\u6709\u4e00\u5929\u4ed6\u5728\u505a\u6570\u5b66\u4f5c\u4e1a\u65f6,\u8981\u6c42\u8ba1\u7b97\u51fa9~16\u7684\u548c,\u4ed6\u9a6c\u4e0a\u5c31\u5199\u51fa\u4e86\u6b63\u786e\u7b54\u6848\u662f100\u3002\u4f46\u662f\u4ed6\u5e76\u4e0d\u6ee1\u8db3\u4e8e\u6b64,\u4ed6\u5728\u60f3\u7a76\u7adf\u6709\u591a\u5c11\u79cd\u8fde\u7eed\u7684\u6b63\u6570\u5e8f\u5217\u7684\u548c\u4e3a100(\u81f3\u5c11\u5305\u62ec\u4e24\u4e2a\u6570)\u3002\u6ca1\u591a\u4e45,\u4ed6\u5c31\u5f97\u5230\u53e6\u4e00\u7ec4\u8fde\u7eed\u6b63\u6570\u548c\u4e3a100\u7684\u5e8f\u5217:18,19,20,21,22\u3002\u73b0\u5728\u628a\u95ee\u9898\u4ea4\u7ed9\u4f60,\u4f60\u80fd\u4e0d\u80fd\u4e5f\u5f88\u5feb\u7684\u627e\u51fa\u6240\u6709\u548c\u4e3aS\u7684\u8fde\u7eed\u6b63\u6570\u5e8f\u5217? Good Luck!\u8981\u6c42&#xff1a;\u8f93\u51fa\u6240\u6709\u548c\u4e3aS\u7684\u8fde\u7eed\u6b63\u6570\u5e8f\u5217\u3002\u5e8f\u5217\u5185\u6309\u7167\u4ece\u5c0f\u81f3\u5927\u7684\u987a\u5e8f&#xff0c;\u5e8f\u5217\u95f4\u6309\u7167\u5f00\u59cb\u6570\u5b57\u4ece\u5c0f\u5230\u5927\u7684\u987a\u5e8f\u3002 \u601d\u8def&#xff1a;\u6ed1\u52a8\u7a97\u53e3\u5b9e\u73b0&#xff0c;\u6ce8\u610f\u9898\u4e2d\u662f\u8fde\u7eed\u7684\u6b63\u6570\u5e8f\u5217&#xff0c;\u5982\u679c\u662f\u8d1f\u6570\u7684\u8bdd\u5c31\u4e0d\u9002\u5408\u4e86&#xff08;\u56e0\u4e3a\u4e2d\u95f4\u4f1a\u5220\u9664\u6389\u6700\u5c0f\u7684\u8ff0&#xff0c;\u4f46\u662f\u5bf9\u4e8e\u6709\u8d1f\u6570\u7684\u60c5\u51b5&#xff0c;\u5220\u9664\u8d1f\u6570\u4e4b\u540e\u4f1a\u66f4\u5927\u800c\u975e\u66f4\u5c0f&#xff09;<\/p>\n<p># -*- coding:utf-8 -*-<br \/>\nclass Solution:<br \/>\n    def FindContinuousSequence(self, tsum):<br \/>\n        # write code here<br \/>\n        res &#061; []<br \/>\n        windows &#061; []<br \/>\n        sum &#061; 0<br \/>\n        for t in range(1, tsum):<br \/>\n            windows.append(t)<br \/>\n            sum &#043;&#061; t<br \/>\n            #\u589e\u52a0\u5927\u7684\u6570\u503c&#xff0c;\u5220\u9664\u5c0f\u7684\u6570\u503c&#xff0c;\u5f97\u5230\u8fde\u7eed\u7684\u6b63\u6570\u5e8f\u5217<br \/>\n            while sum &gt; tsum:<br \/>\n                sum -&#061; windows.pop(0)<br \/>\n            if sum &#061;&#061; tsum:<br \/>\n                res.append(windows[:])<br \/>\n        return res <\/p>\n<h3>\u548c\u4e3aS\u7684\u4e24\u4e2a\u6570\u5b57<\/h3>\n<p>\u9898\u76ee\u63cf\u8ff0&#xff1a;\u8f93\u5165\u4e00\u4e2a\u9012\u589e\u6392\u5e8f\u7684\u6570\u7ec4\u548c\u4e00\u4e2a\u6570\u5b57S&#xff0c;\u5728\u6570\u7ec4\u4e2d\u67e5\u627e\u4e24\u4e2a\u6570&#xff0c;\u4f7f\u5f97\u4ed6\u4eec\u7684\u548c\u6b63\u597d\u662fS&#xff0c;\u5982\u679c\u6709\u591a\u5bf9\u6570\u5b57\u7684\u548c\u7b49\u4e8eS&#xff0c;\u8f93\u51fa\u4e24\u4e2a\u6570\u7684\u4e58\u79ef\u6700\u5c0f\u7684\u3002<\/p>\n<p>\u601d\u8def&#xff1a;\u548c\u76f4\u63a5\u627e\u5230\u548c\u4e3aS\u7684\u4e24\u4e2a\u6570\u5b57&#xff08;\u5728Leetcode\u4e2d\u5c31\u6709\u8fd9\u6837\u7684\u9898\u76ee&#xff0c;\u5bf9\u5e94\u4e8e\u5176\u4e2d\u7684\u7b2c1\u9053\u9898&#xff09;\u4e0d\u540c&#xff0c;\u8fd9\u91cc\u8fd8\u589e\u52a0\u4e86\u9650\u5236\u6761\u4ef6&#xff1a;\u4e58\u79ef\u6700\u5c0f\u3002<\/p>\n<p># -*- coding:utf-8 -*-<br \/>\nclass Solution:<br \/>\n    def FindNumbersWithSum(self, array, tsum):<br \/>\n        # write code here<br \/>\n        if not array: return []<br \/>\n        lp &#061; 0<br \/>\n        rp &#061; len(array) &#8211; 1<br \/>\n        res &#061; [array[-1]] * 2<br \/>\n        #\u627e\u5230\u6ee1\u8db3\u4e24\u6570\u4e4b\u548c\u7b49\u4e8etmp\u7684\u6570\u7ec4\u7684\u4e0b\u6807lp\u548crp&#xff0c;\u5728\u591a\u7ec4\u4e2d\u627e\u5230\u4e58\u79ef\u6700\u5c0f\u7684\u90a3\u7ec4<br \/>\n        #\u5982\u679c\u6ca1\u6709\u627e\u5230\u7684\u8bdd&#xff0c;\u8fd4\u56de[]<br \/>\n        while lp &lt; rp:<br \/>\n            tmp &#061; array[lp] &#043; array[rp]<br \/>\n            if tmp &gt; tsum:<br \/>\n                rp -&#061; 1<br \/>\n            elif tmp &lt; tsum:<br \/>\n                lp &#043;&#061; 1<br \/>\n            else:<br \/>\n                if array[lp] * array[rp] &lt; res[0] * res[1]:<br \/>\n                    res[0], res[1] &#061; array[lp], array[rp]<br \/>\n                lp &#043;&#061; 1<br \/>\n                rp -&#061; 1<br \/>\n        return res if res[0] &#043; res[1] &#061;&#061; tsum else []<\/p>\n<h3>\u6784\u5efa\u4e58\u79ef\u6570\u7ec4<\/h3>\n<p>\u9898\u76ee\u63cf\u8ff0&#xff1a;\u7ed9\u5b9a\u4e00\u4e2a\u6570\u7ec4A[0,1,&#8230;,n-1],\u8bf7\u6784\u5efa\u4e00\u4e2a\u6570\u7ec4B[0,1,&#8230;,n-1],\u5176\u4e2dB\u4e2d\u7684\u5143\u7d20B[i]&#061;A[0]*A[1]*&#8230;*A[i-1]*A[i&#043;1]*&#8230;*A[n-1]\u3002\u4e0d\u80fd\u4f7f\u7528\u9664\u6cd5\u3002<\/p>\n<p>\u601d\u8def&#xff1a;\u5148\u5b8c\u6210A[0]*A[1]*&#8230;*A[i-1]\u8fd9\u4e00\u90e8\u5206&#xff0c;\u518d\u5b8c\u6210A[i&#043;1]*&#8230;*A[n-1]\u8fd9\u4e00\u90e8\u5206\u3002<\/p>\n<p># -*- coding:utf-8 -*-<br \/>\nclass Solution:<br \/>\n    def multiply(self, A):<br \/>\n        # write code here<br \/>\n        B &#061; [1] * len(A)<br \/>\n        temp &#061; 1<br \/>\n        #\u5148\u5f97\u51faB[n-2]&#061;A[0]*A[1]*&#8230;*A[n-3]<br \/>\n        for i in range(1, len(A)):<br \/>\n            temp *&#061; A[i-1]<br \/>\n            B[i] *&#061; temp<br \/>\n        temp &#061; 1<br \/>\n        #\u518d\u6c42\u51faB[n-2]&#061;A[0]*A[1]*&#8230;*A[n-3]\u00d7A[n-1]<br \/>\n        #for\u5faa\u73af\u8981\u4ecen-2\u5f00\u59cb&#xff0c;\u4f7f\u5f97\u6570\u7ec4B\u521a\u597d\u6ca1\u6709\u4e0b\u6807\u662fn-2\u7684\u5143\u7d20<br \/>\n        for i in range(len(A)-2, -1, -1):<br \/>\n            temp *&#061; A[i&#043;1]<br \/>\n            B[i] *&#061; temp<br \/>\n        return B<\/p>\n<h3>\u6570\u636e\u6d41\u4e2d\u7684\u4e2d\u4f4d\u6570<\/h3>\n<p>\u9898\u76ee\u63cf\u8ff0&#xff1a;\u5982\u4f55\u5f97\u5230\u4e00\u4e2a\u6570\u636e\u6d41\u4e2d\u7684\u4e2d\u4f4d\u6570&#xff1f;\u5982\u679c\u4ece\u6570\u636e\u6d41\u4e2d\u8bfb\u51fa\u5947\u6570\u4e2a\u6570\u503c&#xff0c;\u90a3\u4e48\u4e2d\u4f4d\u6570\u5c31\u662f\u6240\u6709\u6570\u503c\u6392\u5e8f\u4e4b\u540e\u4f4d\u4e8e\u4e2d\u95f4\u7684\u6570\u503c\u3002\u5982\u679c\u4ece\u6570\u636e\u6d41\u4e2d\u8bfb\u51fa\u5076\u6570\u4e2a\u6570\u503c&#xff0c;\u90a3\u4e48\u4e2d\u4f4d\u6570\u5c31\u662f\u6240\u6709\u6570\u503c\u6392\u5e8f\u4e4b\u540e\u4e2d\u95f4\u4e24\u4e2a\u6570\u7684\u5e73\u5747\u503c\u3002\u6211\u4eec\u4f7f\u7528Insert()\u65b9\u6cd5\u8bfb\u53d6\u6570\u636e\u6d41&#xff0c;\u4f7f\u7528GetMedian()\u65b9\u6cd5\u83b7\u53d6\u5f53\u524d\u8bfb\u53d6\u6570\u636e\u7684\u4e2d\u4f4d\u6570\u3002<\/p>\n<p>\u601d\u8def&#xff1a;\u8fb9\u8bfb\u5165\u6570\u636e\u8fb9\u6392\u5e8f&#xff0c;\u6ce8\u610f\u5947\u5076\u60c5\u51b5\u4e0b\u7684\u7ed3\u679c\u7684\u5dee\u5f02\u3002<\/p>\n<p># -*- coding:utf-8 -*-<br \/>\nclass Solution:<br \/>\n    def __init__(self):<br \/>\n        self.sortedList &#061; []<br \/>\n    def Insert(self, num):<br \/>\n        # write code here<br \/>\n        n &#061; len(self.sortedList)<br \/>\n        self.sortedList.append(num)<br \/>\n        #\u7531\u5c0f\u5230\u5927\u6392\u5e8f<br \/>\n        while n !&#061; 0:<br \/>\n            if self.sortedList[n] &lt; self.sortedList[n-1]:<br \/>\n                self.sortedList[n], self.sortedList[n-1] &#061; self.sortedList[n-1], self.sortedList[n]<br \/>\n            else:<br \/>\n                break<br \/>\n            n -&#061; 1<br \/>\n        if n &#061;&#061; 0:<br \/>\n            self.sortedList[n] &#061; num<\/p>\n<p>    def GetMedian(self, x):<br \/>\n        # write code here<br \/>\n        n &#061; len(self.sortedList)<br \/>\n        #\u5947\u5076\u5224\u65ad<br \/>\n        if n % 2 &#061;&#061; 0:<br \/>\n            return (self.sortedList[n\/\/2]&#043;self.sortedList[n\/\/2-1]) \/ 2.0<br \/>\n        else:<br \/>\n            return self.sortedList[n\/\/2]<\/p>\n<h3>\u6251\u514b\u724c\u987a\u5b50<\/h3>\n<p>\u9898\u76ee\u63cf\u8ff0&#xff1a;LL\u4eca\u5929\u5fc3\u60c5\u7279\u522b\u597d,\u56e0\u4e3a\u4ed6\u53bb\u4e70\u4e86\u4e00\u526f\u6251\u514b\u724c,\u53d1\u73b0\u91cc\u9762\u5c45\u7136\u67092\u4e2a\u5927\u738b,2\u4e2a\u5c0f\u738b(\u4e00\u526f\u724c\u539f\u672c\u662f54\u5f20^_^)&#8230;\u4ed6\u968f\u673a\u4ece\u4e2d\u62bd\u51fa\u4e865\u5f20\u724c,\u60f3\u6d4b\u6d4b\u81ea\u5df1\u7684\u624b\u6c14,\u770b\u770b\u80fd\u4e0d\u80fd\u62bd\u5230\u987a\u5b50,\u5982\u679c\u62bd\u5230\u7684\u8bdd,\u4ed6\u51b3\u5b9a\u53bb\u4e70\u4f53\u80b2\u5f69\u7968,\u563f\u563f&#xff01;&#xff01;\u201c\u7ea2\u5fc3A,\u9ed1\u68433,\u5c0f\u738b,\u5927\u738b,\u65b9\u72475\u201d,\u201cOh My God!\u201d\u4e0d\u662f\u987a\u5b50&#8230;..LL\u4e0d\u9ad8\u5174\u4e86,\u4ed6\u60f3\u4e86\u60f3,\u51b3\u5b9a\u5927\\\\\u5c0f \u738b\u53ef\u4ee5\u770b\u6210\u4efb\u4f55\u6570\u5b57,\u5e76\u4e14A\u770b\u4f5c1,J\u4e3a11,Q\u4e3a12,K\u4e3a13\u3002\u4e0a\u9762\u76845\u5f20\u724c\u5c31\u53ef\u4ee5\u53d8\u6210\u201c1,2,3,4,5\u201d(\u5927\u5c0f\u738b\u5206\u522b\u770b\u4f5c2\u548c4),\u201cSo Lucky!\u201d\u3002LL\u51b3\u5b9a\u53bb\u4e70\u4f53\u80b2\u5f69\u7968\u5566\u3002 \u73b0\u5728,\u8981\u6c42\u4f60\u4f7f\u7528\u8fd9\u5e45\u724c\u6a21\u62df\u4e0a\u9762\u7684\u8fc7\u7a0b,\u7136\u540e\u544a\u8bc9\u6211\u4eecLL\u7684\u8fd0\u6c14\u5982\u4f55&#xff0c; \u5982\u679c\u724c\u80fd\u7ec4\u6210\u987a\u5b50\u5c31\u8f93\u51fatrue&#xff0c;\u5426\u5219\u5c31\u8f93\u51fafalse\u3002\u4e3a\u4e86\u65b9\u4fbf\u8d77\u89c1,\u4f60\u53ef\u4ee5\u8ba4\u4e3a\u5927\u5c0f\u738b\u662f0\u3002<\/p>\n<p>\u601d\u8def&#xff1a;\u9996\u5148&#xff0c;\u786e\u5b9a\u201c\u5927\u5c0f\u738b\u201d\u7684\u4e2a\u6570\u3002\u7136\u540e&#xff0c;\u6392\u9664\u7ec4\u6210\u7684\u724c\u4e2d\u6709\u76f8\u540c\u7684\u5927\u5c0f\u7684\u724c\u7684\u60c5\u51b5\u3002\u6700\u540e&#xff0c;\u770b\u7eaf\u6570\u5b57\u724c\u4e4b\u95f4\u8981\u7ec4\u6210&#034;\u8fde\u7eed\u503c&#034;\u6240\u9700\u8981\u7684\u201c\u5927\u5c0f\u738b\u201d\u7684\u5f20\u6570&#xff0c;\u5c0f\u4e8e\u7b49\u4e8e\u4e4b\u524d\u7edf\u8ba1\u5f97\u5230\u7684\u201c\u5927\u5c0f\u738b\u201d\u7684\u4e2a\u6570\u5219\u8bf4\u660e\u53ef\u4ee5\u7ec4\u6210\u201c\u987a\u5b50\u201d\u3002<\/p>\n<p># -*- coding:utf-8 -*-<br \/>\nclass Solution:<br \/>\n    def IsContinuous(self, numbers):<br \/>\n        # write code here<br \/>\n        if not numbers: return 0<br \/>\n        numbers.sort()<br \/>\n        cnt &#061; 0<br \/>\n        jokers &#061; 0<br \/>\n        pre &#061; None<br \/>\n        for i in range(len(numbers)):<br \/>\n            #\u5f97\u5230\u5927\u5c0f\u738b\u7684\u4e2a\u6570<br \/>\n            if numbers[i] &#061;&#061; 0:<br \/>\n                jokers &#043;&#061; 1<br \/>\n            else:<br \/>\n                #\u8d4b\u7ed9pre\u4e00\u4e2a\u521d\u503c<br \/>\n                if pre is None:<br \/>\n                    pre &#061; numbers[i]<br \/>\n                else:<br \/>\n                    #\u6709\u91cd\u590d\u6570\u5b57\u7684\u8bdd&#xff0c;\u80af\u5b9a\u4e0d\u662f\u987a\u5b50<br \/>\n                    if pre &#061;&#061; numbers[i]: return 0<br \/>\n                    #\u7d2f\u52a0\u627e\u5230\u8981\u4fdd\u8bc1\u662f\u8fde\u7eed\u6570\u5b57&#xff0c;\u5219\u6570\u5b57\u4e4b\u95f4\u76f8\u9694\u7684\u7f3a\u5931\u6570\u5b57\u7684\u4e2a\u6570<br \/>\n                    cnt &#043;&#061; numbers[i] &#8211; pre &#8211; 1<br \/>\n                    pre &#061; numbers[i]<br \/>\n        cnt -&#061; jokers<br \/>\n        #cnt &lt;&#061; 0\u8868\u793a\u5927\u5c0f\u738b\u7684\u4e2a\u6570\u662f\u8db3\u591f\u8865\u4e0a\u7f3a\u5931\u6570\u5b57\u7684\u4e2a\u6570\u7684<br \/>\n        return cnt &lt;&#061; 0<\/p>\n<h2>\u7ed3\u5c3e<\/h2>\n<p>\u4eb2\u7231\u7684\u8bfb\u8005\u670b\u53cb&#xff1a;\u611f\u8c22\u60a8\u5728\u7e41\u5fd9\u4e2d\u9a7b\u8db3\u9605\u8bfb\u672c\u671f\u5185\u5bb9&#xff01;\u60a8\u7684\u5230\u6765\u662f\u5bf9\u6211\u4eec\u6700\u5927\u7684\u652f\u6301\u2764\ufe0f<\/p>\n<p>\u6b63\u5982\u53e4\u8bed\u6240\u8a00&#xff1a;&#034;\u5f53\u5c40\u8005\u8ff7&#xff0c;\u65c1\u89c2\u8005\u6e05&#034;\u3002\u60a8\u72ec\u5230\u7684\u89c1\u89e3\u4e0e\u5ba2\u89c2\u8bc4\u4ef7&#xff0c;\u6070\u4f3c\u4e00\u76cf\u660e\u706f&#x1f4a1;&#xff0c;\u80fd\u5e2e\u52a9\u6211\u4eec\u7167\u4eae\u5185\u5bb9\u76f2\u533a&#xff0c;\u8ba9\u672a\u6765\u7684\u521b\u4f5c\u66f4\u52a0\u8d34\u8fd1\u60a8\u7684\u9700\u6c42\u3002<\/p>\n<p>\u82e5\u6b64\u6587\u7ed9\u60a8\u5e26\u6765\u542f\u53d1\u6216\u6536\u83b7&#xff0c;\u4e0d\u59a8\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u4e3a\u5f7c\u6b64\u642d\u5efa\u4e00\u5ea7\u6865\u6881&#xff1a; \u2728 \u70b9\u51fb\u53f3\u4e0a\u89d2<span style=\"color:#956fe7\">\u3010\u70b9\u8d5e\u3011<\/span>\u56fe\u6807&#xff0c;\u8ba9\u597d\u5185\u5bb9\u88ab\u66f4\u591a\u4eba\u770b\u89c1 \u2728 \u6ed1\u52a8\u5c4f\u5e55<span style=\"color:#956fe7\">\u3010\u6536\u85cf\u3011<\/span>\u672c\u7bc7&#xff0c;\u4fbf\u4e8e\u968f\u65f6\u67e5\u9605\u56de\u5473 \u2728 \u5728<span style=\"color:#956fe7\">\u8bc4\u8bba<\/span>\u533a\u7559\u4e0b\u60a8\u7684\u771f\u77e5\u707c\u89c1&#xff0c;\u8ba9\u6211\u4eec\u5171\u540c\u78b0\u649e\u601d\u7ef4\u7684\u706b\u82b1<\/p>\n<p>\u6211\u59cb\u7ec8\u79c9\u6301\u5320\u5fc3\u7cbe\u795e&#xff0c;\u4ee5\u952e\u76d8\u4e3a\u7281\u94e7\u6df1\u8015\u77e5\u8bc6\u6c83\u571f&#x1f4bb;&#xff0c;\u7528\u6bcf\u4e00\u6b21\u6572\u51fb\u4f20\u9012\u4e13\u4e1a\u4ef7\u503c&#xff0c;\u4e0d\u65ad\u4f18\u5316\u5185\u5bb9\u5448\u73b0\u5f62\u5f0f&#xff0c;\u529b\u6c42\u4e3a\u60a8\u6253\u9020\u6c89\u6d78\u5f0f\u7684\u9605\u8bfb\u76db\u5bb4&#x1f4da;\u3002<\/p>\n<p>\u6709\u4efb\u4f55\u7591\u95ee\u6216\u5efa\u8bae&#xff1f;\u8bc4\u8bba\u533a\u5c31\u662f\u6211\u4eec\u7684\u8fde\u5fc3\u6865&#xff01;\u60a8\u7684\u6bcf\u4e00\u6761\u7559\u8a00\u6211\u90fd\u5c06\u8ba4\u771f\u7814\u8bfb&#xff0c;\u5e76\u572824\u5c0f\u65f6\u5185\u56de\u590d\u89e3\u7b54&#x1f4dd;\u3002<\/p>\n<p>\u613f\u6211\u4eec\u643a\u624b\u540c\u884c&#xff0c;\u5728\u77e5\u8bc6\u7684\u96e8\u6797\u4e2d\u8301\u58ee\u6210\u957f&#x1f333;&#xff0c;\u5171\u4eab\u601d\u60f3\u7efd\u653e\u7684\u7518\u751c\u679c\u5b9e\u3002\u4e0b\u671f\u76f8\u9047\u65f6&#xff0c;\u671f\u5f85\u770b\u5230\u60a8\u667a\u6167\u7684\u8bc4\u8bba\u4e0e\u95ea\u4eae\u7684\u70b9\u8d5e\u8eab\u5f71\u2728&#xff01;<\/p>\n<p><span style=\"color:#956fe7\">\u4e07\u5206\u611f\u8c22&#x1f64f;&#x1f64f;\u60a8\u7684\u70b9\u8d5e&#x1f44d;&#x1f44d;\u3001\u6536\u85cf\u2b50&#x1f31f;\u3001\u8bc4\u8bba&#x1f4ac;&#x1f5ef;\ufe0f\u3001\u5173\u6ce8\u2764\ufe0f&#x1f49a;&#xff5e;<\/span><\/p>\n<hr \/>\n<p>\u81ea\u6211\u4ecb\u7ecd&#xff1a;\u4e00\u7ebf\u4e92\u8054\u7f51\u5927\u5382\u8d44\u6df1\u7b97\u6cd5\u7814\u53d1&#xff08;\u5de5\u4f5c6\u5e74&#043;&#xff09;&#xff0c;4\u5e74\u4ee5\u4e0a\u62db\u8058\u9762\u8bd5\u5b98\u7ecf\u9a8c&#xff08;\u4e00\u4e8c\u9762\u9762\u8bd5\u5b98&#xff0c;\u9762\u8bd5\u5019\u9009\u4eba400&#043;&#xff09;&#xff0c;\u6df1\u8c19\u5c97\u4f4d\u4e13\u4e1a\u77e5\u8bc6\u3001\u6280\u80fd\u96f7\u8fbe\u56fe&#xff0c;\u5df2\u7d2f\u8ba1\u8f85\u5bfc15&#043;\u6c42\u804c\u8005\u987a\u5229\u5165\u804c\u5927\u4e2d\u578b\u4e92\u8054\u7f51\u516c\u53f8\u3002\u719f\u7ec3\u638c\u63e1\u5927\u6a21\u578b\u3001NLP\u3001\u641c\u7d22\u3001\u63a8\u8350\u3001\u6570\u636e\u6316\u6398\u7b97\u6cd5\u548c\u4f18\u5316&#xff0c;\u63d0\u4f9b\u9762\u8bd5\u8f85\u5bfc\u3001\u4e13\u4e1a\u77e5\u8bc6\u5165\u95e8\u5230\u8fdb\u9636\u8f85\u5bfc\u7b49\u5b9a\u5236\u5316\u9700\u6c42\u7b49\u670d\u52a1&#xff0c;\u52a9\u529b\u60a8\u987a\u5229\u5b8c\u6210\u5b66\u4e60\u548c\u6c42\u804c\u4e4b\u65c5&#xff08;\u6709\u9700\u8981\u8005\u53ef\u79c1\u4fe1\u8054\u7cfb&#xff09;\u00a0<\/p>\n<p>\u53cb\u53cb\u4eec&#xff0c;\u81ea\u5df1\u7684\u77e5\u4e4e\u8d26\u53f7\u4e3a<span style=\"color:#956fe7\">\u201c\u5feb\u4e50\u661f\u7403\u201d<\/span>&#xff0c;\u5b9a\u671f\u66f4\u65b0\u6280\u672f\u6587\u7ae0&#xff0c;\u656c\u8bf7\u5173\u6ce8&#xff01;\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb366\u6b21\uff0c\u70b9\u8d5e2\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u672c\u6587\u6574\u7406\u4e868\u4e2a\u7b97\u6cd5\u9898\u76ee\u7684Python\u5b9e\u73b0\u4ee3\u7801\u53ca\u89e3\u9898\u601d\u8def\uff0c\u5305\u62ec\uff1a\u6570\u503c\u7684\u6574\u6570\u6b21\u65b9\uff08\u5feb\u901f\u5e42\u7b97\u6cd5\uff09\u3001\u6574\u6570\u4e2d1\u51fa\u73b0\u7684\u6b21\u6570\uff08\u9010\u4f4d\u7edf\u8ba1\uff09\u3001\u4e11\u6570\u751f\u6210\uff08\u52a8\u6001\u89c4\u5212\uff09\u3001\u548c\u4e3aS\u7684\u8fde\u7eed\u6b63\u6570\u5e8f\u5217\uff08\u6ed1\u52a8\u7a97\u53e3\uff09\u3001\u548c\u4e3aS\u7684\u4e24\u4e2a\u6570\u5b57\uff08\u53cc\u6307\u9488\uff09\u3001\u6784\u5efa\u4e58\u79ef\u6570\u7ec4\uff08\u524d\u540e\u7f00\u4e58\u79ef\uff09\u3001\u6570\u636e\u6d41\u4e2d\u4f4d\u6570\uff08\u52a8\u6001\u6392\u5e8f\uff09\u548c\u6251\u514b\u724c\u987a\u5b50\u5224\u65ad\uff08\u6392\u5e8f+\u8865\u4f4d\uff09\u3002\u6bcf\u4e2a\u95ee\u9898\u90fd\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u4ee3\u7801\u5b9e\u73b0\u548c\u89e3\u9898\u601d\u8def\u5206\u6790\uff0c\u91cd\u70b9\u8bb2\u89e3\u4e86\u5982\u4f55\u8fd0\u7528\u7279\u5b9a\u7b97\u6cd5\u6280\u5de7\uff08\u5982\u53cc\u6307\u9488\u3001\u6ed1\u52a8\u7a97\u53e3\u7b49\uff09\u9ad8\u6548\u89e3\u51b3\u95ee\u9898\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":[2692,81,3509,427,925],"topic":[],"class_list":["post-47889","post","type-post","status-publish","format-standard","hentry","category-server","tag-leetcode","tag-python","tag-3509","tag-427","tag-925"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u300a\u5251\u6307offer\u300b-\u7b97\u6cd5\u7bc7-\u6570\u5b66 - \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\/47889.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u300a\u5251\u6307offer\u300b-\u7b97\u6cd5\u7bc7-\u6570\u5b66 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb366\u6b21\uff0c\u70b9\u8d5e2\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u672c\u6587\u6574\u7406\u4e868\u4e2a\u7b97\u6cd5\u9898\u76ee\u7684Python\u5b9e\u73b0\u4ee3\u7801\u53ca\u89e3\u9898\u601d\u8def\uff0c\u5305\u62ec\uff1a\u6570\u503c\u7684\u6574\u6570\u6b21\u65b9\uff08\u5feb\u901f\u5e42\u7b97\u6cd5\uff09\u3001\u6574\u6570\u4e2d1\u51fa\u73b0\u7684\u6b21\u6570\uff08\u9010\u4f4d\u7edf\u8ba1\uff09\u3001\u4e11\u6570\u751f\u6210\uff08\u52a8\u6001\u89c4\u5212\uff09\u3001\u548c\u4e3aS\u7684\u8fde\u7eed\u6b63\u6570\u5e8f\u5217\uff08\u6ed1\u52a8\u7a97\u53e3\uff09\u3001\u548c\u4e3aS\u7684\u4e24\u4e2a\u6570\u5b57\uff08\u53cc\u6307\u9488\uff09\u3001\u6784\u5efa\u4e58\u79ef\u6570\u7ec4\uff08\u524d\u540e\u7f00\u4e58\u79ef\uff09\u3001\u6570\u636e\u6d41\u4e2d\u4f4d\u6570\uff08\u52a8\u6001\u6392\u5e8f\uff09\u548c\u6251\u514b\u724c\u987a\u5b50\u5224\u65ad\uff08\u6392\u5e8f+\u8865\u4f4d\uff09\u3002\u6bcf\u4e2a\u95ee\u9898\u90fd\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u4ee3\u7801\u5b9e\u73b0\u548c\u89e3\u9898\u601d\u8def\u5206\u6790\uff0c\u91cd\u70b9\u8bb2\u89e3\u4e86\u5982\u4f55\u8fd0\u7528\u7279\u5b9a\u7b97\u6cd5\u6280\u5de7\uff08\u5982\u53cc\u6307\u9488\u3001\u6ed1\u52a8\u7a97\u53e3\u7b49\uff09\u9ad8\u6548\u89e3\u51b3\u95ee\u9898\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/47889.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-30T01:41:54+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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/47889.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/47889.html\",\"name\":\"\u300a\u5251\u6307offer\u300b-\u7b97\u6cd5\u7bc7-\u6570\u5b66 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-07-30T01:41:54+00:00\",\"dateModified\":\"2025-07-30T01:41:54+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/47889.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/47889.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/47889.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u300a\u5251\u6307offer\u300b-\u7b97\u6cd5\u7bc7-\u6570\u5b66\"}]},{\"@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":"\u300a\u5251\u6307offer\u300b-\u7b97\u6cd5\u7bc7-\u6570\u5b66 - \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\/47889.html","og_locale":"zh_CN","og_type":"article","og_title":"\u300a\u5251\u6307offer\u300b-\u7b97\u6cd5\u7bc7-\u6570\u5b66 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb366\u6b21\uff0c\u70b9\u8d5e2\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u672c\u6587\u6574\u7406\u4e868\u4e2a\u7b97\u6cd5\u9898\u76ee\u7684Python\u5b9e\u73b0\u4ee3\u7801\u53ca\u89e3\u9898\u601d\u8def\uff0c\u5305\u62ec\uff1a\u6570\u503c\u7684\u6574\u6570\u6b21\u65b9\uff08\u5feb\u901f\u5e42\u7b97\u6cd5\uff09\u3001\u6574\u6570\u4e2d1\u51fa\u73b0\u7684\u6b21\u6570\uff08\u9010\u4f4d\u7edf\u8ba1\uff09\u3001\u4e11\u6570\u751f\u6210\uff08\u52a8\u6001\u89c4\u5212\uff09\u3001\u548c\u4e3aS\u7684\u8fde\u7eed\u6b63\u6570\u5e8f\u5217\uff08\u6ed1\u52a8\u7a97\u53e3\uff09\u3001\u548c\u4e3aS\u7684\u4e24\u4e2a\u6570\u5b57\uff08\u53cc\u6307\u9488\uff09\u3001\u6784\u5efa\u4e58\u79ef\u6570\u7ec4\uff08\u524d\u540e\u7f00\u4e58\u79ef\uff09\u3001\u6570\u636e\u6d41\u4e2d\u4f4d\u6570\uff08\u52a8\u6001\u6392\u5e8f\uff09\u548c\u6251\u514b\u724c\u987a\u5b50\u5224\u65ad\uff08\u6392\u5e8f+\u8865\u4f4d\uff09\u3002\u6bcf\u4e2a\u95ee\u9898\u90fd\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u4ee3\u7801\u5b9e\u73b0\u548c\u89e3\u9898\u601d\u8def\u5206\u6790\uff0c\u91cd\u70b9\u8bb2\u89e3\u4e86\u5982\u4f55\u8fd0\u7528\u7279\u5b9a\u7b97\u6cd5\u6280\u5de7\uff08\u5982\u53cc\u6307\u9488\u3001\u6ed1\u52a8\u7a97\u53e3\u7b49\uff09\u9ad8\u6548\u89e3\u51b3\u95ee\u9898\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/47889.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-07-30T01:41:54+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/47889.html","url":"https:\/\/www.wsisp.com\/helps\/47889.html","name":"\u300a\u5251\u6307offer\u300b-\u7b97\u6cd5\u7bc7-\u6570\u5b66 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-07-30T01:41:54+00:00","dateModified":"2025-07-30T01:41:54+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/47889.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/47889.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/47889.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u300a\u5251\u6307offer\u300b-\u7b97\u6cd5\u7bc7-\u6570\u5b66"}]},{"@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\/47889","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=47889"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/47889\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=47889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=47889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=47889"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=47889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}