资源列表
1945_N_Queens_Question
- 在NXN格的国际象棋棋盘上摆放N个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。 第一行为一个整数T,表示有T组数据。 以下T行,每行有一个整数n(0<n<=11),如上所述。 对于每组数据输出一行,即问题的答案。 -In NXN chess board grid placing N queens on, it can not attack each other, that any two of the Queen can
1678_GG_Single_Day
- 今天需要大家帮gg一个忙,2009年11月11日是星期三,而这是他一个星期中课业最重的一天,一天10课时……gg想知道的是,N年后的Single Day还会是星期三吗?如果不是,又是星期几呢?N年后的gg,欢迎大家展开丰富的想象!(继续YY中,勿扰……) 输入共t+1行,第一行是一个整数t,表示共有t组数据。下面t行,每行一个int类型的正整数N(1<=t<=10^4,0<=N<=10^9)。 输出对应的星期数,星期一是1,星期二是2,……,星期日是7。-Toda
63969681BMP
- 对BMP图象格式进行解析,本工程在WinXP+VC6.0下编译运行成功。 BMP文件由文件头、位图信息头、颜色信息和图形数据四部分组成。 -Compile and run under WinXP+ VC6.0 success. BMP files from the file header, bitmap information header, color information and graphics data in four parts.
os
- forking the proceeses
ssmademo_2
- simulation for PN codes for CDMA
HuffmanCode
- 现在有篇文章,请用二进制前缀编码对文章中出现所有字符进行其编码,使编码后的文章总长最短。 多组输入,第一个正整数T表示组数。 每组第一行有一个正整数n,1≤n≤100000表示所用的字符种数。 接下来一行为n个正整数,表示每个字符在文章中出现的次数。 输出编码的最小长度-There are articles, please use the binary prefix code for the article appeared in the encoding of
matrixinvert
- Invert Matrix,higher speed and easier to read .You can add it to you program as a part with little effort.holp to help you
QAM
- QAM调制下信道容量的计算,字符错误概率和符号错误概率曲线-QAM modulation in the calculation of channel capacity, character error rate and symbol error probability curve
BinarySearchTree
- 用给定的数列构造一棵二叉排序树,并用广义表形式输出 输入数据共N+1行 第一行为一个整数N表示数据组数 第二至N+1行每行对应一组数据,共M+1个整数(M<10000) 每组数据以一个整数M开头,表示数列长度为M,后接长度为M的一组无序数列 输出共N行 每组数据对应一行输出 用广义表形式表示构造的二叉排序树,无任何多余空格和空行 它的通项公式为 前几项为 : 1, 2, 5, 14, 42, 132, 429,
SPI8347
- the spi driver for the PowerPC 8347
file11.12
- 简单的日志文件创建,模拟了GPRS流量计的用量记录-the simple log file implement
frequencyconverte
- 使用嵌入式系统的驱动程序来设计快速频率至电压转换器(FVC)的方法-Driver with embedded systems to design fast frequency to voltage converter (FVC) method
