码迷,mamicode.com
首页 >  
搜索关键字:number of islands    ( 27069个结果
【分享】Oracle spool 用法小结
对于SPOOL数据的SQL,最好要自己定义格式,以方便程序直接导入,SQL语句如:selecttaskindex||'|'||commonindex||'|'||tasktype||'|'||to_number(to_char(sysdate,'YYYYMMDD'))from ssrv_sendsm...
分类:数据库   时间:2014-10-22 17:21:19    阅读次数:192
Python术语表
argument:实参 attribute:属性 base class:基本类 block:块 character:字符 class:类 comment:注释 complex number:复数 derived class:导出类 dictionary:字典 escape sequence:转义符 exception:异...
分类:编程语言   时间:2014-10-22 14:46:49    阅读次数:187
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...
分类:其他好文   时间:2014-10-22 14:29:45    阅读次数:171
C/C++产生随机数
C/C++如何产生随机数:这里要用到的是rand()函数, srand()函数,C语言/C++里没有自带的random(int number)函数。(1) 假设你仅仅要产生随机数而不须要设定范围的话,你仅仅要用rand()就能够了:rand()会返回一随机数值, 范围在0至RAND_MAX 间。RA...
分类:编程语言   时间:2014-10-22 14:10:24    阅读次数:243
Oracle 外键约束子表、父表
CREATE TABLE employees(     employee_id      NUMBER(6),     last_name        VARCHAR2(25) NOT NULL,     email            VARCHAR2(25),     salary           NUMBER(8,2),     commission_pct   NUMBE...
分类:数据库   时间:2014-10-22 11:02:31    阅读次数:275
Uva10689 Yet another Number Sequence ( 矩阵快速幂 )
Uva 10689 Yet another Number Sequence ( 矩阵快速幂 )题意:就是矩阵快速幂,没什么好说的。分析:其实还是斐波那契数列。只是最后对应的矩阵不是(1,1)是(a,b)了MOD = 1;for( int i = 0; i #include #include usin...
分类:其他好文   时间:2014-10-22 06:16:30    阅读次数:151
Codeforces Round #274 (Div. 2) E. Riding in a Lift(DP)
Imagine that you are in a building that has exactly n floors. You can move between the floors in a lift. Let's number the floors from bottom to top with integers from 1 to n. Now you're on the flo...
分类:其他好文   时间:2014-10-22 01:07:40    阅读次数:217
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 lea...
分类:其他好文   时间:2014-10-21 22:58:39    阅读次数:235
Single Number 数组中除了某个元素出现一次,其他都出现两次,找出这个元素
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:编程语言   时间:2014-10-21 22:53:06    阅读次数:316
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...
分类:其他好文   时间:2014-10-21 22:52:27    阅读次数:278
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!