登录
首页 » 算法 » for n! The lowest number is not 0. Use mathematical laws and mod

for n! The lowest number is not 0. Use mathematical laws and mod

于 2022-03-06 发布 文件大小:1.41 kB
0 139
下载积分: 2 下载次数: 1

代码说明:

求n!的最低位不是0的数.用到数学规律和mod-for n! The lowest number is not 0. Use mathematical laws and mod

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 分形盒维数
    基于图像的分形盒维数,包括一维、二维、三维。代码是外国人编写的,比较全面,运行时直接带入即可,容易理解,无需弄懂代码运行过程,是很有用的
    2022-01-31 19:08:45下载
    积分:1
  • 新型GA
    一种好的改进遗传算法function [opy,optimy]=GA(pt,gennum,psize)% 输入参数:% pt       m*n的加工时间矩阵(n是工件数目,m是机器数目)由已知给的T矩阵,可得n=100,m=10% gennum   迭代的次数(代数)% psize    种群的规模大小%输出参数:% opy       最优的Makespan值pc=0.9;%交叉因子pm=0.1;%变异因子[m,n]=size(pt);current_gen=1;%current_gen means the current generationnewgen=zeros(psize,n+1); %mewgen is the new generation of the populationnewgen(1:psize,1:n)=rand(psize,n);%主种群初始化,0-1之间的随机数 %Generalize the initial groupfather=zeros(2,n); %father is used to store the two genes for crossover and mutation avgen=zeros(1,gennum); %avgen is the matrix of the average of all the generationsoptimx=zeros(1,n);optimy=ones(1,gennum);%Generalize the initial groupfor i=1:psize    [Ya,pop(i,1:n)]=sort(newgen(i,1:n));%种群排序,实数编码转换为自然数编码 随机生成的0-1之间的小数进行排序然后取每个从小到大数对应的位置    newg
    2022-03-18 14:25:18下载
    积分:1
  • 采用基于RSSI的ZigBee定位技术
    采用基于RSSI的ZigBee定位技术。 采用基于RSSI的ZigBee定位技术,实现两个基站对目标的定位及校准功能
    2022-02-26 18:07:22下载
    积分:1
  • 此程序是本人编写的在MFC环境下调用Matlab函数进行编程的实例...
    此程序是本人编写的在MFC环境下调用Matlab函数进行编程的实例-This procedure is, I prepared to call in the MFC environment Matlab function programming example
    2022-02-28 17:30:56下载
    积分:1
  • 数据挖掘经典FP
    数据挖掘经典FP-growth算法C源码实现-Data Mining the classical FP-growth algorithm C source code to achieve
    2022-02-20 03:43:10下载
    积分:1
  • 简单 calculatrice 德尔福
    une calculatrice 简单 démontre 评论 utilisé les foctions 德基地德尔福 pur débutant
    2022-04-30 14:40:16下载
    积分:1
  • 行尺度主元高斯消元由两部分组成,分解阶段和求解阶段...
    行尺度主元高斯消元法,算法由两部分组成,分解阶段和求解阶段-OK-scale principal component Gaussian elimination method, the algorithm consists of two parts, decomposition stage and the solution phase
    2023-03-24 14:00:04下载
    积分:1
  • 拉格朗-牛顿
    拉格朗-牛顿算法-LaGrand-Newton algorithm
    2022-01-23 10:20:33下载
    积分:1
  • C++红黑树的MFC实现桌面字典~~~~
    采用RB树的数据结构,采用mfc框架,界面仿照金山字典,实现 搜索,删除,添加,记忆功能。 在搜索的过程中最大化优化效率,使得时间最少,相比传统的字典树有它的优势!!!!
    2022-12-30 08:45:03下载
    积分:1
  • 基于OPENCV的实例,提供实例源代码,请下载
    基于opcv的实例,提供实例源码,欢迎下载-Based on opcv instance, provide examples of source code, please download the
    2023-08-15 16:00:03下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载