Welcome![Sign In][Sign Up]
Location:
Search - MaxNum

Search list

[Other resourceneipaixu

Description: [问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构] 待排序记录顺序存储。 [算法的基本思想] 快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。 #include <iostream> using namespace std #define MAXNUM 100//设文件的最长可能长度 void sort(int* keys, const int len)//排序 -[Problem Description] N keyword to the integer sequence the entire record. keyword so that all non-negative Records with the keyword for the negative record, at least require the use of the additional space and time complexity of the algorithm is O (N) [imported] to be sort record number, The value of the keyword. [Output] keyword separate from the pluses and minuses are several former [storage structure] scheduling records to be stored sequence. [Algorithm for the basic idea] quick sort algorithm each time a record for any keyword as a standard, The remaining records will be divided into two groups, N-keyword integral to the entire sequence record. keyword so that all non-negative Records with the keyword for the record before negative. # Include
Platform: | Size: 7602 | Author: Demonic | Hits:

[Other resourceMAXnum

Description: 大整数乘法 本程序中大整数由用户决定 并且算法复杂度相对叫小 有很好的可读性
Platform: | Size: 2070 | Author: 张军 | Hits:

[Data structsneipaixu

Description: [问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构] 待排序记录顺序存储。 [算法的基本思想] 快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。 #include <iostream> using namespace std #define MAXNUM 100//设文件的最长可能长度 void sort(int* keys, const int len)//排序 -[Problem Description] N keyword to the integer sequence the entire record. keyword so that all non-negative Records with the keyword for the negative record, at least require the use of the additional space and time complexity of the algorithm is O (N) [imported] to be sort record number, The value of the keyword. [Output] keyword separate from the pluses and minuses are several former [storage structure] scheduling records to be stored sequence. [Algorithm for the basic idea] quick sort algorithm each time a record for any keyword as a standard, The remaining records will be divided into two groups, N-keyword integral to the entire sequence record. keyword so that all non-negative Records with the keyword for the record before negative.# Include
Platform: | Size: 7168 | Author: Demonic | Hits:

[Data structsMAXnum

Description: 大整数乘法 本程序中大整数由用户决定 并且算法复杂度相对叫小 有很好的可读性-Large integer multiplication of the process large integer decision by the user and the algorithm complexity relative叫小have a good readability
Platform: | Size: 2048 | Author: 张军 | Hits:

[WEB CodeSapload_for_asp

Description: v2.1更新内容: 1、取消大小写敏感检测(此举动产生一定安全隐患,请服务端上传脚本对上传文件做安全过滤)。 2、加入单选、批量模式转换,maxNum=1的时候自动转换为单选模式。 3、加入自定义文件域名称“fileName”,此参数可选默认是Filedata。 4、加入上传取消功能,允许在上传中主动取消上传动作。 5、修改文件浏览窗口,显示允许上传的后缀名称。 6、加入上传进度百分比文字提示。-v2.1 update: 1, the cancellation case sensitive detection of (this act a certain security risk, please upload the script on the server to upload files to do security filtering). 2, add the radio, batch mode conversion, maxNum = 1 when the model is automatically converted to the radio. 3, by adding custom file domain name "fileName", this parameter is optional default Filedata. 4, adding upload cancel the function, allowing the initiative to cancel the upload upload action. 5, modify the file browser window that displays allows you to upload the suffix name. 6, by adding the percentage of text prompts upload progress.
Platform: | Size: 44032 | Author: 陈先生 | Hits:

[WEB Codesapload

Description: 详细说明:v2.1更新内容: 1、取消大小写敏感检测(此举动产生一定安全隐患,请服务端上传脚本对上传文件做安全过滤)。 2、加入单选、批量模式转换,maxNum=1的时候自动转换为单选模式。 3、加入自定义文件域名称“fileName”,此参数可选默认是Filedata。 4、加入上传取消功能,允许在上传中主动取消上传动作。 5、修改文件浏览窗口,显示允许上传的后缀名称。 6、加入上传进度百分比文字提示。-Details: v2.1 Update: 1, cancel case sensitive detection (this act a certain security risk, please upload the script on the server to upload files to do security filtering). 2, add the radio, batch mode conversion, maxNum = 1 when the model is automatically converted to the radio. 3, by adding custom file domain name " fileName" , this parameter is optional default Filedata. 4, adding upload cancel the function, allowing the initiative to cancel the upload upload action. 5, modify the file browser window that displays allows you to upload the suffix name. 6, by adding the percentage of text prompts upload progress.
Platform: | Size: 764928 | Author: 龚维军 | Hits:

[Othermystrcat---identical-

Description: 编写函数mystrcat,实现和strcat完全相同的功能 数据要求 问题中的常量:#define MAXNUM 200 /*定义数组的最大长度*/ 问题的输入:char str1 /*字符串1,初始的字符串*/;char str2 /*字符串2*,要连接的字符串/ 问题的输出:char str1 /*字符串1,最终输出的字符串*/ -Write a function to achieve mystrcat, and strcat identical function Data requirements Problems in# constant: define MAXNUM 200/* define array of maximum length* / The problem of input: char STR1 /* string1, initial string* / /* char STR2* 2to connect string, the string / The problem of output: char STR1 /* string1, the final output strings* /
Platform: | Size: 10240 | Author: 霍佳骥 | Hits:

[Othermaxnum

Description: c++编写,判断给出数据哪个为最大数,适合入门级借鉴-c++ written judgment given data which is the maximum number for entry-level draw
Platform: | Size: 119808 | Author: 杨杨 | Hits:

[matlabSimplexMethod

Description: 单纯形法求函数极小值, fun: 待求的函数 x0: x初值 step0: 初始步长 res:函数fun精度设置,最近两次的fmax和fmin之差小于该值就返回 maxnum: 最大迭代次数-A Simplex Method for Function Minimization
Platform: | Size: 2048 | Author: jxiangj2012 | Hits:

[SCMDA正弦波三角波输出测试51

Description: 通过改变单片机的DA输出电压,可以得到各种各样的电压波形输出,下面介绍产生正弦波形需送DA的数据是如何计算的。 首先既然是正弦波,那么就要确定要输出一个周期正弦波的采样点数point,即由多少点组成了一周期的正弦波,还要知道单片机输出DA的数字值maxnum是多少,比如 8位DA,maxnum=256。10位DA,maxnum=1024。 知道以上两个值后,就开始计算需要得到的正弦波DA数据了,我设置一个正弦波由61个点组成,所选DA最大数字输入值为1024,那么我的正弦波数据数组就有61个数据,即sin_tab[61],也就是把一个正弦波360度,分成了61份,那么每份就是360÷61=5.901度,这样就可以计算出61点中每个点对应的角度值jiaodu,有了角度值就可以算出来角度对应的正弦值,利用正弦值和输出DA的数字值maxnum,就可以计算出对应DA输入的数值了。 在51单片机运行了以下函数,DA输出波形完美,验证产生的DA数据无误。(By changing the DA output voltage of the microcontroller, we can get all kinds of voltage waveform output. The following describes how to generate the sinusoidal waveform and how to calculate the data needed to send DA. First, since it is a sine wave, so it is necessary to determine a cycle of sine wave output from point sampling points, how many points form a cycle of a sine wave, but also know the output of DA singlechip digital value number is maxnum, for example 8 bit DA, maxnum=256. 10 bit DA, maxnum=1024. Sin_tab= (maxnum/2) *sin (x) + (maxnum/2); / / I x on behalf of a point for a corresponding angle radian angle radian = * (n /180); / / DA (maxnum/2) at the)
Platform: | Size: 72704 | Author: 创客1992 | Hits:

[Windows DevelopMaxNum

Description: 最优匹配度,朋友圈算法,类似校内网好友关系(Optimal matching degree, circle of friends algorithm)
Platform: | Size: 40960 | Author: 小黑风行 | Hits:

CodeBus www.codebus.net