资源列表
aa
- 输入一个升序数组和一个整数,在数组中查找两个数使得他们的和恰为该整数-Enter an ascending array and an integer, so that they find two numbers in the array and just for the integer
POJ-1890-Switching-Channels
- POJ 1890 Switching Channels. 搜索算法的练习题。-POJ 1890 Switching Channels. Exercises of the search algorithm.
readmem.zip
- 内存读取操作示例源代码
atoi
- atoi函数的实现,注意溢出和 ( -01 256)类似字符串-realize atoi function, attention overflow and (-01,256) similar string
AR(1)模型的估计参数
- AR(1)模型的估计参数
编写一个函数单词逆序存放
- 编写一个函数InverseByWord(char *sentence), 实现一个英文句子按单词逆序存放的功能,并给出测试程序。(50分) 如:This is an interesting programme. 逆序后变为:.programme interesting an is This-Write a function InverseByWord (char* sentence), to achieve an English sentence by the word st
123
- 约瑟夫问题 编号为1,2,3,…,n的n个人按顺序针方向围坐一张圆桌旁,每个人手中持有 一个密码(正整数)。首先输入一个正整数作为报数上限值m,然后,从第一个人开始按顺序针方向自1开始顺序报数,报到m的人离开桌子,并将他手中的密码作为新的m值,从顺序针方向的下一个就坐在桌旁的人开始重新从1报数,如此下去,直至所有人全部离开桌旁为止。-Joseph issues numbered 1,2,3, ..., n of the n individuals in accordance with t
suijikuaipai
- 随机快排的算法实现。。需要的下下来看看吧-Fast random row algorithm. . Need to look at it the next down. .
stingcombin
- 给定一个字符串,要求判断它是否能由其它两个字符串合并而成。当两个字符串合并成一个新的字符串时,新串的字符顺序必须与原串中的顺序相一致。 -Given a string, it is required to determine whether the merger by the other two strings. When two strings into a new string, the string of characters in the new order must be the
count_char
- 编写程序统计一个字符串"C++ is beginer s language"中单词的个数-Programming statistics and a string C++ is beginer' s language " in the word number
c
- c++冒泡排序#include \"stdio.h\" void sort() { int i,count=0,a[20] int k=20 printf(\"please input 20 defferent numbers?\\n\") for(i=0 i<20 i++) scanf(\" %d\\a\",&a[i]) while(count<20) { for(i=0 i<k i++)
algorithms
- 数据结构中几个常用的算法C++实现 数据结构中几个常用的算法C++实现-Of several commonly used data structures in C++ algorithm for data structure, several commonly used algorithms for C++ implementation