ACM_大数
文章平均质量分 80
AC_Dreameng
行有余力,则来刷题!
展开
-
HDU 1753 大明A+B(大小数加法,C模拟,Java BigDecimal)
大明A+BTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11240 Accepted Submission(s): 4044Problem Description话说,经过了漫长的一个多月,小明已原创 2016-03-29 20:01:49 · 1438 阅读 · 0 评论 -
HNNU 11654 大还是小?【 湖南省第十一届大学生计算机程序设计竞赛,Java大数比较】
原题链接:http://acm.hunnu.edu.cn/online/?action=problem&type=show&id=11654&courseid=0大数比较,果断用Java,但也要注意细节。注意:比较的时候不能用 equals,如果用的话0.0和0.00是不相等的,有点像HDU2054,那题有详细解释 http://blog.csdn.net/hurmishine原创 2016-08-23 16:01:37 · 1527 阅读 · 2 评论 -
HDU 1250 Hat's Fibonacci (Java大数,类似Fib数,有个坑!!)
Hat's FibonacciTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10352 Accepted Submission(s): 3412Problem DescriptionA Fibonac原创 2016-05-15 23:34:47 · 3809 阅读 · 2 评论 -
HDU 1316 How Many Fibs? (大Fib数,还是Java大法好)
How Many Fibs?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5822 Accepted Submission(s): 2267Problem DescriptionRecall the原创 2016-05-15 16:47:10 · 5462 阅读 · 0 评论 -
POJ 1001 Exponentiation(大数幂,还是Java大发好!需调用多个方法)
ExponentiationTime Limit: 500MS Memory Limit: 10000KTotal Submissions: 156303 Accepted: 38063DescriptionProblems involving the computation of exact values of very原创 2016-05-14 01:35:20 · 6555 阅读 · 0 评论 -
POJ 2389 Bull Math(大数乘法,还是Java好)
Bull MathTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 14252 Accepted: 7350DescriptionBulls are so much better at math than the cows. They can multipl原创 2016-05-14 00:44:34 · 5476 阅读 · 0 评论 -
POJ 1053 Integer Inquiry (大数加法,还是Java大法好)
Integer InquiryTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 32674 Accepted: 12789DescriptionOne of the first users of BIT's new supercomputer was Chi原创 2016-05-14 00:06:54 · 5326 阅读 · 0 评论 -
HDU 1042 N! (大数阶乘,紫书上的方法超时!!还是Java大法好!!)
N!Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 73270 Accepted Submission(s): 21210Problem DescriptionGiven an integer N原创 2016-05-12 23:00:04 · 5734 阅读 · 5 评论 -
HDU 1715 大菲波数 (Java大法好,C模拟也不要错过)
大菲波数Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16837 Accepted Submission(s): 5567Problem DescriptionFibonacci数列,定义如下:f原创 2016-05-12 22:21:23 · 1662 阅读 · 0 评论 -
HDU 2054 A == B ?(Java大数用equal???C模拟也不能错过)
A == B ?Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 88315 Accepted Submission(s): 13940Problem DescriptionGive you two nu原创 2016-05-12 11:02:35 · 2136 阅读 · 1 评论 -
HDU 1002 A + B Problem II(大数加法,C,Java两个版本)
A + B Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 300365 Accepted Submission(s): 57917Problem DescriptionI have原创 2016-03-27 23:37:57 · 1850 阅读 · 0 评论 -
HDU 5832 A water problem 【大数取模,Java 大数也不是万能的。。】
A water problemDescriptionTwo planets named Haha and Xixi in the universe and they were created with the universe beginning.There is 73 days in Xixi a year and 137 days in Haha a year.原创 2016-08-15 12:06:37 · 1741 阅读 · 2 评论