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(); }

随笔分类 -  枚举

摘要:描述 超市里卖的巧克力都是高为H,宽为W的长方形,如下图所示。图中的高为3,宽为5。 现在要把一整块巧克力切成三块,切的要求是:每次切的时候必须从所切的巧克力(长方形)的某条边的某个位置开始切,且必须一刀切断。切后分开的两块必须都是长方形(或正方形)。只能沿着每个11的方块的边线切,不能从中间切。现 阅读全文
posted @ 2019-07-08 19:15 华恋~韵 阅读(429) 评论(0) 推荐(0)