资源列表
[书籍源码] sqrtforinteger
说明:Did anyone ask for an integer version of sqrt? Following is an implementation I found and adapted. Hope it is useful for somebody. -Did anyone ask for an integer version of sqr Following is not an implementation I found and ada pted. Hope it is u<夏志勋> 在 2025-07-18 上传 | 大小:1kb | 下载:0
[中间件编程] programtimecounter
说明:Unix下有time程序,可以统计程序的时间,Windows下的time没这个功能,写了一个 凑合着用 -time under Unix procedures, statistical procedures, Windows of the time there was no such function was made to use a makeshift<夏志勋> 在 2025-07-18 上传 | 大小:1kb | 下载:0
[中间件编程] transfer_char_to_key
说明:VC7.1中如果将char*作为key的话需要重载关于char*的hash_compare函数 可是我怎么都没法搞定 只好将char*转为int,反正指针地址总是唯一的,然后重载关于 int的hash_compare函数,使用时将char*强制转为int即可我想除了用STLPort外,应该还有更好的方法吧 -VC7.1 which will char* key as the need for heavy char* has h_compare function but I hap<夏志勋> 在 2025-07-18 上传 | 大小:1kb | 下载:0
[书籍源码] maxm
说明:给定由n 个整数(可能为负整数)组成的序列1 a , 2 a ,…, n a ,以及一个正整数m,要 求确定序列1 a , 2 a ,…, n a 的m 个不相交子段,使这m 个子段的总和达到最大。-given by n integers (with the possible negative integers) consisting of a sequence of 1, a 2, ..., n a, and a positive integer m, a request to deter<lxq> 在 2025-07-18 上传 | 大小:1kb | 下载:0
[书籍源码] 050320170dicorder
说明:n个元素{1,2, , n }有n!个不同的排列。将这n!个排列按字典序排列,并编号为0,1,…, n!-1。每个排列的编号为其字典序值。-n elements (1,2,<lxq> 在 2025-07-18 上传 | 大小:1kb | 下载:0
[书籍源码] 050320173repeat
说明:设R={ r , r , , rn 1 2 }是要进行排列的n个元素。其中元素n r , r , , r 1 2 可能相同。试设计 一个算法,列出R的所有不同排列。-Set R = (r, r,, rn 1 2<lxq> 在 2025-07-18 上传 | 大小:1kb | 下载:0
[汇编语言] systemtransformation
说明:2进制,16进制,10进制,8进制各个进制之间相互转换的程序。模块化设计,没两两进制转换可单独拿来用。-two 229, 229 16, 229 10, 229 all 229 8 between conversion process. Modular design, not on February 2 base for the conversion alone for use.<赵山> 在 2025-07-18 上传 | 大小:1kb | 下载:0