码迷,mamicode.com
首页 >  
搜索关键字:ugly number    ( 27156个结果
Understanding Linux /proc/cpuinfo
http://www.richweb.com/cpu_infoA hyperthreaded processor has the same number of function units as an older, non-hyperthreaded processor. It just has t...
分类:系统相关   时间:2014-07-27 22:56:19    阅读次数:518
CodeForces250B——Restoring IPv6(字符串处理)
Restoring IPv6DescriptionAn IPv6-address is a 128-bit number. For convenience, this number is recorded in blocks of 16 bits in hexadecimal record, the...
分类:其他好文   时间:2014-07-27 22:53:39    阅读次数:301
Problem E CodeForces 237C
DescriptionYou've decided to carry out a survey in the theory of prime numbers. Let us remind you that a prime number is a positive integer that has e...
分类:其他好文   时间:2014-07-27 22:51:29    阅读次数:288
CodeForces 237C Primes on Interval
DescriptionYou've decided to carry out a survey in the theory of prime numbers. Let us remind you that a prime number is a positive integer that has e...
分类:其他好文   时间:2014-07-27 22:31:39    阅读次数:809
HDU 1394 Minimum Inversion Number
//============================================================================// Name : B.cpp// Author : L_Ecry// Version :// Copyrigh...
分类:其他好文   时间:2014-07-27 22:20:39    阅读次数:167
实现sqrt()函数
求一个正数N的开方, 并且可以指定精度, 要求不能用库函数sqrt方法一:如下所示,先求sqrt(N)的整数部分,再求小数点后1位,2位 ... ...方法二:牛顿迭代法,根据公式 Ai+1 = (Ai+number/Ai)/2 ,其中Ai 的初始值,即A1任取,如1,2,3 ...// 求一个正数...
分类:其他好文   时间:2014-07-27 22:00:29    阅读次数:251
函数知识要点
函数函数是具有特定功能的代码块,函数使得程序更加模块化,这样便于人们阅读,修改,完善程序1.函数的定义:返回值类型函数名(形式参数){声明语句}无参函数举例voidhello()//无参数无返回值{printf(“HelloWorld");}intpeopleCount()//无参数有返回值{return33;}有参函数举例intmax..
分类:其他好文   时间:2014-07-27 14:19:58    阅读次数:342
开机流程
电脑开机流程:按下电源键后,固化在BIOS中的程序首先对系统硬件进行自检,自检通过后,就读取CMOS中的系统启动序列参数,根据序列找到存储介质(硬盘、光盘、U盘等)上的MBR,并将控制权交给MBR中的引导程序,由MBR主引导记录加载系统内核,之后内核获得控制权装载操作系统。M..
分类:其他好文   时间:2014-07-27 12:08:13    阅读次数:229
通过Gradle来取的Jenkins的build
现在很多公司都都过Jenkins来管理apk,代码提交后在jenkins上生成build 我们可以这样来取到jenkins的提交版本号 Jenkins在编译job的时候,有个内置的变量BUILD_NUMBER groovy有一个非常有用的函数: /** * Returns an unmodifiable map of all available environment v...
分类:其他好文   时间:2014-07-27 11:52:03    阅读次数:173
Javascript 的逻辑运算符的使用技巧和其内在逻辑
Javascript是一个弱类型的语言,也体现在了对表达式的逻辑计算上。对于Java等强类型的语言,进行逻辑判断时,如 if(condition) 中condition所表示的表达式,其结果必须是返回的为true或false的表达式,而javascript 则不然,它可以允许condition是 Number,String,或者Object对象,也可以是undefined 或null的变量,在这方面体现了很大的灵活性。JavaScript引擎会对if(condition) 中condition 的值先进行T...
分类:编程语言   时间:2014-07-27 11:34:22    阅读次数:272
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!