码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
274. H-Index
Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index. According ...
分类:其他好文   时间:2017-04-01 23:18:10    阅读次数:230
leetCode 53: Maximum Subarray
题目如下: 原型:最大连续和问题 《算法竞赛入门经典》模版: 本题代码: ...
分类:其他好文   时间:2017-04-01 21:13:14    阅读次数:166
LeetCode 485. Max Consecutive Ones
Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Note: The input array will only contain 0 and 1. The length ...
分类:其他好文   时间:2017-04-01 19:11:02    阅读次数:152
●小集训之旅 三
●2017.3.31 ●学习内容:网络流之求解最大流算法 引:最大流问题(maximum flow problem),一种组合最优化问题,就是要讨论如何充分利用装置的能力,使得运输的流量最大,以取得最好的效果。 ●算法(e,我学了的……) 枚举算法: 由最小切割=最大流定理而来的暴力求法: 枚举所有... ...
分类:其他好文   时间:2017-03-31 21:33:36    阅读次数:270
jq中查询IP地址
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0,us ...
分类:其他好文   时间:2017-03-31 13:34:18    阅读次数:209
POJ 3693 Maximum repetition substring ——后缀数组
重复次数最多的字串,我们可以枚举循环节的长度。 然后正反两次LCP,然后发现如果长度%L有剩余的情况时,答案是在一个区间内的。 所以需要找到区间内最小的rk值。 两个后缀数组,四个ST表,$\Theta(n\log n)$ 就可以解决了 空间卡死了,瞎晶胞卡过去了。 ...
分类:编程语言   时间:2017-03-30 18:41:49    阅读次数:170
RAC 安装 错误 hard limit maximum open file descriptors
直接修改文件“/etc/security/limits.conf”,添加一行如下: * hard nofile 131072 然后“ulimit -a”。再次验证,过。 ...
分类:其他好文   时间:2017-03-30 14:57:15    阅读次数:319
angular 路由router的用法总结
1,html页面<!DOCTYPEhtml> <htmllang="en"ng-app="myApp"> <head> <metacharset="UTF-8"> <metaname="viewport"content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"> <title>Document..
分类:其他好文   时间:2017-03-29 21:24:24    阅读次数:508
Python学习日记之函数库
用途 可以直接输出位于函数内定义的说明 # -*- coding:utf-8 -*- def printMax(x, y): '''示例: 说明文档''' x=int(x) y=int(y) if x > y: print x, 'is maximum' else: print y, 'is max ...
分类:编程语言   时间:2017-03-29 21:05:31    阅读次数:132
最大熵模型
我的理解:在限制的条件下,根据已知情况求解未知情况,最优解的选择就是使得未知的熵最大的那个概率 我们在投资时常常讲不要把所有的鸡蛋放在一个篮子里,这样可以降低风险。在信息处理中,这个原理同样适用。在数学上,这个原理称为最大熵原理(the maximum entropy principle)。 让我们 ...
分类:其他好文   时间:2017-03-27 23:05:58    阅读次数:289
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!