随笔分类 -  大数类

摘要:输入N求N的阶乘的准确值。 Input Output Input示例 Output示例 阅读全文
posted @ 2017-08-17 10:35 wydxry 阅读(358) 评论(0) 推荐(0) 编辑
摘要:给出2个大整数A,B,计算A+B的结果。 给出2个大整数A,B,计算A+B的结果。 给出2个大整数A,B,计算A+B的结果。 Input 第1行:大数A 第2行:大数B (A,B的长度 <= 10000 需注意:A B有可能为负数) Output 输出A + B Input示例 6893214758 阅读全文
posted @ 2017-07-31 10:00 wydxry 阅读(426) 评论(0) 推荐(0) 编辑
摘要:The well-known Fibonacci sequence is defined as following: F(0) = F(1) = 1 F(n) = F(n − 1) + F(n − 2) ∀n ≥ 2 Here we regard n as the index of the Fibo 阅读全文
posted @ 2017-07-28 10:46 wydxry 阅读(317) 评论(0) 推荐(0) 编辑

Live2D