文件包括RSA算法原程序及详细注释。可以实现使用1024位以上大素数进行加解密。其中包括大整数的加、减、乘、除、模幂运算,求逆元运算,以及大素数的判定等算法。稍做扩展即可在实际中应用。
上传时间: 2014-01-18
上传用户:水口鸿胜电器
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
标签: converts Toolbox complex logical
上传时间: 2016-02-12
上传用户:a673761058
这是我在别人的工作基础上编写的生命游戏(life game)演示程序,可以比较不同初始条件或繁衍条件产生的不同演化结果。 生命游戏是细胞自动机的一种,以模拟生命的某种繁衍过程。根据不同的生命繁衍条件,可以衍生出丰富多彩的群体动力学。该游戏曾经繁盛过一时,至今仍有很多爱好者。该模型在很多领域(如生物、物理等)都有实际的应用。 在这个生命游戏中,繁衍条件比较简单。有两个60x60的方框区域,开始时每一个格子里都生活着一个生命个体(用1表示)。然后这些个体按照下面的条件繁衍:首先计算每一个格子周围相邻生存者的个数;如果有3个相邻生存者,下一步这个格子将会有生存者(用黑色表示);如果有2个(右边方框的是1个),这个格子下一步的状态与上一步状态相同;其余的情况下,下一步这个格子将没有生存者(白色)。每一步计算所有的格子,共重复300步(开始6步按任意键执行,以观察开始的演化,后面的自动执行)。 该程序用Turbo C++ 3.0编译。这个游戏在《生物信息学》课上作为离散数学模型的演示程序。
上传时间: 2013-11-30
上传用户:sammi
本文主要介绍了一个自定义消息的添加过程,并且举了一个实际的应用例子来说明。很适合vc初学者学习参考
上传时间: 2014-01-23
上传用户:270189020
中国联通电子商务平台支付系统技术规范书 随着相关技术的发展和消费者消费习惯的改变,电子商务已经由前几年的商业炒作转变为实际的应用,世界范围内以及国内的电子商务业务量都在快速增长,而移动电子商务(手机、PDA等)所占的市场份额也越来越大。 中国联通作为国内业务种类最为齐全的电信运营商,有着完善的基础网络设施,包括覆盖全国的传输网和基于传输平台的ATM数据网以及165网,联通总部和各省的165网站,同时还拥有大量的移动用户,并且正在进行移动数据网的建设,所有这些都为电子商务的开展提供了有利的条件。 为更好的开展电子商务业务,中国联通决定建设电子商务平台,通过平台的建设可以为联通公司以及社会上其它开展电子商务业务的单位提供安全、支付、站点等支撑功能,减少电子商务业务开发所需要的工作量。
上传时间: 2013-12-20
上传用户:从此走出阴霾
程序涵盖了设计FIR滤器的各种方法, 包括最小二乘,切比雪夫插值和实际中应用比较广泛的多种法则!
上传时间: 2014-11-27
上传用户:xiaohuanhuan
在Quartus中实现256的RAM,经过实际的应用验证,没有问题的
上传时间: 2013-12-27
上传用户:脚趾头
用VC编写的完整采样程序,已经在实际中应用。
上传时间: 2014-11-23
上传用户:gxrui1991
本文是结合摊铺机利用GPRS无线网络进行远程 故障诊断研究。路面摊铺机械一般都是工作地点比较 分散,工作强度大,时间长,工作环境恶劣,摊铺机械 又是一套十分复杂的路面机械,所以故障率相对较 高.一旦出问题工程技术人员无法在第一时间内赶到 并解决.而现场工作人员一般也无法对异样参数进行 判断,对于工程项目来说损失无疑将是巨大的。如何 能让故障在第一时间就能被诊断,从而避免更大的损 失成为了设计该系统的关键。 考虑实际工程应用的情况,最方
上传时间: 2013-12-27
上传用户:磊子226