摘要: BigInteger abs() //返回大整数的绝对值BigInteger add(BigInteger val)// 返回两个大整数的和BigInteger and(BigInteger val) //返回两... 阅读全文
posted @ 2019-11-07 16:19 风骨散人 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionFibonacci数列,定义如下:f(1)=f(2)=1f(n)=f(n-1)+f(n-2) n>=3。计算第n项Fibonacci数值。 Input输入第一行为一个整数N,... 阅读全文
posted @ 2019-11-07 16:15 风骨散人 阅读(88) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionGive you two numbers A and B, if A is equal to B, you should print "YES", or print "NO"... 阅读全文
posted @ 2019-11-07 15:21 风骨散人 阅读(105) 评论(0) 推荐(0) 编辑