#include<iom16v.h> #include<macros.h> #define uint unsigned int #define uchar unsigned char uint a,b,c,d=0; void delay(c) { for for(a=0;a<c;a++) for(b=0;b<12;b++); }; uchar tab[]={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,
上传时间: 2013-10-21
上传用户:13788529953
大纲1 公司简介2 LAY OUT图3 设备清单4 设备规格5 维护6 贸易条件7 建议
上传时间: 2013-10-19
上传用户:wawjj
TGPS 控件是利用串行端口连接全球卫星定位系统设备 ( GPS ) 取得地理位置信息的控件 ( 1.04 版,Delphi 3.0/4.0/5.0/6.0 版适用 ),作者 : Lars Arvidsson。
上传时间: 2014-11-22
上传用户:manlian
题目:利用条件运算符的嵌套来完成此题:学习成绩>=90分的同学用A表示,60-89分之间的用B表示,60分以下的用C表示。 1.程序分析:(a>b)?a:b这是条件运算符的基本例子。
上传时间: 2015-01-08
上传用户:lifangyuan12
RSA算法 :首先, 找出三个数, p, q, r, 其中 p, q 是两个相异的质数, r 是与 (p-1)(q-1) 互质的数...... p, q, r 这三个数便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 这个 m 一定存在, 因为 r 与 (p-1)(q-1) 互质, 用辗转相除法就可以得到了..... 再来, 计算 n = pq....... m, n 这两个数便是 public_key ,编码过程是, 若资料为 a, 将其看成是一个大整数, 假设 a < n.... 如果 a >= n 的话, 就将 a 表成 s 进位 (s
标签: person_key RSA 算法
上传时间: 2013-12-14
上传用户:zhuyibin
/*本程序用于词法分析:从DOS界面输入一行的C语句,并以#号结尾(注意必须以这个为结束标志,否则出错),要求输出对应的单词的种类码和该类中的 内码。其中,关键字种类为1,分界符种类为2,算术运算符、关系运算符、常数、标识符分别为3、4、5、6。
上传时间: 2014-01-10
上传用户:aa17807091
适用delphi4,5,6 数据加密控件
标签: delphi4
上传时间: 2015-05-03
上传用户:小儒尼尼奥
可以识别输入的算术表达式并计算机结果,支持+、-、*、/四则运算及嵌套的(),比如4*3+5*((16+8)/2-5)。 利用后缀表达式计算。
上传时间: 2014-06-30
上传用户:lhc9102
源代码\用动态规划算法计算序列关系个数 用关系"<"和"="将3个数a,b,c依次序排列时,有13种不同的序列关系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要将n个数依序列,设计一个动态规划算法,计算出有多少种不同的序列关系, 要求算法只占用O(n),只耗时O(n*n).
上传时间: 2013-12-26
上传用户:siguazgb
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition
标签: government streamline important alphabet
上传时间: 2015-06-09
上传用户:weixiao99