function aaa(){ window.close(); } function ck() { console.profile(); console.profileEnd(); if(console.clear) { console.clear() }; if (typeof console.profiles =="object"){ return console.profiles.length > 0; } } function hehe(){ if( (window.console && (console.firebug || console.table && /firebug/i.test(console.table()) )) || (typeof opera == 'object' && typeof opera.postError == 'function' && console.profile.length > 0)){ aaa(); } if(typeof console.profiles =="object"&&console.profiles.length > 0){ aaa(); } } hehe(); window.onresize = function(){ if((window.outerHeight-window.innerHeight)>200) aaa(); }
摘要: P3379 【模板】最近公共祖先(LCA) 例子 LCA(13,14)=12 LCA(13,7)=3 LCA(7,11)=2 LCA(11,2)=2 好了,了解以后我们就来康康怎么求吧 暴力LCA 如果找LCA(6,8),我们就要先让它们的深度相等。此时(deep[1]=0)deep[6]=4,de 阅读全文
posted @ 2019-11-23 16:50 华恋~韵 阅读(278) 评论(0) 推荐(0) 编辑