码迷,mamicode.com
首页 >  
搜索关键字:largest    ( 1413个结果
Largest Rectangle in Histogram
Largest Rectangle in Histogram
分类:其他好文   时间:2014-06-29 15:02:43    阅读次数:217
projecteuler---->problem=4----Largest palindrome product
title: Largest palindrome product Problem 4 A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 99. Find the l...
分类:其他好文   时间:2014-06-07 01:24:27    阅读次数:398
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,...
分类:其他好文   时间:2014-06-04 19:30:13    阅读次数:230
针对上课内容的想法
int Largest(int list[], int length){ int i,max; for(i = 0; i max) { max=list[i]; } } return max;}首先进行...
分类:其他好文   时间:2014-06-03 09:53:50    阅读次数:267
uva 11324 The Largest Clique(强连通分量缩点+DAG动态规划)
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=25&page=show_problem&problem=2299题意:输入n和m,有n个点和m条有向边,求出一个节点集合包括的节点个数最多,而...
分类:其他好文   时间:2014-05-31 03:26:25    阅读次数:239
Coursera Algorithm II PA2 Q2
题意:what is the largest value ofksuch that there is ak-clustering with spacing at least 3? That is, how many clusters are needed to ensure that no pair...
分类:其他好文   时间:2014-05-29 20:39:26    阅读次数:305
57. 数对之差的最大值:4种方法详解与总结[maximum difference of array]
maximum/largest difference of array
分类:其他好文   时间:2014-05-26 17:07:38    阅读次数:332
hdu2136Largest prime factor (关建在求素数,有点意思的题)
Problem Description Everybody knows any number can be combined by the prime number. Now, your task is telling me what position of the largest prime factor. The position of prime 2 is 1, prime 3 is ...
分类:其他好文   时间:2014-05-26 04:29:14    阅读次数:371
poj 2985 The k-th Largest Group 求第K大数 Treap, Binary Index Tree, Segment Tree
题目链接:点击打开链接 题意:有两种操作,合并集合,查询第K大集合的元素个数。(总操作次数为2*10^5) Treap模板(静态数组) #include #include #include #include #include const int maxNode = 500000 + 100; const int inf = 0x3f3f3f3f; struct Tr...
分类:其他好文   时间:2014-05-24 23:18:09    阅读次数:522
LeetCode: Maximum Subarray [052]
【题目】 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] has the largest sum = 6. 【题意】 给定一个数组,找出和最大的子数组,返回...
分类:其他好文   时间:2014-05-24 22:19:17    阅读次数:260
1413条   上一页 1 ... 138 139 140 141 142 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!