搜索资源列表
1800Decorations
- 该源码是一个问题的解决方法。问题是给你个长为L的串,串中可以出现n种字符,还给出m个子串,求有多少个长为n的只由这些字串组成的串。输入例子:4 5 6 ABB BCA BCD CAB CDD DDA 结果为2.而5 4 5 E D C B A的结果为625-source of the problem is a solution. The problem is that you have the head of the L series, the series can occur n ch
xuanjiefaqiuge
- 在C语言环境下做的一个用弦截法求楼的程序.-in C language environment to do with a string sheet for floor procedures.
TurboPascalAdvancedProgramming
- 第1章 TURBO PASCAL高级编程技术 1.1 单元及其使用 1.2 与汇编语言混合编程 1.3 与C语言混合编程 1.4 过程类型及其使用 1.5 中断例程的编写方法 1.6 动态数组及其使用 1.7 扩充内存(EMS)及其使用 1.8 扩展内存(XMS)及其使用 1.9 程序的标准数据作代码处理的方法 第2章 实用工具单元 2.1 屏幕输入与输出单元ACRT 2.2 字符串处理单元ASTR 2.3 磁盘
程序员考试
- 没有界面,用C写的小程序 问题如下:一家软件公司招聘了数十位程序员,分成若干部门。 进行一次考试,对各个部门的所有程序员进行考核。考试结束后评出了每个人的分数。现在需要知道,在每个部门内,成绩最好的程序员和成绩最差的程序员分别是谁。输入有N+1行,每一个有若干正整数。第一行只有一个正整数,代表公司的部门数目。剩余的N行,每一行代表了该部门所有程序员的得分。其中每行第一个数字k代表了该部门的程序员个数,该行剩下的有k对数据,每对数据包括一个程序员的姓名(一个字符串)和其得分(一个正整数)。【输出形
hyplas
- ************************************************************************ * * * * * THIS IS THE H Y P L A S 2.0 README FILE * * ----------------- * * * * HYPLAS is a finite element program for implicit small and large * * strain analisys of hyperelast
Combination
- 计算组合函数C(M, N),并逐条输出算出的组合及剩余元素,输出串的顺序稳定递增.用模板类实现,输入数据支持任意类型,效率很高.-Calculated combination function C (M, N), and calculated one by a combination of the output and the remaining elements of the order of stability of the output string of increases. With
chord
- 解非线性方程的双点弦截法的c程序,在Turbo C上可运行,内含源程序和一个例子以及实验报告。-Solution of nonlinear equations of two-point string c cut-off law procedures, the Turbo C can be run, including source code and an example and experimental report.
Perm_char
- A C++ function which returns the next lexicographic permutation of characters in a string.
ftoa.c
- This a fast floating point to string conversion function. Avoids the use of unsafe sprintf function. Works with float and double types. Correctly manages +inf, -inf, nnan (not a number).-This is a fast floating point to string conversion function. Av
String
- visuall c ++ string algorithm.
algorithm
- DES算法 DSA算法 ElGamal算法 Kohonen的SOFM(自组织特征映射) LAM(线性联想记忆)算法 LZW 压缩算法 MD5算法 PGP的安全性(一) PKCS #7 RSA算法 SSL是怎样工作的? Ternary Search Trees 产生组合的非递归算法 大整数的乘法 对LZW算法的改进及其在图象无损压缩中的应用 复数快速傅立叶变换算法 加密算法与密钥管理 经典加密算法在VB中的实现(1)- Rsa
Arithmetic
- 实现带()的字符串串四则运算 如(a+b*c-f/g)-(i+r+l)*m-n+x-Achieved with () string string arithmetic If (a+ b* c-f/g)- (i+ r+ l)* m-n+ x
bigintsz
- 大整数加法。任何C/C++固有类型的变量都无法保存它。最直观的想法是可以用一个字符串来保存它-Large integer addition. Any C/C++ intrinsic types of variables can not save it. The most intuitive idea is to save it with a string
string
- Code C and program to test strings and char variables.
calc_combination
- 计算组合函数C(M, N),并逐条输出算出的组合及剩余元素,输出串的顺序稳定递增.用模板类实现,输入数据支持任意类型,效率很高.-Calculated combination function C (M, N), and calculated one by a combination of the output and the remaining elements of the order of stability of the output string of increases. With
C
- 求质数,牛顿迭代法,最大字符串,输出钻石字符串,比较字符串的大小-prime,string,diamond string
c-P-P-algorithm-procedures
- 程序开始运行,要求用户首先输入两个大数。 然后进行菜单选择,进行相应的大数运算。 分析说明:由于大数的范围太大,不能直接定义为int或者float等, 所以我们的想法就是定义成字符串类型, 输入的数字一位一位地存入字符数组里面。 然后在运算的时候也是一位一位地运算。 这个过程就得从最基本的数学运算法则做起,不乏多种判断。 涉及到数组和指针的应用。最难的就是判断情 况还有应用数组和指针过程中出现的多种未可预知的错误, 还得通过逐步调试慢慢找出。我们先从加减
floatingpoint-calculation
- c语言模拟计算机浮点数计算 1、float stof(char *) //十进制字符串 --> float (如:"-1.0" --> 0xFF800000) 2、float fadd(float, float) 3、float fsub(float, float) 4、float fmul(float, float) 5、float fdiv(float, float) 6、void ftos(char *, float) //float --&g
1006
- 规则1:实现 +、-、X、/ 四则运算,数据仅包含整数,不考虑计算结果溢出的情况 规则2:程序仅需要实现类似"a + b * c / d - e" 这种类型字符串的计算,式子中操作符的个数不超过10个。其他复杂情况不考虑。 例子1: 输入: 1 + 2 输出: 3 输入: 1 + 2 * 3 - 4 / 2 输出: 5-Rule 1: realize+,-X,/arithmetic, data contain only integer, don t consider t
8-classical-algorithm-c-language
- 1.实现将输入的string字符串反序输出。 2.一个数如果恰好等于它的因子之和,这个数就称为"完数"。例如6 = 1+2+3找出10000以内的所有完数。 3.下面程序的功能是将一个4×4的数组进行逆时针旋转90度后输出,要求原始数组的数据随机输入,新数组以4行4列的方式输出 4.编程打印杨辉三角。 5.实现将输入的字符串反序输出 6.实现字符串拷贝函数strcopy(char*src,char* dest) 7.求近似Pi值。可以用公式(如:pi/2 = 1+1/3+