[2020-12-17T03:15:30Z TRACE leetcode_cli::cache] Exec problem filter โโ Test or Submit
[2020-12-17T03:15:30Z TRACE leetcode_cli::cache] pre run code...
[2020-12-17T03:15:30Z INFO leetcode_cli::plugins::leetcode] Sending code to judge...
[2020-12-17T03:15:30Z TRACE leetcode_cli::plugins::leetcode::req] Running leetcode::run_code...
[2020-12-17T03:15:31Z TRACE leetcode_cli::cache] Run veriy recursion...
[2020-12-17T03:15:31Z TRACE leetcode_cli::plugins::leetcode] Verifying result...
[2020-12-17T03:15:31Z TRACE leetcode_cli::plugins::leetcode::req] Running leetcode::verify_result...
[2020-12-17T03:15:31Z DEBUG leetcode_cli::cache] debug resp raw text:
"<!DOCTYPE html>\n\n\n\n\n\n\n\n<html>\n <head>\n <meta charset=\"utf-8\"><script type=\"text/javascript\">(window.NREUM||(NREUM={})).loader_config={xpid:\"UAQDVFVRGwEAXVlbBAg=\",licenseKey:\"8d5fb92f6e\",applicationID:\"2098939\"};window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var i=e[n]={exports:{}};t[n][0].call(i.exports,function(e){var i=t[n][1][e];return r(i||e)},i,i.exports)}return e[n].exports}if(\"function\"==typeof __nr_require)return __nr_require;for(var i=0;i<n.length;i++)r(n[i]);return r}({1:[function(t,e,n){function r(t){try{c.console&&console.log(t)}catch(e){}}var i,o=t(\"ee\"),a=t(23),c={};try{i=localStorage.getItem(\"__nr_flags\").split(\",\"),console&&\"function\"==typeof console.log&&(c.console=!0,i.indexOf(\"dev\")!==-1&&(c.dev=!0),i.indexOf(\"nr_dev\")!==-1&&(c.nrDev=!0))}catch(s){}c.nrDev&&o.on(\"internal-error\",function(t){r(t.stack)}),c.dev&&o.on(\"fn-err\",function(t,e,n){r(n.stack)}),c.dev&&(r(\"NR AGENT IN DEVELOPMENT MODE\"),r(\"flags: \"+a(c,function(t,e){return t}).join(\", \")))},{}],2:[function(t,e,n){function r(t,e,n,r,c){try{p?p-=1:i(c||new UncaughtException(t,e,n),!0)}catch(f){try{o(\"ierr\",[f,s.now(),!0])}catch(d){}}return\"function\"==typeof u&&u.apply(this,a(arguments))}function UncaughtException(t,e,n){this.message=t||\"Uncaught error with no additional information\",this.sourceURL=e,this.line=n}function i(t,e){var n=e?null:s.now();o(\"err\",[t,n])}var o=t(\"handle\"),a=t(24),c=t(\"ee\"),s=t(\"loader\"),f=t(\"gos\"),u=window.onerror,d=!1,l=\"nr@seenError\",p=0;s.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(h){\"stack\"in h&&(t(9),t(8),\"addEventListener\"in window&&t(5),s.xhrWrappable&&t(10),d=!0)}c.on(\"fn-start\",function(t,e,n){d&&(p+=1)}),c.on(\"fn-err\",function(t,e,n){d&&!n[l]&&(f(n,l,function(){return!0}),this.thrown=!0,i(n))}),c.on(\"fn-end\",function(){d&&!this.thrown&&p>0&&(p-=1)}),c.on(\"internal-error\",function(t){o(\"ierr\",[t,s.now(),!0])})},{}],3:[function(t,e,n){t(\"loader\").features.ins=!0},{}],4:[function(t,e,n){function r(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var i=t(\"ee\"),o=t(\"handle\"),a=t(9),c=t(8),s=\"learResourceTimings\",f=\"addEventListener\",u=\"resourcetimingbufferfull\",d=\"bstResource\",l=\"resource\",p=\"-start\",h=\"-end\",m=\"fn\"+p,w=\"fn\"+h,v=\"bstTimer\",g=\"pushState\",y=t(\"loader\");y.features.stn=!0,t(7),\"addEventListener\"in window&&t(5);var x=NREUM.o.EV;i.on(m,function(t,e){var n=t[0];n instanceof x&&(this.bstStart=y.now())}),i.on(w,function(t,e){var n=t[0];n instanceof x&&o(\"bst\",[n,e,this.bstStart,y.now()])}),a.on(m,function(t,e,n){this.bstStart=y.now(),this.bstType=n}),a.on(w,function(t,e){o(v,[e,this.bstStart,y.now(),this.bstType])}),c.on(m,function(){this.bstStart=y.now()}),c.on(w,function(t,e){o(v,[e,this.bstStart,y.now(),\"requestAnimationFrame\"])}),i.on(g+p,function(t){this.time=y.now(),this.startPath=location.pathname+location.hash}),i.on(g+h,function(t){o(\"bstHist\",[location.pathname+location.hash,this.startPath,this.time])}),f in window.performance&&(window.performance[\"c\"+s]?window.performance[f](u,function(t){o(d,[window.performance.getEntriesByType(l)]),window.performance[\"c\"+s]()},!1):window.performance[f](\"webkit\"+u,function(t){o(d,[window.performance.getEntriesByType(l)]),window.performance[\"webkitC\"+s]()},!1)),document[f](\"scroll\",r,{passive:!0}),document[f](\"keypress\",r,!1),document[f](\"click\",r,!1)}},{}],5:[function(t,e,n){function r(t){for(var e=t;e&&!e.hasOwnProperty(u);)e=Object.getPrototypeOf(e);e&&i(e)}function i(t){c.inPlace(t,[u,d],\"-\",o)}function o(t,e){return t[1]}var a=t(\"ee\").get(\"events\"),c=t(\"wrap-function\")(a,!0),s=t(\"gos\"),f=XMLHttpRequest,u=\"addEventListener\",d=\"removeEventListener\";e.exports=a,\"getPrototypeOf\"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(i(window),i(f.prototype)),a.on(u+\"-start\",function(t,e){var n=t[1],r=s(n,\"nr@wrapped\",function(){function t(){if(\"function\"==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)}var e={object:t,\"function\":n}[typeof n];return e?c(e,\"fn-\",null,e.name||\"anonymous\"):n});this.wrapped=t[1]=r}),a.on(d+\"-start\",function(t){t[1]=this.wrapped||t[1]})},{}],6:[function(t,e,n){function r(t,e,n){var r=t[e];\"function\"==typeof r&&(t[e]=function(){var t=o(arguments),e={};i.emit(n+\"before-start\",[t],e);var a;e[m]&&e[m].dt&&(a=e[m].dt);var c=r.apply(this,t);return i.emit(n+\"start\",[t,a],c),c.then(function(t){return i.emit(n+\"end\",[null,t],c),t},function(t){throw i.emit(n+\"end\",[t],c),t})})}var i=t(\"ee\").get(\"fetch\"),o=t(24),a=t(23);e.exports=i;var c=window,s=\"fetch-\",f=s+\"body-\",u=[\"arrayBuffer\",\"blob\",\"json\",\"text\",\"formData\"],d=c.Request,l=c.Response,p=c.fetch,h=\"prototype\",m=\"nr@context\";d&&l&&p&&(a(u,function(t,e){r(d[h],e,f),r(l[h],e,f)}),r(c,\"fetch\",s),i.on(s+\"end\",function(t,e){var n=this;if(e){var r=e.headers.get(\"content-length\");null!==r&&(n.rxSize=r),i.emit(s+\"done\",[null,e],n)}else i.emit(s+\"done\",[t],n)}))},{}],7:[function(t,e,n){var r=t(\"ee\").get(\"history\"),i=t(\"wrap-function\")(r);e.exports=r;var o=window.history&&window.history.constructor&&window.history.constructor.prototype,a=window.history;o&&o.pushState&&o.replaceState&&(a=o),i.inPlace(a,[\"pushState\",\"replaceState\"],\"-\")},{}],8:[function(t,e,n){var r=t(\"ee\").get(\"raf\"),i=t(\"wrap-function\")(r),o=\"equestAnimationFrame\";e.exports=r,i.inPlace(window,[\"r\"+o,\"mozR\"+o,\"webkitR\"+o,\"msR\"+o],\"raf-\"),r.on(\"raf-start\",function(t){t[0]=i(t[0],\"fn-\")})},{}],9:[function(t,e,n){function r(t,e,n){t[0]=a(t[0],\"fn-\",null,n)}function i(t,e,n){this.method=n,this.timerDuration=isNaN(t[1])?0:+t[1],t[0]=a(t[0],\"fn-\",this,n)}var o=t(\"ee\").get(\"timer\"),a=t(\"wrap-function\")(o),c=\"setTimeout\",s=\"setInterval\",f=\"clearTimeout\",u=\"-start\",d=\"-\";e.exports=o,a.inPlace(window,[c,\"setImmediate\"],c+d),a.inPlace(window,[s],s+d),a.inPlace(window,[f,\"clearImmediate\"],f+d),o.on(s+u,r),o.on(c+u,i)},{}],10:[function(t,e,n){function r(t,e){d.inPlace(e,[\"onreadystatechange\"],\"fn-\",c)}function i(){var t=this,e=u.context(t);t.readyState>3&&!e.resolved&&(e.resolved=!0,u.emit(\"xhr-resolved\",[],t)),d.inPlace(t,g,\"fn-\",c)}function o(t){y.push(t),h&&(b?b.then(a):w?w(a):(E=-E,R.data=E))}function a(){for(var t=0;t<y.length;t++)r([],y[t]);y.length&&(y=[])}function c(t,e){return e}function s(t,e){for(var n in t)e[n]=t[n];return e}t(5);var f=t(\"ee\"),u=f.get(\"xhr\"),d=t(\"wrap-function\")(u),l=NREUM.o,p=l.XHR,h=l.MO,m=l.PR,w=l.SI,v=\"readystatechange\",g=[\"onload\",\"onerror\",\"onabort\",\"onloadstart\",\"onloadend\",\"onprogress\",\"ontimeout\"],y=[];e.exports=u;var x=window.XMLHttpRequest=function(t){var e=new p(t);try{u.emit(\"new-xhr\",[e],e),e.addEventListener(v,i,!1)}catch(n){try{u.emit(\"internal-error\",[n])}catch(r){}}return e};if(s(p,x),x.prototype=p.prototype,d.inPlace(x.prototype,[\"open\",\"send\"],\"-xhr-\",c),u.on(\"send-xhr-start\",function(t,e){r(t,e),o(e)}),u.on(\"open-xhr-start\",r),h){var b=m&&m.resolve();if(!w&&!m){var E=1,R=document.createTextNode(E);new h(a).observe(R,{characterData:!0})}}else f.on(\"fn-end\",function(t){t[0]&&t[0].type===v||a()})},{}],11:[function(t,e,n){function r(t){if(!c(t))return null;var e=window.NREUM;if(!e.loader_config)return null;var n=(e.loader_config.accountID||\"\").toString()||null,r=(e.loader_config.agentID||\"\").toString()||null,f=(e.loader_config.trustKey||\"\").toString()||null;if(!n||!r)return null;var h=p.generateSpanId(),m=p.generateTraceId(),w=Date.now(),v={spanId:h,traceId:m,timestamp:w};return(t.sameOrigin||s(t)&&l())&&(v.traceContextParentHeader=i(h,m),v.traceContextStateHeader=o(h,w,n,r,f)),(t.sameOrigin&&!u()||!t.sameOrigin&&s(t)&&d())&&(v.newrelicHeader=a(h,m,w,n,r,f)),v}function i(t,e){return\"00-\"+e+\"-\"+t+\"-01\"}function o(t,e,n,r,i){var o=0,a=\"\",c=1,s=\"\",f=\"\";return i+\"@nr=\"+o+\"-\"+c+\"-\"+n+\"-\"+r+\"-\"+t+\"-\"+a+\"-\"+s+\"-\"+f+\"-\"+e}function a(t,e,n,r,i,o){var a=\"btoa\"in window&&\"function\"==typeof window.btoa;if(!a)return null;var c={v:[0,1],d:{ty:\"Browser\",ac:r,ap:i,id:t,tr:e,ti:n}};return o&&r!==o&&(c.d.tk=o),btoa(JSON.stringify(c))}function c(t){return f()&&s(t)}function s(t){var e=!1,n={};if(\"init\"in NREUM&&\"distributed_tracing\"in NREUM.init&&(n=NREUM.init.distributed_tracing),t.sameOrigin)e=!0;else if(n.allowed_origins instanceof Array)for(var r=0;r<n.allowed_origins.length;r++){var i=h(n.allowed_origins[r]);if(t.hostname===i.hostname&&t.protocol===i.protocol&&t.port===i.port){e=!0;break}}return e}function f(){return\"init\"in NREUM&&\"distributed_tracing\"in NREUM.init&&!!NREUM.init.distributed_tracing.enabled}function u(){return\"init\"in NREUM&&\"distributed_tracing\"in NREUM.init&&!!NREUM.init.distributed_tracing.exclude_newrelic_header}function d(){return\"init\"in NREUM&&\"distributed_tracing\"in NREUM.init&&NREUM.init.distributed_tracing.cors_use_newrelic_header!==!1}function l(){return\"init\"in NREUM&&\"distributed_tracing\"in NREUM.init&&!!NREUM.init.distributed_tracing.cors_use_tracecontext_headers}var p=t(20),h=t(13);e.exports={generateTracePayload:r,shouldGenerateTrace:c}},{}],12:[function(t,e,n){function r(t){var e=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<l;r++)t.removeEventListener(d[r],this.listener,!1);e.aborted||(n.duration=a.now()-this.startTime,this.loadCaptureCalled||4!==t.readyState?null==e.status&&(e.status=0):o(this,t),n.cbTime=this.cbTime,u.emit(\"xhr-done\",[t],t),c(\"xhr\",[e,n,this.startTime]))}}function i(t,e){var n=s(e),r=t.params;r.host=n.hostname+\":\"+n.port,r.pathname=n.pathname,t.parsedOrigin=s(e),t.sameOrigin=t.parsedOrigin.sameOrigin}function o(t,e){t.params.status=e.status;var n=w(e,t.lastSize);if(n&&(t.metrics.rxSize=n),t.sameOrigin){var r=e.getResponseHeader(\"X-NewRelic-App-Data\");r&&(t.params.cat=r.split(\", \").pop())}t.loadCaptureCalled=!0}var a=t(\"loader\");if(a.xhrWrappable){var c=t(\"handle\"),s=t(13),f=t(11).generateTracePayload,u=t(\"ee\"),d=[\"load\",\"error\",\"abort\",\"timeout\"],l=d.length,p=t(\"id\"),h=t(17),m=t(16),w=t(14),v=window.XMLHttpRequest;a.features.xhr=!0,t(10),t(6),u.on(\"new-xhr\",function(t){var e=this;e.totalCbs=0,e.called=0,e.cbTime=0,e.end=r,e.ended=!1,e.xhrGuids={},e.lastSize=null,e.loadCaptureCalled=!1,t.addEventListener(\"load\",function(n){o(e,t)},!1),h&&(h>34||h<10)||window.opera||t.addEventListener(\"progress\",function(t){e.lastSize=t.loaded},!1)}),u.on(\"open-xhr-start\",function(t){this.params={method:t[0]},i(this,t[1]),this.metrics={}}),u.on(\"open-xhr-end\",function(t,e){\"loader_config\"in NREUM&&\"xpid\"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader(\"X-NewRelic-ID\",NREUM.loader_config.xpid);var n=f(this.parsedOrigin);if(n){var r=!1;n.newrelicHeader&&(e.setRequestHeader(\"newrelic\",n.newrelicHeader),r=!0),n.traceContextParentHeader&&(e.setRequestHeader(\"traceparent\",n.traceContextParentHeader),n.traceContextStateHeader&&e.setRequestHeader(\"tracestate\",n.traceContextStateHeader),r=!0),r&&(this.dt=n)}}),u.on(\"send-xhr-start\",function(t,e){var n=this.metrics,r=t[0],i=this;if(n&&r){var o=m(r);o&&(n.txSize=o)}this.startTime=a.now(),this.listener=function(t){try{\"abort\"!==t.type||i.loadCaptureCalled||(i.params.aborted=!0),(\"load\"!==t.type||i.called===i.totalCbs&&(i.onloadCalled||\"function\"!=typeof e.onload))&&i.end(e)}catch(n){try{u.emit(\"internal-error\",[n])}catch(r){}}};for(var c=0;c<l;c++)e.addEventListener(d[c],this.listener,!1)}),u.on(\"xhr-cb-time\",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&\"function\"==typeof n.onload||this.end(n)}),u.on(\"xhr-load-added\",function(t,e){var n=\"\"+p(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),u.on(\"xhr-load-removed\",function(t,e){var n=\"\"+p(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),u.on(\"addEventListener-end\",function(t,e){e instanceof v&&\"load\"===t[0]&&u.emit(\"xhr-load-added\",[t[1],t[2]],e)}),u.on(\"removeEventListener-end\",function(t,e){e instanceof v&&\"load\"===t[0]&&u.emit(\"xhr-load-removed\",[t[1],t[2]],e)}),u.on(\"fn-start\",function(t,e,n){e instanceof v&&(\"onload\"===n&&(this.onload=!0),(\"load\"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),u.on(\"fn-end\",function(t,e){this.xhrCbStart&&u.emit(\"xhr-cb-time\",[a.now()-this.xhrCbStart,this.onload,e],e)}),u.on(\"fetch-before-start\",function(t){function e(t,e){var n=!1;return e.newrelicHeader&&(t.set(\"newrelic\",e.newrelicHeader),n=!0),e.traceContextParentHeader&&(t.set(\"traceparent\",e.traceContextParentHeader),e.traceContextStateHeader&&t.set(\"tracestate\",e.traceContextStateHeader),n=!0),n}var n,r=t[1]||{};\"string\"==typeof t[0]?n=t[0]:t[0]&&t[0].url&&(n=t[0].url),n&&(this.parsedOrigin=s(n),this.sameOrigin=this.parsedOrigin.sameOrigin);var i=f(this.parsedOrigin);if(i&&(i.newrelicHeader||i.traceContextParentHeader))if(\"string\"==typeof t[0]){var o={};for(var a in r)o[a]=r[a];o.headers=new Headers(r.headers||{}),e(o.headers,i)&&(this.dt=i),t.length>1?t[1]=o:t.push(o)}else t[0]&&t[0].headers&&e(t[0].headers,i)&&(this.dt=i)})}},{}],13:[function(t,e,n){var r={};e.exports=function(t){if(t in r)return r[t];var e=document.createElement(\"a\"),n=window.location,i={};e.href=t,i.port=e.port;var o=e.href.split(\"://\");!i.port&&o[1]&&(i.port=o[1].split(\"/\")[0].split(\"@\").pop().split(\":\")[1]),i.port&&\"0\"!==i.port||(i.port=\"https\"===o[0]?\"443\":\"80\"),i.hostname=e.hostname||n.hostname,i.pathname=e.pathname,i.protocol=o[0],\"/\"!==i.pathname.charAt(0)&&(i.pathname=\"/\"+i.pathname);var a=!e.protocol||\":\"===e.protocol||e.protocol===n.protocol,c=e.hostname===document.domain&&e.port===n.port;return i.sameOrigin=a&&(!e.hostname||c),\"/\"===i.pathname&&(r[t]=i),i}},{}],14:[function(t,e,n){function r(t,e){var n=t.responseType;return\"json\"===n&&null!==e?e:\"arraybuffer\"===n||\"blob\"===n||\"json\"===n?i(t.response):\"text\"===n||\"\"===n||void 0===n?i(t.responseText):void 0}var i=t(16);e.exports=r},{}],15:[function(t,e,n){function r(){}function i(t,e,n){return function(){return o(t,[f.now()].concat(c(arguments)),e?null:this,n),e?void 0:this}}var o=t(\"handle\"),a=t(23),c=t(24),s=t(\"ee\").get(\"tracer\"),f=t(\"loader\"),u=NREUM;\"undefined\"==typeof window.newrelic&&(newrelic=u);var d=[\"setPageViewName\",\"setCustomAttribute\",\"setErrorHandler\",\"finished\",\"addToTrace\",\"inlineHit\",\"addRelease\"],l=\"api-\",p=l+\"ixn-\";a(d,function(t,e){u[e]=i(l+e,!0,\"api\")}),u.addPageAction=i(l+\"addPageAction\",!0),u.setCurrentRouteName=i(l+\"routeName\",!0),e.exports=newrelic,u.interaction=function(){return(new r).get()};var h=r.prototype={createTracer:function(t,e){var n={},r=this,i=\"function\"==typeof e;return o(p+\"tracer\",[f.now(),t,n],r),function(){if(s.emit((i?\"\":\"no-\")+\"fn-start\",[f.now(),r,i],n),i)try{return e.apply(this,arguments)}catch(t){throw s.emit(\"fn-err\",[arguments,this,t],n),t}finally{s.emit(\"fn-end\",[f.now()],n)}}}};a(\"actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get\".split(\",\"),function(t,e){h[e]=i(p+e)}),newrelic.noticeError=function(t,e){\"string\"==typeof t&&(t=new Error(t)),o(\"err\",[t,f.now(),!1,e])}},{}],16:[function(t,e,n){e.exports=function(t){if(\"string\"==typeof t&&t.length)return t.length;if(\"object\"==typeof t){if(\"undefined\"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if(\"undefined\"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!(\"undefined\"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(e){return}}}},{}],17:[function(t,e,n){var r=0,i=navigator.userAgent.match(/Firefox[\\/\\s](\\d+\\.\\d+)/);i&&(r=+i[1]),e.exports=r},{}],18:[function(t,e,n){function r(){return c.exists&&performance.now?Math.round(performance.now()):(o=Math.max((new Date).getTime(),o))-a}function i(){return o}var o=(new Date).getTime(),a=o,c=t(25);e.exports=r,e.exports.offset=a,e.exports.getLastTimestamp=i},{}],19:[function(t,e,n){function r(t,e){var n=t.getEntries();n.forEach(function(t){\"first-paint\"===t.name?d(\"timing\",[\"fp\",Math.floor(t.startTime)]):\"first-contentful-paint\"===t.name&&d(\"timing\",[\"fcp\",Math.floor(t.startTime)])})}function i(t,e){var n=t.getEntries();n.length>0&&d(\"lcp\",[n[n.length-1]])}function o(t){t.getEntries().forEach(function(t){t.hadRecentInput||d(\"cls\",[t])})}function a(t){if(t instanceof h&&!w){var e=Math.round(t.timeStamp),n={type:t.type};e<=l.now()?n.fid=l.now()-e:e>l.offset&&e<=Date.now()?(e-=l.offset,n.fid=l.now()-e):e=l.now(),w=!0,d(\"timing\",[\"fi\",e,n])}}function c(t){d(\"pageHide\",[l.now(),t])}if(!(\"init\"in NREUM&&\"page_view_timing\"in NREUM.init&&\"enabled\"in NREUM.init.page_view_timing&&NREUM.init.page_view_timing.enabled===!1)){var s,f,u,d=t(\"handle\"),l=t(\"loader\"),p=t(22),h=NREUM.o.EV;if(\"PerformanceObserver\"in window&&\"function\"==typeof window.PerformanceObserver){s=new PerformanceObserver(r);try{s.observe({entryTypes:[\"paint\"]})}catch(m){}f=new PerformanceObserver(i);try{f.observe({entryTypes:[\"largest-contentful-paint\"]})}catch(m){}u=new PerformanceObserver(o);try{u.observe({type:\"layout-shift\",buffered:!0})}catch(m){}}if(\"addEventListener\"in document){var w=!1,v=[\"click\",\"keydown\",\"mousedown\",\"pointerdown\",\"touchstart\"];v.forEach(function(t){document.addEventListener(t,a,!1)})}p(c)}},{}],20:[function(t,e,n){function r(){function t(){return e?15&e[n++]:16*Math.random()|0}var e=null,n=0,r=window.crypto||window.msCrypto;r&&r.getRandomValues&&(e=r.getRandomValues(new Uint8Array(31)));for(var i,o=\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\",a=\"\",c=0;c<o.length;c++)i=o[c],\"x\"===i?a+=t().toString(16):\"y\"===i?(i=3&t()|8,a+=i.toString(16)):a+=i;return a}function i(){return a(16)}function o(){return a(32)}function a(t){function e(){return n?15&n[r++]:16*Math.random()|0}var n=null,r=0,i=window.crypto||window.msCrypto;i&&i.getRandomValues&&Uint8Array&&(n=i.getRandomValues(new Uint8Array(31)));for(var o=[],a=0;a<t;a++)o.push(e().toString(16));return o.join(\"\")}e.exports={generateUuid:r,generateSpanId:i,generateTraceId:o}},{}],21:[function(t,e,n){function r(t,e){if(!i)return!1;if(t!==i)return!1;if(!e)return!0;if(!o)return!1;for(var n=o.split(\".\"),r=e.split(\".\"),a=0;a<r.length;a++)if(r[a]!==n[a])return!1;return!0}var i=null,o=null,a=/Version\\/(\\S+)\\s+Safari/;if(navigator.userAgent){var c=navigator.userAgent,s=c.match(a);s&&c.indexOf(\"Chrome\")===-1&&c.indexOf(\"Chromium\")===-1&&(i=\"Safari\",o=s[1])}e.exports={agent:i,version:o,match:r}},{}],22:[function(t,e,n){function r(t){function e(){t(a&&document[a]?document[a]:document[i]?\"hidden\":\"visible\")}\"addEventListener\"in document&&o&&document.addEventListener(o,e,!1)}e.exports=r;var i,o,a;\"undefined\"!=typeof document.hidden?(i=\"hidden\",o=\"visibilitychange\",a=\"visibilityState\"):\"undefined\"!=typeof document.msHidden?(i=\"msHidden\",o=\"msvisibilitychange\"):\"undefined\"!=typeof document.webkitHidden&&(i=\"webkitHidden\",o=\"webkitvisibilitychange\",a=\"webkitVisibilityState\")},{}],23:[function(t,e,n){function r(t,e){var n=[],r=\"\",o=0;for(r in t)i.call(t,r)&&(n[o]=e(r,t[r]),o+=1);return n}var i=Object.prototype.hasOwnProperty;e.exports=r},{}],24:[function(t,e,n){function r(t,e,n){e||(e=0),\"undefined\"==typeof n&&(n=t?t.length:0);for(var r=-1,i=n-e||0,o=Array(i<0?0:i);++r<i;)o[r]=t[e+r];return o}e.exports=r},{}],25:[function(t,e,n){e.exports={exists:\"undefined\"!=typeof window.performance&&window.performance.timing&&\"undefined\"!=typeof window.performance.timing.navigationStart}},{}],ee:[function(t,e,n){function r(){}function i(t){function e(t){return t&&t instanceof r?t:t?s(t,c,o):o()}function n(n,r,i,o){if(!l.aborted||o){t&&t(n,r,i);for(var a=e(i),c=m(n),s=c.length,f=0;f<s;f++)c[f].apply(a,r);var d=u[y[n]];return d&&d.push([x,n,r,a]),a}}function p(t,e){g[t]=m(t).concat(e)}function h(t,e){var n=g[t];if(n)for(var r=0;r<n.length;r++)n[r]===e&&n.splice(r,1)}function m(t){return g[t]||[]}function w(t){return d[t]=d[t]||i(n)}function v(t,e){f(t,function(t,n){e=e||\"feature\",y[n]=e,e in u||(u[e]=[])})}var g={},y={},x={on:p,addEventListener:p,removeEventListener:h,emit:n,get:w,listeners:m,context:e,buffer:v,abort:a,aborted:!1};return x}function o(){return new r}function a(){(u.api||u.feature)&&(l.aborted=!0,u=l.backlog={})}var c=\"nr@context\",s=t(\"gos\"),f=t(23),u={},d={},l=e.exports=i();l.backlog=u},{}],gos:[function(t,e,n){function r(t,e,n){if(i.call(t,e))return t[e];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!1}),r}catch(o){}return t[e]=r,r}var i=Object.prototype.hasOwnProperty;e.exports=r},{}],handle:[function(t,e,n){function r(t,e,n,r){i.buffer([t],r),i.emit(t,e,n)}var i=t(\"ee\").get(\"handle\");e.exports=r,r.ee=i},{}],id:[function(t,e,n){function r(t){var e=typeof t;return!t||\"object\"!==e&&\"function\"!==e?-1:t===window?0:a(t,o,function(){return i++})}var i=1,o=\"nr@id\",a=t(\"gos\");e.exports=r},{}],loader:[function(t,e,n){function r(){if(!b++){var t=x.info=NREUM.info,e=l.getElementsByTagName(\"script\")[0];if(setTimeout(f.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&e))return f.abort();s(g,function(e,n){t[e]||(t[e]=n)});var n=a();c(\"mark\",[\"onload\",n+x.offset],null,\"api\"),c(\"timing\",[\"load\",n]);var r=l.createElement(\"script\");r.src=\"https://\"+t.agent,e.parentNode.insertBefore(r,e)}}function i(){\"complete\"===l.readyState&&o()}function o(){c(\"mark\",[\"domContent\",a()+x.offset],null,\"api\")}var a=t(18),c=t(\"handle\"),s=t(23),f=t(\"ee\"),u=t(21),d=window,l=d.document,p=\"addEventListener\",h=\"attachEvent\",m=d.XMLHttpRequest,w=m&&m.prototype;NREUM.o={ST:setTimeout,SI:d.setImmediate,CT:clearTimeout,XHR:m,REQ:d.Request,EV:d.Event,PR:d.Promise,MO:d.MutationObserver};var v=\"\"+location,g={beacon:\"bam.nr-data.net\",errorBeacon:\"bam.nr-data.net\",agent:\"js-agent.newrelic.com/nr-1184.min.js\"},y=m&&w&&w[p]&&!/CriOS/.test(navigator.userAgent),x=e.exports={offset:a.getLastTimestamp(),now:a,origin:v,features:{},xhrWrappable:y,userAgent:u};t(15),t(19),l[p]?(l[p](\"DOMContentLoaded\",o,!1),d[p](\"load\",r,!1)):(l[h](\"onreadystatechange\",i),d[h](\"onload\",r)),c(\"mark\",[\"firstbyte\",a.getLastTimestamp()],null,\"api\");var b=0},{}],\"wrap-function\":[function(t,e,n){function r(t){return!(t&&t instanceof Function&&t.apply&&!t[a])}var i=t(\"ee\"),o=t(24),a=\"nr@original\",c=Object.prototype.hasOwnProperty,s=!1;e.exports=function(t,e){function n(t,e,n,i){function nrWrapper(){var r,a,c,s;try{a=this,r=o(arguments),c=\"function\"==typeof n?n(r,a):n||{}}catch(f){l([f,\"\",[r,a,i],c])}u(e+\"start\",[r,a,i],c);try{return s=t.apply(a,r)}catch(d){throw u(e+\"err\",[r,a,d],c),d}finally{u(e+\"end\",[r,a,s],c)}}return r(t)?t:(e||(e=\"\"),nrWrapper[a]=t,d(t,nrWrapper),nrWrapper)}function f(t,e,i,o){i||(i=\"\");var a,c,s,f=\"-\"===i.charAt(0);for(s=0;s<e.length;s++)c=e[s],a=t[c],r(a)||(t[c]=n(a,f?c+i:i,o,c))}function u(n,r,i){if(!s||e){var o=s;s=!0;try{t.emit(n,r,i,e)}catch(a){l([a,n,r,i])}s=o}}function d(t,e){if(Object.defineProperty&&Object.keys)try{var n=Object.keys(t);return n.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(r){l([r])}for(var i in t)c.call(t,i)&&(e[i]=t[i]);return e}function l(e){try{t.emit(\"internal-error\",e)}catch(n){}}return t||(t=i),n.inPlace=f,n.flag=a,n}},{}]},{},[\"loader\",2,12,4,3]);</script><script type=\"text/javascript\">window.NREUM||(NREUM={});NREUM.info={\"beacon\":\"bam-cell.nr-data.net\",\"errorBeacon\":\"bam-cell.nr-data.net\",\"licenseKey\":\"8d5fb92f6e\",\"applicationID\":\"2098939\",\"transactionName\":\"ZwMAYEdSCktRWxZRXV5JJEFbUBBRX1ZNXFhRCAVbG0UNXUdLTFxXVgcXWEFAXkhRXwdnXF8SPVJaRgpc\",\"queueTime\":0,\"applicationTime\":182,\"agent\":\"\"}</script>\n <title>Page Not Found - LeetCode</title>\n <meta property=\"og:title\" content=\"Page Not Found - LeetCode\" />\n\n \n <meta content=\'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover\' name=\'viewport\' />\n \n <meta name=\"description\" content=\"Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.\" />\n \n <meta property=\"og:image\" content=\"/static/images/LeetCode_Sharing.png\" />\n <meta property=\"og:description\" content=\"Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.\" />\n\n \n\n <link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"/apple-touch-icon-57x57.png\" />\n <link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"/apple-touch-icon-60x60.png\" />\n <link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"/apple-touch-icon-72x72.png\" />\n <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/apple-touch-icon-76x76.png\" />\n <link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"/apple-touch-icon-114x114.png\" />\n <link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"/apple-touch-icon-120x120.png\" />\n <link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"/apple-touch-icon-144x144.png\" />\n <link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"/apple-touch-icon-152x152.png\" />\n <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon-180x180.png\" />\n <link rel=\"icon\" type=\"image/png\" href=\"/favicon-16x16.png\" sizes=\"16x16\" />\n <link rel=\"icon\" type=\"image/png\" href=\"/favicon-32x32.png\" sizes=\"32x32\" />\n <link rel=\"icon\" type=\"image/png\" href=\"/favicon-96x96.png\" sizes=\"96x96\" />\n <link rel=\"icon\" type=\"image/png\" href=\"/favicon-160x160.png\" sizes=\"160x160\" />\n <link rel=\"icon\" type=\"image/png\" href=\"/favicon-192x192.png\" sizes=\"192x192\" />\n <meta name=\"application-name\" content=\"LeetCode\"/>\n <meta name=\"msapplication-TileColor\" content=\"#da532c\" />\n <meta name=\"msapplication-TileImage\" content=\"/mstile-144x144.png\" />\n\n \n\n <script>\n (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s\n .createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m\n .parentNode.insertBefore(a,m)})(window,document,\'script\',\n \'//www.google-analytics.com/analytics.js\',\'ga\');\n\n ga(\'create\', \'UA-159258186-1\', \'leetcode.com\', { userId: 1583918, sampleRate: 75 });\n ga(\'set\', {\'dimension1\': \'false\', \'dimension2\': \'1583918\'});\n ga(\'require\', \'displayfeatures\');\n ga(\'send\', \'pageview\');\n</script>\n\n\n <link href=\"/static/bootstrap/dist/css/bootstrap.min.css?v=3.3.7\" rel=\"stylesheet\">\n <link href=\"/static/font-awesome/css/font-awesome.min.css?cache_version=2\" rel=\"stylesheet\">\n <link href=\"/static/bootstrap-table/dist/bootstrap-table.min.css\" rel=\"stylesheet\" />\n\n \n\n <link rel=\"stylesheet\" href=\"/static/CACHE/css/output.b60383757e52.css\" type=\"text/css\">\n\n \n\n \n \n<link rel=\"stylesheet\" href=\"/static/CACHE/css/output.35273db4015b.css\" type=\"text/css\">\n\n\n <script src=\"/static/CACHE/js/output.0ff5509473f6.js\"></script>\n <script src=\"/static/jquery/dist/jquery.min.js?v=3.3.1\"></script>\n <script>window.jQuery || document.write(\"<script src=\\\"https://code.jquery.com/jquery-3.3.1.min.js\\\">\\x3C/script>\")</script>\n <script src=\"/static/jquery.cookie/jquery.cookie.js\"></script>\n <script src=\"/static/jquery-sticky/jquery.sticky.js\"></script>\n <script src=\"/static/clipboard/dist/clipboard.min.js\"></script>\n <script src=\"/static/sweetalert2/dist/sweetalert2.min.js\"></script>\n <script>\n $(document).ready(function(){\n $(\'.sticky\').sticky({topSpacing:0});\n });\n\n \n \n \n window.LeetCodeData = {\n features: {\n questionTranslation: false,\n subscription: true,\n signUp: true,\n chinaProblemDiscuss: false,\n enableSharedWorker: true,\n enableChannels: true,\n enableDangerZone: true,\n enableCnJobs: false,\n enableRecaptchaV3: true,\n enableIndiaPricing: true,\n enableReferralDiscount: true,\n maxTimeTravelTicketCount: 3,\n },\n regionInfo: \"US\",\n userStatus: {\n isSignedIn: true,\n optedIn: true ,\n isPremium: false,\n isAdmin: false ,\n isStaff: false ,\n isTranslator: false ,\n isSuperuser: false ,\n request_region: \'CN\',\n region: \'\',\n plan: \'None\',\n countryCode: \'CN\',\n permissions: [],\n \n realName: \'\',\n username: \'Innobit\',\n userSlug: \'Innobit\',\n avatar: \'https://www.gravatar.com/avatar/a335b5c71ce4dd1a9455fc8d2c81813d.png?s=200\',\n numUnreadNotifications: 0,\n lastModified: 1607926592,\n \n \n },\n chinaURL: \"https://leetcode-cn.com\",\n websocketUrl: \"wss://sockets.leetcode.com/ws/\",\n recaptchaKey: \"6LdBpsIUAAAAAKAYWjZfIpn4cJHVIk_tsmxpl7cz\",\n recaptchaKeyV2: \"6LdBX8MUAAAAAAI4aZHi1C59OJizaJTvPNvWH2wz\",\n \n navbar: {\n \n loginSocial: [{\"id\": \"linkedin_oauth2\", \"login_url\": \"/accounts/linkedin_oauth2/login/\"}, {\"id\": \"google\", \"login_url\": \"/accounts/google/login/\"}, {\"id\": \"github\", \"login_url\": \"/accounts/github/login/\"}, {\"id\": \"facebook\", \"login_url\": \"/accounts/facebook/login/\"}],\n \n loginNext: undefined,\n subscription: true,\n mi: true,\n contest: true,\n discuss: true,\n store: true,\n translate: false,\n identity: \"\" ,\n },\n };\n </script>\n <script src=\"/static/angular/angular.min.js\"></script>\n <script src=\"/static/jquery-ui-dist/jquery-ui.min.js\"></script>\n <script src=\"/static/noty/lib/noty.min.js\"></script>\n <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->\n <!-- WARNING: Respond.js doesn\'t work if you view the page via file:// -->\n <!--[if lt IE 9]>\n <script src=\"/static/html5shiv/dist/html5shiv.min.js\"></script>\n <script src=\"/static/respond.js/dest/respond.min.js\"></script>\n <![endif]-->\n\n \n </head>\n <body>\n <script src=\"/static/bootstrap/dist/js/bootstrap.min.js?v=3.3.7\"></script>\n <script src=\"/static/bootstrap-table/dist/bootstrap-table.min.js\"></script>\n <script src=\"/static/CACHE/js/output.ee2b7fc628e3.js\"></script>\n\n <script type=\"text/javascript\" src=\"https://assets.leetcode.com/static_assets/public/webpack_bundles/runtime.87724bff8.js\" ></script>\n <script type=\"text/javascript\" src=\"https://assets.leetcode.com/static_assets/public/webpack_bundles/common/global.5b936f50e.js\" ></script>\n <script type=\"text/javascript\" src=\"https://assets.leetcode.com/static_assets/public/webpack_bundles/common/styles/index.ec538f962.js\" ></script>\n <script type=\"text/javascript\" src=\"https://assets.leetcode.com/static_assets/public/webpack_bundles/vendor-libs.2963f9cf9.js\" ></script>\n <script type=\"text/javascript\" src=\"https://assets.leetcode.com/static_assets/public/webpack_bundles/common-libs.803c04608.js\" ></script>\n <script type=\"text/javascript\" src=\"https://assets.leetcode.com/static_assets/public/webpack_bundles/new-libs.a4e6ab10b.js\" ></script>\n\n \n \n \n <aside id=\"region_switcher\" class=\"hide\">\n <div class=\"container\">\n <button class=\"btn btn-link pull-right close-btn\" onclick=\"closeRegion()\">\n <i class=\"fa fa-times-circle\" aria-hidden=\"true\"></i>\n </button>\n <div class=\"inner\">\n <a href=\"https://leetcode-cn.com\">\n <img class=\"country-flag\" src=\"/static/images/region/cn.svg\">\n </a>\n <div class=\"content\">\n <div class=\"title\">ไฝฟ็จ <a href=\"https://leetcode-cn.com\">ๅๆฃ๏ผLeetCode๏ผ**</a>๏ผๆฅ่ทๅพ้ๅๆจ็ๅ
ๅฎนไปฅๅๆไฝณ็็จๆทไฝ้ชใ</div>\n <div class=\"user-actions\">\n <a href=\"https://leetcode-cn.com/submissions/\">ๅณๅปๅๅพ</a>\n \n <span class=\"sep-line\">|</span> \n <a href=\"/accounts/transfer2china/\" id=\"trans-acct\">\n <span class=\"hidden-xs\">ๅฐๆ็่ดฆๅทๅๆญฅๅฐๅๆฃ๏ผLeetCode๏ผ**</span>\n <span class=\"display-xs\">ๅฐ่ดฆๅทๅๆญฅๅฐ**</span>\n </a>\n \n </div>\n </div>\n </div>\n </div>\n </aside>\n \n\n \n \n <div id=\"navbar-root\"></div>\n \n\n <div class=\"content-wrapper\" style=\"min-height: 100vh\">\n <div id=\"base_content\">\n \n<div class=\"container\">\n <div class=\"display-404 row col-md-8 col-md-offset-2\">\n <div class=\"col-md-6\">\n <img class=\"face-image\" src=\"/static/images/404_face.png\" width=\"250px\" alt=\"404 not found\" />\n </div>\n\n <div class=\"col-md-6 msg\">\n <h2><strong>Page Not Found</strong></h2>\n <p>Sorry, but we can't find the page you are looking for...</p>\n <br>\n <a class=\"btn btn-default\" href=\"https://leetcode.com/\"><i class=\"fa fa-home\" aria-hidden=\"true\"></i> Back to Home</a>\n </div>\n </div>\n</div> <!-- /container -->\n<script>\n window.LEETCODE_PAGE_NOT_FOUND = true;\n</script>\n\n </div>\n </div>\n\n <div id=\"footer-root\"></div>\n <script type=\"text/javascript\" src=\"https://assets.leetcode.com/static_assets/public/webpack_bundles/new-apps/navbar-footer/index.22571e7a5.js\" ></script>\n\n\n <script>\n $(document).ready(function() {\n var time_diff = new Date() - new Date(localStorage.getItem(\'region_switcher_last_close_ts\'))\n if (time_diff > 86400000) { // 86400000ms == 1day\n $(\"#region_switcher\").removeClass(\'hide\');\n }\n });\n\n function closeRegion() {\n $(\"#region_switcher\").addClass(\'hide\');\n localStorage.setItem(\'region_switcher_last_close_ts\', new Date());\n }\n </script>\n\n \n \n \n <script type=\"text/javascript\">\r\n var URL =\r\n \'https://leetcode.com/discuss/general-discussion/655704/\';\r\n var CONTENT = \'๐ December LeetCoding Challenge ๐\';\r\n\r\n function getHashCode(str) {\r\n var hash = 0,\r\n i,\r\n chr;\r\n if (str.length === 0) return hash;\r\n for (i = 0; i < str.length; i++) {\r\n chr = str.charCodeAt(i);\r\n hash = (hash << 5) - hash + chr;\r\n hash |= 0;\r\n }\r\n return hash;\r\n }\r\n\r\n var LOCAL_STORAGE_KEY = \'feedback-tab:\' + getHashCode(URL + CONTENT);\r\n var CLOSE_BUTTON_CLICKED = false;\r\n\r\n var CLOSE_BUTTON_HTML =\r\n \'\\\r\n <?xml version=\"1.0\" encoding=\"UTF-8\"?>\\\r\n <svg id=\"close-icon-svg\" width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\\\r\n <title>icon/close</title>\\\r\n <defs></defs>\\\r\n <g id=\"close-icon\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\\\r\n <polygon id=\"path-1\" points=\"19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12\"></polygon>\\\r\n </g>\\\r\n </svg>\\\r\n \';\r\n\r\n function onClickClose(e) {\r\n e.preventDefault();\r\n document\r\n .querySelector(\'.feedback-anchor\')\r\n .classList.add(\'feedback-anchor-closing\');\r\n window.localStorage.setItem(LOCAL_STORAGE_KEY, Date.now());\r\n CLOSE_BUTTON_CLICKED = true;\r\n }\r\n\r\n function onTransitionEnd(event) {\r\n if (\r\n event.target &&\r\n CLOSE_BUTTON_CLICKED &&\r\n event.propertyName === \'opacity\'\r\n ) {\r\n event.target.remove();\r\n }\r\n }\r\n\r\n function createFeedbackTab() {\r\n var closeButton = document.createElement(\'span\');\r\n closeButton.classList.add(\'feedback-tab-close-button\');\r\n closeButton.innerHTML = CLOSE_BUTTON_HTML;\r\n closeButton.addEventListener(\'click\', onClickClose);\r\n\r\n var feedbackTabContent = document.createElement(\'span\');\r\n feedbackTabContent.innerHTML = CONTENT;\r\n\r\n var feedbackTab = document.createElement(\'div\');\r\n feedbackTab.classList.add(\'feedback-tab\');\r\n\r\n feedbackTab.appendChild(feedbackTabContent);\r\n feedbackTab.appendChild(closeButton);\r\n\r\n var feedbackAnchor = document.createElement(\'a\');\r\n feedbackAnchor.classList.add(\'feedback-anchor\');\r\n feedbackAnchor.setAttribute(\'href\', URL);\r\n feedbackAnchor.setAttribute(\'target\', \'_blank\');\r\n feedbackAnchor.appendChild(feedbackTab);\r\n feedbackAnchor.addEventListener(\'transitionend\', onTransitionEnd);\r\n return feedbackAnchor;\r\n }\r\n\r\n function createComingSoonBanner(text) {\r\n var banner = document.createElement(\'div\');\r\n banner.classList.add(\'card-label\');\r\n banner.style.background = \'rgb(95, 123, 230)\';\r\n banner.style.color = \'white\';\r\n banner.style[\'font-weight\'] = \'bold\';\r\n banner.innerHTML = text;\r\n return banner;\r\n }\r\n\r\n function insertFeedbackTab() {\r\n var feedbackTab = createFeedbackTab();\r\n var navbarRightContainer = document.getElementById(\r\n \'navbar-right-container\'\r\n );\r\n if (navbarRightContainer) {\r\n navbarRightContainer.insertBefore(\r\n feedbackTab,\r\n navbarRightContainer.firstChild\r\n );\r\n }\r\n }\r\n\r\n function insertComingSoonBanner(text, clsname) {\r\n var banner = createComingSoonBanner(text);\r\n var exploreCardContainer = document.getElementsByClassName(clsname);\r\n\r\n if (!exploreCardContainer.length) {\r\n return false;\r\n }\r\n\r\n var innerLayer = exploreCardContainer[0].getElementsByClassName(\r\n \'top-inner-layer\'\r\n );\r\n\r\n if (!innerLayer.length) {\r\n return false;\r\n }\r\n\r\n innerLayer[0].insertBefore(banner, innerLayer[0].firstChild);\r\n return true;\r\n }\r\n\r\n function loadLeetCodeChallenge() {\r\n if (!window.localStorage.getItem(LOCAL_STORAGE_KEY)) {\r\n setTimeout(insertFeedbackTab, 500);\r\n }\r\n\r\n if (window.location.pathname === \'/explore/\') {\r\n var comingSoonInterval = setInterval(function() {\r\n //var res = insertComingSoonBanner(\'Day 16\', \'may-leetcoding-challenge\');\r\n var res2 = insertComingSoonBanner(\r\n \'Day 16\',\r\n \'december-leetcoding-challenge\'\r\n );\r\n if (/*res && */ res2 && comingSoonInterval) {\r\n clearInterval(comingSoonInterval);\r\n }\r\n }, 300);\r\n }\r\n\r\n var script = document.createElement(\'script\');\r\n script.async = true;\r\n script.src = \'https://assets.leetcode-cn.com/lccn-resources/cn.js\';\r\n document.body.appendChild(script);\r\n }\r\n</script>\r\n<style>\r\n .feedback-tab {\r\n position: absolute;\r\n display: flex;\r\n align-items: center;\r\n top: 0px;\r\n right: 270px;\r\n background-color: #455a64;\r\n color: white;\r\n opacity: 0.6;\r\n border-radius: 0 0 3px 3px;\r\n padding: 5px 10px;\r\n cursor: pointer;\r\n z-index: 2;\r\n transition: all 0.3s ease-in-out;\r\n }\r\n .feedback-tab:hover {\r\n opacity: 1;\r\n }\r\n .feedback-tab-close-button {\r\n margin-left: 5px;\r\n height: 1em;\r\n width: 1em;\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n }\r\n .feedback-anchor:focus {\r\n text-decoration: none;\r\n }\r\n .feedback-anchor-closing {\r\n opacity: 0;\r\n transition: opacity 0.3s ease-in-out;\r\n }\r\n aside#region_switcher {\r\n position: initial;\r\n }\r\n #close-icon-svg {\r\n opacity: 0.5;\r\n transition: all 0.3s ease-in-out;\r\n }\r\n #close-icon-svg:hover {\r\n opacity: 1;\r\n }\r\n #close-icon {\r\n fill: white;\r\n }\r\n</style>\r\n\r\n<!--@START: Nav Highlight Tag -->\r\n<style>\r\n [class*=\'navbar-nav\'] a[href=\'/explore/\']::after {\r\n right: -12px !important;\r\n background: rgb(236, 64, 122) !important;\r\n content: \'Day 16\' !important;\r\n }\r\n [class*=\'navbar-nav\'] a[href=\'/contest/\']::after {\r\n /* background: rgb(236,64,122) !important;\r\n content: \"2\" !important;\r\n*/\r\n }\r\n [class*=\'navbar-nav\'] a[href=\'/contest/\']::after,\r\n [class*=\'navbar-nav\'] a[href=\'/explore/\']::after {\r\n display: block;\r\n background: red;\r\n border-radius: 20px;\r\n padding: 0px 8px;\r\n color: white;\r\n font-size: 12px;\r\n position: absolute;\r\n top: 6px;\r\n right: -3px;\r\n font-weight: 500;\r\n transform: scale(0.6);\r\n }\r\n [class*=\'nav-item-container\'] a[href=\'/explore/\']::after {\r\n right: -25px !important;\r\n content: \'Day 16\' !important;\r\n background: rgb(236, 64, 122) !important;\r\n }\r\n [class*=\'nav-item-container\'] a[href=\'/contest/\']::after {\r\n /* background: rgb(236,64,122) !important;\r\n content: \"2\" !important;\r\n*/\r\n }\r\n [class*=\'nav-item-container\'] a[href=\'/contest/\']::after,\r\n [class*=\'nav-item-container\'] a[href=\'/explore/\']::after {\r\n display: block;\r\n background: red;\r\n border-radius: 20px;\r\n padding: 0px 8px;\r\n color: white;\r\n font-size: 12px;\r\n position: absolute;\r\n top: -9px;\r\n right: -15px;\r\n font-weight: 500;\r\n transform: scale(0.6);\r\n }\r\n</style>\r\n<script type=\"text/javascript\">\r\n var DISCOUNT_URL = \'/subscribe/\';\r\n var DISCOUNT_CONTENT =\r\n \'In an effort to fight COVID-19, from now until a limited time only, users residing in India can enjoy discount on both \';\r\n var DISCOUNT_LINK = \'monthly and annual subscriptions\';\r\n\r\n function createDiscountTab() {\r\n var discountTabContent = document.createElement(\'span\');\r\n discountTabContent.innerHTML = DISCOUNT_CONTENT;\r\n var subscribeLink = document.createElement(\'a\');\r\n subscribeLink.setAttribute(\'href\', DISCOUNT_URL);\r\n subscribeLink.classList.add(\'subscribe-link\');\r\n subscribeLink.innerHTML = DISCOUNT_LINK;\r\n var exclamation = document.createElement(\'span\');\r\n exclamation.innerHTML = \'!\';\r\n\r\n var discountTab = document.createElement(\'div\');\r\n discountTab.classList.add(\'col-md-12\');\r\n discountTab.classList.add(\'alert\');\r\n discountTab.classList.add(\'alert-warning\');\r\n\r\n discountTab.appendChild(discountTabContent);\r\n discountTab.appendChild(subscribeLink);\r\n discountTab.appendChild(exclamation);\r\n\r\n var DiscountContainer = document.createElement(\'div\');\r\n DiscountContainer.classList.add(\'container\');\r\n DiscountContainer.classList.add(\'row\');\r\n DiscountContainer.classList.add(\'no-margin\');\r\n DiscountContainer.classList.add(\'container-center\');\r\n DiscountContainer.appendChild(discountTab);\r\n return DiscountContainer;\r\n }\r\n\r\n function insertDiscountTab() {\r\n var discountTab = createDiscountTab();\r\n var container = document.getElementById(\'base_content\');\r\n if (container) {\r\n container.insertBefore(discountTab, container.firstChild);\r\n }\r\n }\r\n\r\n window.onload = function() {\r\n if (window.LeetCodeData) {\r\n const {\r\n features: { enableIndiaPricing },\r\n userStatus: { countryCode },\r\n } = window.LeetCodeData;\r\n if (\r\n (window.location.pathname === \'/\' ||\r\n window.location.pathname.startsWith(\'/problemset\')) &&\r\n enableIndiaPricing &&\r\n countryCode === \'IN\'\r\n ) {\r\n setTimeout(insertDiscountTab, 500);\r\n }\r\n\r\n var script = document.createElement(\'script\');\r\n script.async = true;\r\n document.body.appendChild(script);\r\n }\r\n loadLeetCodeChallenge();\r\n };\r\n</script>\r\n<style>\r\n .container-center {\r\n margin: auto;\r\n display: flex;\r\n justify-content: center;\r\n padding: 0;\r\n text-align: center;\r\n margin-top: -10px;\r\n }\r\n .subscribe-link {\r\n cursor: pointer;\r\n }\r\n</style>\n \n\n \n\n <script src=\"/static/legacy/common/js/base.js\"></script>\n\n <script>\n try {\n ace.config.set(\"basePath\", \"/static/ace-builds/src-noconflict/\")\n } catch(err) {}\n </script>\n\n <script>\n function recaptchaV2Callback() {\n window.grecaptchaV2 = Object.assign(Object.create(Object.getPrototypeOf(window.grecaptcha)), window.grecaptcha)\n }\n\n function recaptchaV3Callback() {\n window.grecaptchaV3 = Object.assign(Object.create(Object.getPrototypeOf(window.grecaptcha)), window.grecaptcha)\n }\n </script>\n\n <script src=\"https://www.recaptcha.net/recaptcha/api.js?onload=recaptchaV2Callback&render=explicit\" async\n defer></script>\n\n \n <script\n src=\"https://www.recaptcha.net/recaptcha/api.js?onload=recaptchaV3Callback&render=6LdBpsIUAAAAAKAYWjZfIpn4cJHVIk_tsmxpl7cz\"></script>\n </body>\n</html>\n"
[2020-12-17T03:15:31Z DEBUG leetcode_cli::cache] debug json deserializing:
Err(
Error("expected value", line: 1, column: 1),
)
error: expected value at line 1 column 1
The json deserialize error. How can I solve this problem?