摘要: 在Java中,求1!+2!+3!+···+1000!的结果,结果长度远远超出int和long类型的最大值,所以要使用BigDecimal类型,代码如下: 阅读全文
posted @ 2016-06-03 09:46 望臻风格 阅读(277) 评论(0) 推荐(0) 编辑