码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
【leetcode】Maximum Product of Word Lengths
Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assum...
分类:其他好文   时间:2016-01-15 15:54:50    阅读次数:152
Oracle安装报错:SGA size can not be greater than maximum shared memeory segment size
安装数据的时候报错: 查看操作系统参数设置: [root@single1 ~]# vi /etc/sysctl.conf # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.c...
分类:数据库   时间:2016-01-15 13:00:23    阅读次数:190
LeetCode
Problem:Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You m...
分类:其他好文   时间:2016-01-14 22:17:03    阅读次数:176
meta name="viewport" content="width=device-width,initial-scale=1.0" 解释
content属性值 : width:可视区域的宽度,值可为数字或关键词device-width height:同width intial-scale:页面首次被显示是可视区域的缩放级别,取值1.0则页面按实际尺寸显示,无任何缩放 maximum-scale=1.0, minimum-sca...
分类:Web程序   时间:2016-01-13 12:36:13    阅读次数:175
[?]*Maximum Size Subarray Sum Equals k
Given an arraynumsand a target valuek, find the maximum length of a subarray that sums tok. If there isn't one, return 0 instead.Example 1:Givennums=[...
分类:其他好文   时间:2016-01-12 07:43:37    阅读次数:219
5. Longest Palindromic Substring
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2016-01-12 01:07:01    阅读次数:218
122. Best Time to Buy and Sell Stock II
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2016-01-11 17:43:12    阅读次数:142
Best Time to Buy and Sell Stock with Cooldown
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple...
分类:其他好文   时间:2016-01-10 19:48:27    阅读次数:132
SPOJ 4206 Fast Maximum Matching (二分图最大匹配 Hopcroft-Carp 算法 模板)
题目大意:有n1头公牛和n2头母牛,给出公母之间的m对配对关系,求最大匹配数。数据范围: 1 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 struct Hopcroft_Carp{ 9 ...
分类:编程语言   时间:2016-01-10 18:36:09    阅读次数:707
SPOJ 4110 Fast Maximum Flow (最大流模板)
题目大意:无向图,求最大流。算法讨论:Dinic可过。终于我的常数还是太大。以后要注意下了。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 typede...
分类:其他好文   时间:2016-01-10 18:31:08    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!