码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
[转]C/C++关于全局变量和局部变量初始化与不初始化的区别
原文链接:http://www.kingofcoders.com/viewNews.php?type=newsCpp&id=189&number=4836955386 在C语言里,全局变量如果不初始化的话,默认为0,也就是说在全局空间里:int x =0; 跟 int x; 的效果看起来是一样的。但...
分类:编程语言   时间:2014-09-18 18:26:14    阅读次数:182
PLSql 查询结果让数字显示为字符
有时候某些地段太长的话就会默认显示为数字,例如ID字段过长就会显示为4.34E23的形式,遇到这样情况如何还原id字段的本身形式呢?Tools-->preference-->SQL Window右边把Number fields to _char就0k了
分类:数据库   时间:2014-09-18 18:14:44    阅读次数:551
理解javascript原型和作用域系列(5)——instanceof
又介绍一个老朋友——instanceof。对于值类型,你可以通过typeof判断,string/number/boolean都很清楚,但是typeof在判断到引用类型的时候,返回值只有object/function,你不知道它到底是一个object对象,还是数组,还是new Number等等。这个时...
分类:编程语言   时间:2014-09-18 18:13:24    阅读次数:174
oracle 自动添加序号列 排序
select HSL.sortno, HSL.B, HSL.A, row_number() over(order by sortno desc) xh from (select t.B, t.A, case when t.B= '股份公司' then 9999999 else t.A end as....
分类:数据库   时间:2014-09-18 18:10:24    阅读次数:216
hdu 2852(树状数组+二分)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2852 KiKi's K-Number Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2668    Accepted Submi...
分类:其他好文   时间:2014-09-18 16:38:34    阅读次数:194
javascript中false值及其常见比较运算
1. ture或者false的值if判断中会被隐式转换成false的boolean类型的值有 false, 0, undefined , null , '', NaN(not a number)除此外 其他的值会被认为true, 包括 '0', 'false', 空function, 空数组([])...
分类:编程语言   时间:2014-09-18 12:50:43    阅读次数:204
ZigZag-LeetCode
题目:The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font...
分类:其他好文   时间:2014-09-17 23:08:22    阅读次数:291
Leetcode_num1_Single Number
好久没有做题啦,从今天开始刷Leetcode的题,希望坚持的时间能长一点。先从ac率最高的Single Number开始吧。 题目: Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should hav...
分类:其他好文   时间:2014-09-17 20:30:53    阅读次数:254
详解ebs接口之客户配置文件导入(一)
DECLARE l_rec_profile_t hz_customer_profile_v2pub.customer_profile_rec_type; l_rec_profile hz_customer_profile_v2pub.cust_profile_amt_rec_type; l_profile_amt_id NUMBER; l_profile_id...
分类:其他好文   时间:2014-09-17 20:28:32    阅读次数:399
Leetcode_num2_Maximum Depth of Binary Tree
题目: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. AC率第二高的题啦,二项树的最长路径。初看此题...
分类:其他好文   时间:2014-09-17 20:26:52    阅读次数:162
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!