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(); }
上一页 1 ··· 4 5 6 7 8
摘要: 描述 在 N*N 的棋盘上放置 N 个皇后而彼此不受攻击(即在棋盘的任一行,任一列和任一对角线上 不能放置 2 个皇后),编程求解所有的 摆放方法。 输入输出格式 输入 一个数字N (3 <= N <= 10) 表示棋盘是N * N大小的。 输出 输出方案数;若无方案,则输出 "no solute! 阅读全文
posted @ 2019-06-16 16:41 华恋~韵 阅读(678) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8