摘要: 判断101-200之间有多少个素数,并输出所有素数。算法一:public class ArithmeticTest2 { public static void main(String[] args){ long start=System.currentTimeMillis(); ... 阅读全文
posted @ 2014-06-10 23:41 tranren 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 在网上看到了一篇有关数据库设计技巧的文章,和大家分享:http://blog.csdn.net/sirfei/article/details/434994#comments 阅读全文
posted @ 2014-06-10 10:35 tranren 阅读(480) 评论(0) 推荐(1) 编辑
摘要: 【程序1】 题目:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第四个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子有多少对?算法一:public class ArithmeticTest1 { public static void main(String[]... 阅读全文
posted @ 2014-06-10 00:15 tranren 阅读(416) 评论(2) 推荐(0) 编辑