上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 43 下一页
  2016年5月6日
摘要: //获得系统屏幕分辨率//得到当前屏幕的分辨率:Toolkit.getDafaultToolkit().getScreenSize()Toolkit t = Toolkit.getDefaultToolkit() ;Dimension size=t.getScreenSize();... 阅读全文
posted @ 2016-05-06 18:34 cnxo 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 做自己的类加载器 虚拟机的核心是通过类加载器来加载.class文件,然后进行相应的解析执行。那么我们可以自己做类加载器,手动加载需要的.class以进行解析执行,从而扩展虚拟机的功能。 以下内容摘自API文档:应用程序需要实现 ClassLoader 的子类,以扩展 Java 虚拟... 阅读全文
posted @ 2016-05-06 17:38 cnxo 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Problem Description A DFS(digital factorial sum) number is found by summing the factorial of every digit of a positive integer. For example ,... 阅读全文
posted @ 2016-05-06 01:49 cnxo 阅读(164) 评论(0) 推荐(0) 编辑
  2016年5月5日
摘要: Problem Description 凡看过功夫熊猫这部电影的人都会对影片中那只憨憨的熊猫阿波留下相当深的印象,胖胖的熊猫阿波自从打败了凶狠强悍的雪豹泰龙以后,在和平谷的地位是越来越高,成为谷中第一的功夫大师。并因此他父亲经营的面馆的生意也越来越好,店里每天都会有许多慕名而来吃面... 阅读全文
posted @ 2016-05-05 21:26 cnxo 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Problem Description As the increase of population, the living space for people is becoming smaller and smaller. In MagicStar the problem is m... 阅读全文
posted @ 2016-05-05 21:07 cnxo 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Problem Description 当抢救人员发现她的时候,她已经死了,是被垮塌下来的房子压死的,透过那一堆废墟的的间隙可以看到她死亡的姿势,双膝跪着,整个上身向前匍匐着,双手扶着地支撑着身体,有些象古人行跪拜礼,只是身体被压的变形了。救援人员从废墟的空隙伸手进去确认了她已经死... 阅读全文
posted @ 2016-05-05 20:42 cnxo 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Problem Description A有1数m,B来猜.B每猜一次,A就说”太大”,”太小”或”对了” 。 问B猜n次可以猜到的最大数。 Input 第1行是整数T,表示有T组数据,下面有T行 每行一个整数n (1 ≤ n ≤ 30) Output 猜n次可以猜到的最大数S... 阅读全文
posted @ 2016-05-05 20:12 cnxo 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Problem Description Rock, Paper, Scissors is a two player game, where each player simultaneously chooses one of the three items after countin... 阅读全文
posted @ 2016-05-05 19:52 cnxo 阅读(109) 评论(0) 推荐(0) 编辑
摘要: Problem Description Write a program to determine the summation of several sets of integers.Input The input file will consist of up to 250 set... 阅读全文
posted @ 2016-05-05 19:34 cnxo 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Problem Description Write a program to read in a list of integers and determine whether or not each number is prime. A number, n, is prime if... 阅读全文
posted @ 2016-05-05 19:24 cnxo 阅读(112) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 43 下一页