void insert_sort(int *a,int n) { if(n==1) return insert_sort(a,n-1) int temp=a[n-1] for(int i=n-2 i>=0 i--) { if(temp<a[i]) a[i+1]=a[i] else break } a[i+1]=temp }
资源简介:void insert_sort(int *a,int n) { if(n==1) return insert_sort(a,n-1) int temp=a[n-1] for(int i=n-2 i>=0 i--) { if(temp<a[i]) a[i+1]=a[i] else break } a[i+1]=temp }
上传时间: 2014-01-22
上传用户:banyou
资源简介:1.功能 用全选主元高斯消去法计算n阶方阵A所对应的行列式的值(C语言) 2.参数说明 double a[n][n] : 存方阵A的元素,返回时被破坏 int n : 方阵A的阶数 double sdet() : 函数返回行列式的值 3.文件说明 sdet.c为函数程序 sdet0.c为主函数程序
上传时间: 2014-01-14
上传用户:rocwangdp
资源简介:显示ARP缓存信息.A R P高效运行的关键是由于每个主机上都有一个A R P高速缓存。这个高速缓存存放了最 近I n t e r n e t地址到硬件地址之间的映射记录。高速缓存中每一项的生存时间一般为2 0分钟,起 始时间从被创建时开始算起。
上传时间: 2013-12-27
上传用户:siguazgb
资源简介:12位 D/A DAC1230转换子函数 子函数名:da_zh(int a) 参考电压:5.000v
上传时间: 2014-01-11
上传用户:dapangxie
资源简介:%调用格式 =trapez_g( f_name ,a,b,n) %f_name: 被积函数的文件名f(x) % a:x的上限 % b:x的下限 % 部分区间数 %实例:trapez_g( sin ,0,pi,20)
上传时间: 2013-12-19
上传用户:cjl42111
资源简介:两台处理机A 和B处理n个作业。设第i个作业交给机器 A 处理时需要时间ai,若由机器B 来处理,则需要时间bi。由于各作 业的特点和机器的性能关系,很可能对于某些i,有ai >=bi,而对于 某些j,j!=i,有aj<bj。既不能将一个作业分开由两台机器处理,也没 有...
上传时间: 2014-01-14
上传用户:独孤求源
资源简介:int getDivisor(int iNum) { int i = 1 int sum = 0 if (0 == iNum) { return 1 } while (i <= iNum / 2) { if (0 == iNum % i) { sum++ } i++ } return (sum+1) }
上传时间: 2013-12-17
上传用户:frank1234
资源简介:奇数N 阶魔方阵问题: 奇数N 阶魔方阵的构造规则如下: 1、在第一行的正中间填入1; 2、如果左上角能够移动,则往左上角填入后继的数;如果左上角不 能移动,则顺移到该列最下方左边的一列中最靠近该列的位置; 3、如果左上角不能移动,同时在该列位置的最下...
上传时间: 2015-02-14
上传用户:lyy1234
资源简介:使用的是API编程,可格式化、校验和读写特殊扇区。可用作Windows下的磁盘加密。本函数还有以下两个缺点以待改进: 1.本函数还只能读能读 A: 和 B:,即只能对软盘操作 2.不能改变磁盘扇区大小,只能是标准的 512 个字节。 参数说明: command 操作: 0 重置磁盘 2 ...
上传时间: 2013-12-05
上传用户:moerwang
资源简介:Tt s a good book ,if you want to learn java good
上传时间: 2013-12-10
上传用户:qwe1234
资源简介:排列问题 M个1,N个0的排列(高效率版) 排列数为:c(m+n,n) 对n个0,m个1,我的想法是这样的: 每个排列可以分三段: 全0列,全1列, 子问题列 设各段长:r,s,t .子问题列就是 (n,m) = (n-r,m-s),其中0<=r<=n,s=1
上传时间: 2015-11-11
上传用户:1051290259
资源简介:有m¥n(m£100,n£100)个金币在桌面上排成一个m行n列的金币阵列。每一枚金 币或正面朝上或背面朝上。用数字表示金币状态,0表示金币正面朝上,1 表示背面朝上。 金币阵列游戏的规则是: (1)每次可将任一行金币翻过来放在原来的位置上; (2)每次可...
上传时间: 2015-12-13
上传用户:chenxichenyue
资源简介:this document is about probabilistic database techniques and applications it is a good tutorial if you are interested in this area
上传时间: 2013-12-29
上传用户:ddddddos
资源简介:计算n阶Guass节点值及其对应的权重值。 输入n,输出bp,wf分别为Guass节点值和对应的权重
上传时间: 2016-04-07
上传用户:bjgaofei
资源简介:有m´ n(m <=100,n <= 100)个金币在桌面上排成一个m行n 列的金币阵列。每一枚金 币或正面朝上或背面朝上。用数字表示金币状态,0表示金币正面朝上,1 表示背面朝上。 金币阵列游戏的规则是: (1)每次可将任一行金币翻过来放在原来的位置上; (2)...
上传时间: 2014-12-08
上传用户:阿四AIR
资源简介:Ch03 Ex16 [Ch03 Ex16] 假设如题3.1所述火车调度站的入口处有n节硬席或软席车厢(分别以H和S表示) 等待调度,试编写算法,输出对这n节车厢进行调度的操作(即入栈或出栈操作)序列,以使用 所有的软席车厢都被调整到硬席车厢之前。 串。
上传时间: 2016-06-20
上传用户:fredguo
资源简介:cskmeans 聚类算法的一种 1. 分裂法(partitioning methods):给定一个有N个元组或者纪录的数据集,分裂法将构造K个分组,每一个分组就代表一个聚类,K<N。而且这K个分组满足下列条件:(1) 每一个分组至少包含一个数据纪录;(2)每一个数据纪录属于且仅...
上传时间: 2014-01-16
上传用户:songyue1991
资源简介:n*n的方砖最小要几块边长小于n的方砖才能铺满,用动态规划的角度解决此问题
上传时间: 2014-01-14
上传用户:zhaoq123
资源简介:N阶乘的 运算。可实现 50一下数字的 N阶乘运算 。
上传时间: 2013-12-12
上传用户:003030
资源简介:1. 下列说法正确的是 ( ) A. Java语言不区分大小写 B. Java程序以类为基本单位 C. JVM为Java虚拟机JVM的英文缩写 D. 运行Java程序需要先安装JDK 2. 下列说法中错误的是 ( ) A. Java语言是编译执行的 B. Java中使用了多进程技术 C. Java的单...
上传时间: 2017-01-04
上传用户:netwolf
资源简介:设∑={α1, α2…… αn }是n个互不相同的符号组成的符号集。 Lk={β1β2…βk | βiЄ ∑,1≤i≤k}是∑中字符组成的长度为k 的全体字符串。 S是Lk的子集,S是Lk的无分隔符字典是指对任意的S中元素a1a2…ak, b1b2…bk. {a2a3…akb1, a3a4…akb1b2,...
上传时间: 2013-12-26
上传用户:waitingfy
资源简介:c++ Ngô n ngữ C cho vi đ iề u khiể n Các tài liệ u tham khả o, ebook. Programming Microcontrollers in C (Ted Van Sickle) C Programming for Microcontrollers (Joe Pardue SmileyMicros.com ) Programming ...
上传时间: 2017-07-29
上传用户:坏坏的华仔
资源简介:MfcCDDB v1.11 A freeware MFC class to support access to CDDB servers Welcome to MfcCDDB, a collection of freeware MFC classes to support access to the Compact Disc DataBases on the internet .
上传时间: 2015-03-13
上传用户:mikesering
资源简介:TOYFDTD1 is a stripped-down minimalist, 3D FDTD code demonstrating the basic tasks in implementing a simple 3D FDTD simulation. An idealized rectangular waveguide is modeled by treating the interior of the mesh as free space and enforcing P...
上传时间: 2013-12-21
上传用户:无聊来刷下
资源简介:股票交易模拟器 A Stock Exchange simulator to show timers and randon number generators work together. A cool simulation for anyone who might think about playing the stocks and spending money and get a general idea how the system works.
上传时间: 2015-04-13
上传用户:爱死爱死
资源简介:This book is a streaming medium pratical book, which give us how to build and implement a complete streaming system
上传时间: 2015-07-21
上传用户:wfeel
资源简介:C in a Nutshell is the perfect companion to K&R, and destined to be the most reached-for reference on your desk.
上传时间: 2015-07-26
上传用户:kr770906
资源简介:Following is a repost of the public domain make that I posted to net.sources a couple of months ago. I have fixed a few bugs, and added some more features, and the resulting changes amounted to about as much text as the whole program (he...
上传时间: 2015-09-01
上传用户:manlian
资源简介:This a collection of sample processes that provide examples ranging from how to use a particular BPEL activity such as pick or scope, to more complex examples of processes that invoke external Web services or show techniques such as hand...
上传时间: 2013-12-26
上传用户:sunjet
资源简介:A fast approach to the detection and correction of skew documentsIn this paper, a fast approach is proposed to detect and correct skew documents.
上传时间: 2015-09-19
上传用户:yiwen213