Did anyone ask for an integer version of sqrt? Following is an implementation I found and adapted. Hope it is useful for somebody.
标签: implementation Following adapted integer
上传时间: 2013-12-24
上传用户:阿四AIR
Input The input consists of two lines. The first line contains two integers n and k which are the lengths of the array and the sliding window. There are n integers in the second line. Output There are two lines in the output. The first line gives the minimum values in the window at each position, from left to right, respectively. The second line gives the maximum values. Sample Input 8 3 1 3 -1 -3 5 3 6 7 Sample Output -1 -3 -3 -3 3 3 3 3 5 5 6 7
上传时间: 2014-12-21
上传用户:hongmo
素数筛选b算法源程序!输出一个数内所有的素数,此算法是上一算法的优化~主要用VC实现
上传时间: 2015-10-28
上传用户:无聊来刷下
Communication and Diagnostic Protocol of Control System on Heavy-duty Vehicle 你可以了解各种和汽车通讯的协议
标签: Communication Diagnostic Heavy-duty Protocol
上传时间: 2015-10-28
上传用户:stampede
An Evaluation of Visual Speech Features for the Tasks of Speech and Speaker Recognition.
标签: Speech Recognition Evaluation Features
上传时间: 2013-12-27
上传用户:hebmuljb
1.大型稀疏线性方程组的求解 A*X=b 。 2. 一维数组冒泡法排序算法 4.矩阵求逆 5. 改进的牛顿算法——弦割法
上传时间: 2015-10-29
上传用户:asddsd
这是一个简单的用B/S写的留言板小程序,用jsp和javaBean实现的
上传时间: 2013-12-29
上传用户:yulg
Note that only the PORT is provided and it is assumed that you have the rest of the source for µ C/OS-II from the book or the upgrade.
上传时间: 2013-11-25
上传用户:er1219
B+树算法:从磁盘读取数据文件,可以进行插入,删除操作,两种方式打印出元素信息。树型打印和依关键字大小打印。
上传时间: 2015-10-31
上传用户:silenthink
该系统是基于J2EE框架的一个B/S的网上书店电子商务系统。采用B/S模式为企业提供强大的电子商务平台。实现对企业供产销系统的全面信息监控,同时提高整个网上书店的信息系统的安全性。通过WEB服务器使客户通过浏览器与服务器进行信息沟通。通过JDBC技术实现与数据库的动态挂接,提供的信息的鲜度,采用MVC模式提供系统的灵活性和可移植性,实现对网上书店的信息系统的全局信息监控和分析。运用O/R Mapping理论,使用Mysql数据库。本系统主要采用四个层次:视图层、业务逻辑层、ORM层,数据库层。含商品发布及管理子系统、订单子系统合物流子系统、以及综合管理系统。
上传时间: 2015-11-01
上传用户:ryb