大数
纯真zwj
这个作者很懒,什么都没留下…
展开
-
NYOJ 比大小
原题网页链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=73比大小时间限制:3000 ms | 内存限制:65535 KB难度:2描述给你两个很大的数,你能不能判断出他们两个数的大小呢?比如123456789123456789要大于-123456输入每组测试数据占一行,输原创 2015-01-09 15:33:46 · 1197 阅读 · 0 评论 -
HDOJ 1130 How Many Trees?(卡特兰数+大数乘除法)
How Many Trees?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3380 Accepted Submission(s): 1958Problem DescriptionA binary s原创 2016-04-07 21:55:10 · 702 阅读 · 0 评论 -
HDOJ 1023 Train Problem II(卡特兰数+大数乘除法)
Train Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7690 Accepted Submission(s): 4140Problem DescriptionAs we a原创 2016-04-07 21:44:47 · 1172 阅读 · 0 评论 -
POJ 2506 Tiling(大数版递推)
TilingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8334 Accepted: 4023DescriptionIn how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles?原创 2015-09-08 22:25:28 · 635 阅读 · 0 评论 -
HDOJ 1212 Big Number(大数版同余定理)
Big NumberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5916 Accepted Submission(s): 4135Problem DescriptionAs we know, Big N原创 2015-07-24 18:03:11 · 907 阅读 · 0 评论 -
HDOJ 1715 大斐波数(大数+打表)
大菲波数Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14068 Accepted Submission(s): 4788Problem DescriptionFibonacci数列,定义如下:f(1原创 2015-07-23 17:40:08 · 851 阅读 · 0 评论 -
HDOJ 1047 Integer Inquiry(多次大数相加)
Integer InquiryTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15140 Accepted Submission(s): 3889Problem DescriptionOne of the原创 2015-07-23 16:33:31 · 561 阅读 · 1 评论 -
HDOJ 1250 Hat's Fibonacci(大数,错了11次!!)
Hat's FibonacciTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9103 Accepted Submission(s): 2953Problem DescriptionA Fibonacci原创 2015-07-29 19:40:01 · 646 阅读 · 0 评论 -
NYOJ 524 A-B Problem(大数是否相等)
A-B Problem时间限制:1000 ms | 内存限制:65535 KB难度:3描述 A+B问题早已经被大家所熟知了,是不是很无聊呢?现在大家来做一下A-B吧。现在有两个实数A和B,聪明的你,能不能判断出A-B的值是否等于0呢?输入有多组测试数据。每组数据包括两行,分别代表A和B。它们的位数小于100,且每个数字前中可能包含+,原创 2015-06-05 18:24:40 · 695 阅读 · 0 评论 -
HDOJ 2054 A == B ?(大数比较)
A == B ?Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 73311 Accepted Submission(s): 11575Problem DescriptionGive you two numb原创 2015-06-05 12:55:10 · 992 阅读 · 0 评论 -
HDOJ 1042 N!(大数阶乘)
N!Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 64180 Accepted Submission(s): 18255Problem DescriptionGiven an integer N(0原创 2015-06-05 11:58:58 · 725 阅读 · 0 评论 -
HDOJ 1865 1sting(大数斐波那契数列)
1stingTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4024 Accepted Submission(s): 1497Problem DescriptionYou will be given a s原创 2015-06-02 19:12:39 · 745 阅读 · 0 评论 -
NYOJ 655 光棍的yy(大数斐波那契数列)
光棍的yy时间限制:1000 ms | 内存限制:65535 KB难度:2描述 yy经常遇见一个奇怪的事情,每当他看时间的时候总会看见11:11,这个很纠结啊。现在给你m个1,你可以把2个1组合成一个2,这样就不是光棍了,问这样的组合有多少种??例如(111 可以拆分为 111 12 21 有三种)输入第一行输入一个n表示有n个测原创 2015-05-29 13:28:57 · 3130 阅读 · 0 评论 -
HDOJ 1002 A + B Problem II(大数A+B)
A + B Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 237322 Accepted Submission(s): 45702Problem DescriptionI ha原创 2015-02-08 01:14:04 · 900 阅读 · 0 评论 -
NYOJ A+B Problem II(大数A+B)
A+B Problem II时间限制:3000 ms | 内存限制:65535 KB难度:3描述I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.A,B must be positi原创 2015-01-10 16:59:06 · 1178 阅读 · 0 评论 -
HDOJ 5920 Ugly Problem(构造+大数相减)
Ugly ProblemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 812 Accepted Submission(s): 286Special JudgeProblem Description原创 2016-10-17 15:38:35 · 507 阅读 · 0 评论