摘要: 添加手势监听:1 GestureDetector detector;// 手势侦听View Code1 detector = new GestureDetector(getApplicationContext(),2 new myGestureListener... 阅读全文
posted @ 2015-04-09 15:27 CrazyMax 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 如果一个数等于其所有因子之和,我们就称这个数为"完数",例如 6的因子为1,2,3 6=1+2+3 6就是一个完数.请编程打印出1000以内所有的完数package com.test1;public class wanshu { public static void main(Strin... 阅读全文
posted @ 2013-06-08 22:23 CrazyMax 阅读(1816) 评论(0) 推荐(0) 编辑
摘要: package com.test1;import java.util.*;import java.math.*;public class gedebahe { /** * @param args */ public static boolean sushu(in... 阅读全文
posted @ 2013-06-08 22:14 CrazyMax 阅读(260) 评论(0) 推荐(0) 编辑