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(); }
摘要: 题意翻译 题意简述:现在给一个N*N的矩阵,找一条路径从左上角走到右下角,每次可以向上下左右四个方向中某个方向走。要求走过的点中,数字最大的减去最小的。要求值越小越好。现在就是要求这个值。 输入格式: 第一行给出一个数字N(2 <= N <= 100),代表矩阵的大小。接下来一个N行N列的矩阵,里面 阅读全文
posted @ 2019-07-15 17:29 华恋~韵 阅读(307) 评论(0) 推荐(1) 编辑
摘要: 描述 a program that, given a natural number N between 0 and 4999 (inclusively), and M distinct decimal digits X1,X2..XM (at least one), finds the smalle 阅读全文
posted @ 2019-07-15 16:17 华恋~韵 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 描述 有N个人,编号为1到N,其中有一些人互相认识,现在x想认识y,可以通过他所认识的人来认识更多的人如果x认识y,y认识z,则x可以通过y来认识z,求出x最少需要通过多少人才能认识y 输入输出格式 输入输出格式 输入 第一行3个整数n,x,y,N<=100,1<=x,y<=N接下来是一个N*N的矩 阅读全文
posted @ 2019-07-15 07:54 华恋~韵 阅读(613) 评论(0) 推荐(0) 编辑