首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 编写程序实现任意精度的整数,计算第二十个梅森素数。实现它,它的工作原理与vector或deque容器的每个元素表示一个十进制数字。

编写程序实现任意精度的整数,计算第二十个梅森素数。实现它,它的工作原理与vector或deque容器的每个元素表示一个十进制数字。

资 源 简 介

Specification Write a program to implement an arbitrary-precision integer and to compute the 20th Mersenne prime. Implement it such that it works with a vector or deque with each element representing a decimal digit. Analysis The current largest known prime happens to be a Mersenne prime (a number of the form 2n-1). There are only 47 known Mersenne primes. There"s a SETI-like effort, GIMPS, to find the next one, and the EFF is offering money for finding large ones.
VIP VIP
  • 大智若愚 14分钟前 成为了本站会员

  • Mason 2小时前 成为了本站会员

  • 3小时前 成为了本站会员

  • Half_Punch 1天前 成为了本站会员

  • liqing71718 1天前 成为了本站会员

  • 伟国 1天前 成为了本站会员

  • songy 1天前 成为了本站会员

  • 纯色幽默 1天前 成为了本站会员

  • odd? 1天前 成为了本站会员

  • 52JOY... 1天前 成为了本站会员

0.204961s