摘要:
output:14 烧脑袋...... 阅读全文
posted @ 2019-10-25 21:52
hardhp74520
阅读(331)
评论(0)
推荐(0)
摘要:
/* * 1/1 + 1/2 + 1/4 + 1/8 + 1/16 + .... 每项是前一项的一半,如果一共有20项, 求这个和是多少,结果用分数表示出来。 数学得好呀 (2^20-1)/2^19 */ public class demo6 { public static void main(String[] args) { work(); } public static void work() 阅读全文
posted @ 2019-10-25 20:11
hardhp74520
阅读(168)
评论(0)
推荐(0)
摘要:
划重点,这个输出到文件代码要记。 阅读全文
posted @ 2019-10-25 19:29
hardhp74520
阅读(269)
评论(0)
推荐(0)
摘要:
这就需要一点数学知识啦。 阅读全文
posted @ 2019-10-25 17:20
hardhp74520
阅读(179)
评论(0)
推荐(0)
摘要:
解法二: 在excel里面使用DATEDIF函数即可 闰年366,2月29 平年355,2月28 阅读全文
posted @ 2019-10-25 16:41
hardhp74520
阅读(130)
评论(0)
推荐(0)
摘要:
输出:11 学校要比赛算法了,得加加油了!!! 阅读全文
posted @ 2019-10-25 16:21
hardhp74520
阅读(102)
评论(0)
推荐(0)

浙公网安备 33010602011771号