摘要:
output:14 烧脑袋...... 阅读全文
摘要:
/* * 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() 阅读全文
摘要:
划重点,这个输出到文件代码要记。 阅读全文
摘要:
这就需要一点数学知识啦。 阅读全文
摘要:
解法二: 在excel里面使用DATEDIF函数即可 闰年366,2月29 平年355,2月28 阅读全文
摘要:
输出:11 学校要比赛算法了,得加加油了!!! 阅读全文