洛谷 - P1492 猩猩散步

点击打开链接   POINT:   答案为C(n+m,m)或者C(n+m,n)。 然后因为完全模拟为超时。JAVA大数乘法超时。 那么先把分母分子全部质因数分解。 把答案化为质因数的个数。 然后作高精度低乘     #include <iostream...

2018-07-10 19:50:25

阅读数:44

评论数:0

ACM-ICPC 2017 Asia HongKong - A (JAVA大数)

Consider the error function F(x,y,z,n)=∣xn+yn−zn∣F(x,y,z,n)=∣xn+yn−zn∣, where ∣v∣∣v∣ means the absolute value of vv. Given two positive integers nn a...

2018-03-11 09:07:53

阅读数:537

评论数:6

2017 CCPC 秦皇岛 & ZOJ 3987 - Numbers (贪心+大数)

Numbers Time Limit: 2 Seconds      Memory Limit: 65536 KB DreamGrid has a nonnegative integer . He would like to divide  into  nonnegative ...

2017-12-19 23:26:44

阅读数:204

评论数:0

HDU 5718 Oracle(大数)

Oracle Time Limit: 8000/4000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 1235    Accepted Submission(s): 5...

2017-11-09 21:03:40

阅读数:97

评论数:0

POJ 1001 Exponentiation(大树乘法)

Exponentiation Time Limit: 500MS   Memory Limit: 10000K Total Submissions: 171270   Accepted: 41478 Description Probl...

2017-08-25 22:34:25

阅读数:240

评论数:0

HDU 6034 Balala Power!(大数进制)

Balala Power! Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 1317    Accepted Submissio...

2017-07-25 21:28:39

阅读数:855

评论数:1

POJ 2602 Superlong sums

Superlong sums Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 23223   Accepted: 6889 Description The crea...

2017-04-20 17:46:12

阅读数:200

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭