资源列表
main
- 电梯的楼层显示,运用c++语言 这是主程序 将会进行显示楼层的数目-Elevator floor display, using c++ language which is the main program will be to display the number of floors
DepthFirstSearch-8Queens
- 回溯法解决八皇后问题,深度优先搜索的一种形式-Back, the eight queens problem, depth-first search
fifo_read
- fifo_read管道读取信息,和管道写信息配合使用-fifo_read read the information pipeline, and pipelines used in conjunction with written information
reverselist
- 这段小程序可以实现单向链表的反向操作,凑够20个字。-This program can be the reverse of the one-way linked list.
grdclip
- AML语言,基于arcinfo的一种脚本语言,功能强大,这是栅格数据裁剪的代码-AML language, a scr ipting language based on arcinfo powerful, this is the cutting of the code of raster data
BKDRHash
- 常用字符串哈希函数有BKDRHash,APHash,DJBHash,JSHash,RSHash,SDBMHash,PJWHash,ELFHash等等。-The common string hash function BKDRHash, APHash, DJBHash, JSHash, RSHash, SDBMHash, PJWHash, ELFHash, etc..
select-sort
- 数据结构排序算法之选择排序法,此算法用C++编程语言书写 特别适合初学数据结构的人学习。-Selection Sort sorting algorithm data structure, this algorithm using C++ written in a programming language particularly suitable for beginner data structure of human learning
building_footprint
- 对于城市中几座建筑外形,给出这些建筑的二维轮廓-For several architectural features in the city, these buildings are given a two-dimensional contour
Cpp6
- 设有n个人站成一排,从左向右的编号分别为1~n,现在从左往右报数“1,2,1,2……”,数到“1”的人出列,数到“2”的立即站到队伍的最右端。报数过程反复进行,直到n个人都出列为止。要求给出他们的出列顺序。 例如:n=8,初始序列:1,2,3,4,5,6,7,8 出队顺序为:1,3,5,7,2,6,4,8 -N has a personal stand in a row, left to right are numbered 1 ~ n, left to right
Sicily1021
- 中大Sicily1021:将圆圈中配对的两个数字(由用户给出)取出,看最后是否能全部取完-N couples are standing in a circle, numbered consecutively clockwise from 1 to 2N. Husband and wife do not always stand together. We remove the couples who stand together until the circle is empty or we ca
ZigZag-Conversion
- Zigzag:即循环对角线结构( 0 8 16 1 7 9 15 17 2 6 10 14 18 3 5 11 13 19 4 12 20 ) 向下循环:nRows 斜角线循环:nRows-2(减去首尾两个端点) 重复-The string PAYPALISHIRIN
yuesefuhuan
- 已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。通常解决这类问题时我们把编号从0~n-1,最后[1] 结果+1即为原问题的解。-Known n individuals (identified by serial number 1,2,3 ... n, respectively) were sitting around a round tabl