码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
数据库中将null 替换成 0 或者其他文本
Oracle:可以用nvl(p1,p2) 该函数,将p1替换成p2, 但是请注意:p1,p2必须是同类型的,可以是数值number ,char ,date 比如不能nvl('jack',5)这样用,一个是char一个是number了 简单明了:nvl(null,0) 就可以解决了. ...
分类:数据库   时间:2015-04-17 23:37:02    阅读次数:247
[leetcode]Maximum Product Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array [2,3,-2,4], the contiguous subarray [2,3] has the largest produ...
分类:其他好文   时间:2015-04-17 22:23:08    阅读次数:170
Python学习
在业余时间学习一下跨平台代码python。下面是http://courses.ischool.berkeley.edu/i155/su13/schedule.htm下的例题代码。留作未来参考语法。1 #hw1_1.py2 x=input("Input the number of gallons of...
分类:编程语言   时间:2015-04-17 22:14:17    阅读次数:202
ZOJ-1239 Hanoi Tower Troubles Again!
链接:ZOJ1239Hanoi Tower Troubles Again!DescriptionPeople stopped moving discs from peg to peg after they know the number of steps needed to complete the...
分类:其他好文   时间:2015-04-17 21:55:36    阅读次数:173
LeetCode Max Points on a Line
题目如下:Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.再简单不过的一题了,懒得写解释直接上代码了。/** * Definition for a poi...
分类:其他好文   时间:2015-04-17 21:45:48    阅读次数:110
Buge's Fibonacci Number Problem
Buge's Fibonacci Number ProblemDescriptionsnowingsea is having Buge’s discrete mathematics lesson, Buge is now talking about the Fibonacci Number. As ...
分类:其他好文   时间:2015-04-17 21:42:26    阅读次数:112
QtGui.QInputDialog
TheQtGui.QInputDialogprovides a simple convenience dialog to get a single value from the user. The input value can be a string, a number or an item fr...
分类:其他好文   时间:2015-04-17 20:03:53    阅读次数:193
Linux编程动态库知识
====动态库说明====1.库名称格式: lib + the_name_of_library + .so + version_number exp:libc.so.62.ldconfig一般会创建soname,但不创建linker name(libname.so),后者一般安装库时创建3.暂时添加...
分类:系统相关   时间:2015-04-17 20:03:42    阅读次数:190
Count the Number of Feb 29
2015年编程之美资格赛有感
分类:其他好文   时间:2015-04-17 19:59:23    阅读次数:130
leetcode_136题——Single Number(哈希表hashtable,multiset)
#include//#include//#include#includeusing namespace std;/*这道题,直接采用multiset来做,就太简单了,没啥好说的,就是全导进去,然后count下就OK了,因为在set中查找都O(1)所以呢是线性的算法复杂度*/int singleNum...
分类:其他好文   时间:2015-04-17 17:51:20    阅读次数:176
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!