
大数
L-75
这个作者很懒,什么都没留下…
展开
-
HDU 1250 Hat's Fibonacci
Hat's Fibonacci Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 9821 Accepted Submission(s): 3260 Problem Description A Fibonacc原创 2016-03-09 20:46:34 · 423 阅读 · 0 评论 -
JAVA BigInteger(大数类)HDU 1002 1042
总结一下用到的大数类的基本方法: 1.大数加法: add ( BigInteger val ) 2.大数乘法: multiply ( BigInteger val ) 3.大数除法: divide ( BigInteger val ) 4.大数取余: mod ( BigInteger val ) 5.取相反数: negate ( ) 6.求幂 pow( int numbe原创 2016-03-10 16:28:36 · 723 阅读 · 0 评论