码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
Lintcode: Maximum Subarray III
Given an array of integers and a number k, find k non-overlapping subarrays which have the largest sum.The number in each subarray should be contiguou...
分类:其他好文   时间:2015-03-14 12:16:06    阅读次数:198
hdu1143 状态压缩dp 记忆化搜索写法
http://poj.org/problem?id=1143 Description Christine and Matt are playing an exciting game they just invented: the Number Game. The rules of this game are as follows.  The players take turns ch...
分类:其他好文   时间:2015-03-14 11:05:08    阅读次数:161
POJ 题目1236 Network of Schools(强联通)
Network of Schools Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 12015   Accepted: 4783 Description A number of schools are connected to a computer network. ...
分类:移动开发   时间:2015-03-14 11:02:47    阅读次数:176
leetcode -- Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [?2,1,?3,4,?1,2,1,?5,4], the contiguous subarray [4,?1,2,1]...
分类:其他好文   时间:2015-03-14 10:59:57    阅读次数:122
hdu 5179
beautiful number Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 376    Accepted Submission(s): 223 Problem Description Let A=∑ni=1...
分类:其他好文   时间:2015-03-14 09:44:02    阅读次数:3449
Leetcode: Number of 1 Bits
Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight).For example, the 32-bit i...
分类:其他好文   时间:2015-03-14 06:14:08    阅读次数:165
Hibernate(七)一对一映射
一、创建数据库表--班级表create table grade( gid number primary key, --班级ID gname varchar2(50), --班级名称 gde...
分类:Web程序   时间:2015-03-14 06:12:53    阅读次数:210
Lintcode: Maximum Subarray II
Given an array of integers, find two non-overlapping subarrays which have the largest sum.The number in each subarray should be contiguous.Return the ...
分类:其他好文   时间:2015-03-14 06:10:35    阅读次数:198
非正式介绍Python(二)
3.1.3. ListsPython knows a number of compound data types, used to group together other values. The most versatile is the list, which can be written as...
分类:编程语言   时间:2015-03-14 01:00:17    阅读次数:234
[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 th...
分类:其他好文   时间:2015-03-13 23:49:17    阅读次数:249
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!