ACM--大数问题&&高精度
LMengi000
这个作者很懒,什么都没留下…
展开
-
A - A + B Problem II
A - A + B Problem II I have a very simple problem for you. Given two in...原创 2018-04-06 20:04:11 · 262 阅读 · 0 评论 -
大明A+B //Java中BigDecimal高精度小数 BigDecimal类stripTrailingZeros()和toPlainString()函数的表达
大明A+BTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14556 Accepted Submission(s): 5344Problem Description 话说,经过了漫长的一个多月,小明已经成长了许多,所以他改了一个名字叫...原创 2018-04-29 10:37:52 · 1497 阅读 · 0 评论 -
Hat's Fibonacci //Java大数数组相加
Hat's FibonacciTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12609 Accepted Submission(s): 4234Problem Description A Fibonacci sequence is ...原创 2018-04-29 10:03:52 · 179 阅读 · 0 评论 -
大菲波数 // Java大数数组相加
大菲波数Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 22693 Accepted Submission(s): 8150Problem Description Fibonacci数列,定义如下:f(1)=f(2)=1f(n)=f(...原创 2018-04-29 09:44:35 · 708 阅读 · 0 评论 -
Goldbach //Java大数素数做法 素数判定Miller_Rabin
Goldbach Description:Goldbach's conjecture is one of the oldest and best-known unsolved problems in number theory and all of mathematics. It states:Every even integer greater th...原创 2018-04-24 20:06:28 · 997 阅读 · 0 评论 -
I Reversion Count //java大数问题
Description:There is a positive integer X, X's reversion count is Y. For example, X=123, Y=321; X=1234, Y=4321. Z=(X-Y)/9, Judge if Z is made up of only one number(0,1,2...9), like Z=11,Z=111,Z=222,do...原创 2018-04-23 20:59:30 · 232 阅读 · 0 评论 -
Parity check 同余与模算术 /大数也可以
Parity checkTime Limit: 2000 msMemory Limit: 524288 KiBProblem DescriptionFascinated with the computer games, Gabriel even forgets to study. Now she needs to finish her homework, and there is an easy ...原创 2018-04-13 21:30:00 · 237 阅读 · 0 评论 -
大数题解&大数题目
http://www.cnblogs.com/yuyixingkong/p/3919899.htmlhttps://blog.csdn.net/tt2767/article/details/45420067原创 2018-04-15 12:39:00 · 409 阅读 · 0 评论 -
B - N!
B - N! Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N! Input One N in one line, process to the end of file. Output For each N, output N! in one ...原创 2018-04-09 21:51:28 · 246 阅读 · 0 评论 -
51nod 1028 大数乘法 V2 大数
51nod 1028 大数乘法 V2 大数import java.util.*;import java.math.*;public class Main { public static void main(String[] args) { Scanner scan=new Scanner(System.in); BigInteger a=scan.nextB...原创 2018-10-20 11:16:45 · 258 阅读 · 0 评论