文件名称:zhishu

  • 所属分类:
  • C#编程
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2013-01-23
  • 文件大小:
  • 460kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 田**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

一个可以判断一个数是不是质数、可以分解质因数的程序。数字都用decimal储存,最大可以分解26位左右的数。采用6位列表法,即

1 2 3 4 5 6

7 8 9 10 11 12

13 14 15 16 17 18

19 20 21 22 23 24

除2 3之外,其他的质数都在1,5列。

程序利用这个办法加快速度。

经测试,本程序在intel core i5-2450M Cpu上运行,分解1000000007(一个质数)只需4秒左右。-One can judge a number is not the prime numbers, factorization procedure. Numbers with decimal storage, maximum number of decomposition of about 26. List of 6-bit approach, namely1 2 3 4 5 67 8 9 10 11 1213 14 15 16 17 1819 20 21 22 23 24In addition to 2 3, other prime number are 1 and 5.Programs use this speed.Tested, this program runs on the Intel Core i5-2450M Cpu, decomposition of 1,000,000,007 (a prime number) will take about 4 seconds.

(Bing translation)
(系统自动生成,下载前可以参看下载内容)

下载文件列表





zhishu\zhishu\AboutBox1.cs

......\......\AboutBox1.Designer.cs

......\......\AboutBox1.resx

......\......\app.config

......\......\bin\Debug\app.publish\Application Files\质数判断程序_2_2_1_1\质数.ico.deploy

......\......\...\.....\...........\.................\....................\质数判断程序.exe.config.deploy

......\......\...\.....\...........\.................\....................\质数判断程序.exe.deploy

......\......\...\.....\...........\.................\....................\质数判断程序.exe.manifest

......\......\...\.....\...........\setup.exe

......\......\...\.....\...........\质数判断程序.application

......\......\...\.....\zhishu.vshost.application

......\......\...\.....\zhishu.vshost.exe.config

......\......\...\.....\zhishu.vshost.exe.manifest

......\......\...\.....\质数判断程序.application

......\......\...\.....\质数判断程序.exe

......\......\...\.....\质数判断程序.exe.config

......\......\...\.....\质数判断程序.exe.manifest

......\......\...\.....\质数判断程序.pdb

......\......\...\.....\质数判断程序.vshost.application

......\......\...\.....\质数判断程序.vshost.exe

......\......\...\.....\质数判断程序.vshost.exe.config

......\......\...\.....\质数判断程序.vshost.exe.manifest

......\......\ClassDiagram1.cd

......\......\Form1.cs

......\......\Form1.Designer.cs

......\......\Form1.resx

......\......\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

......\......\...\...\.....\DesignTimeResolveAssemblyReferencesInput.cache

......\......\...\...\.....\GenerateResource.read.1.tlog

......\......\...\...\.....\GenerateResource.write.1.tlog

......\......\...\...\.....\ResGen.read.1.tlog

......\......\...\...\.....\ResGen.read.7.tlog

......\......\...\...\.....\ResGen.read.8.tlog

......\......\...\...\.....\ResGen.read.9.tlog

......\......\...\...\.....\ResGen.write.1.tlog

......\......\...\...\.....\ResGen.write.7.tlog

......\......\...\...\.....\ResGen.write.8.tlog

......\......\...\...\.....\ResGen.write.9.tlog

......\......\...\...\.....\ResolveAssemblyReference.cache

......\......\...\...\.....\TempPE\Form1.zh-CN.Designer.cs.dll

......\......\...\...\.....\......\Properties.Resources.Designer.cs.dll

......\......\...\...\.....\zhishu.AboutBox1.resources

......\......\...\...\.....\zhishu.csproj.FileListAbsolute.txt

......\......\...\...\.....\zhishu.Form1.resources

......\......\...\...\.....\zhishu.Properties.Resources.resources

......\......\...\...\.....\zhishu.UserControl1.resources

......\......\...\...\.....\质数判断程序.application

......\......\...\...\.....\质数判断程序.csproj.FileListAbsolute.txt

......\......\...\...\.....\质数判断程序.exe

......\......\...\...\.....\质数判断程序.exe.manifest

......\......\...\...\.....\质数判断程序.pdb

......\......\...\...\.....\质数判断程序.TrustInfo.xml

......\......\Program.cs

......\......\...perties\app.manifest

......\......\..........\AssemblyInfo.cs

......\......\..........\Resources.Designer.cs

......\......\..........\Resources.resx

......\......\..........\Settings.Designer.cs

......\......\..........\Settings.settings

......\......\UserControl1.cs

......\......\UserControl1.Designer.cs

......\......\UserControl1.resx

......\......\质数.ico

......\......\质数判断程序.csproj

......\......\质数判断程序.csproj.user

......\质数判断程序.exe

......\质数判断程序.sln

......\质数判断程序.suo

......\zhishu\bin\Debug\app.publish\Application Files\质数判断程序_2_2_1_1

......\......\...\.....\...........\Application Files

......\......\obj\x86\Debug\TempPE

......\......\...\...\.....\zh-CN

......\......\bin\Debug\app.publish

......\......\...\.....\zh-CN

......\......\obj\x86\Debug

......\......\bin\Debug

......\......\...\Release

......\......\obj\x86

......\......\bin

......\......\obj

......\......\Properties

......\......\Service References

......\zhishu

zhishu

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org