码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
web移动端兼容
移动端总结和手机兼容问题 H5页面窗口自动调整到设备宽度,并禁止用户缩放页面 <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-sc ...
分类:移动开发   时间:2017-06-01 22:44:26    阅读次数:229
hdu 4002 - Find the maximum
题目:求不超过n的最大的x/φ(x),当中φ(x)是欧拉函数。 分析:数论。大整数。比赛时直接打表计算的。 实际上:φ(n)= n *(1 - 1/p1)*(1 - 1/p2)*(1 - 1/p3)*…*(1 - 1/pt)。 所以有:x/φ(x)= 1 /((1 - 1/p1)*(1 - 1/p2 ...
分类:其他好文   时间:2017-06-01 19:37:27    阅读次数:138
[LeetCode] 152. Maximum Product Subarray Java
题目: 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, ...
分类:编程语言   时间:2017-05-31 14:05:02    阅读次数:205
Linux基础知识day-5
基础命令: 51.mkfs:用于格式化磁盘。例如:格式化/dev/sdb1 mkfs.ext4 /de/sdb1 mkfs.ext3 /de/sdb1 mkfs.xfs /de/sdb1 mkfs.vfat /de/sdb1 52.mkswap和swapon mkswap:用于创建交换分区 swap ...
分类:系统相关   时间:2017-05-30 19:47:52    阅读次数:266
POJ 2699 The Maximum Number of Strong Kings (最大流+枚举)
http://poj.org/problem?id=2699 题意: 一场联赛可以表示成一个完全图,点表示参赛选手,任意两点u, v之间有且仅有一条有向边(u, v)或( v, u),表示u打败v或v打败u。一个选手的得分等于被他打败的选手总数。一个选手被称为“strong king”当且仅当他打败 ...
分类:其他好文   时间:2017-05-30 16:17:17    阅读次数:226
bzoj3638 Cf172 k-Maximum Subsequence Sum
传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=3638 【题解】 看到k<=20就感觉很py了啊 我们用一棵线段树维护选段的过程,能选到>0的段就一直选,直到选到<0的段,每次选完把段内的数全部取相反数,意为下次取是“不取”的意思。 用线段树 ...
分类:其他好文   时间:2017-05-30 16:00:39    阅读次数:240
Azure中block和Page的比较 Azure: Did You Know? Block vs Page Blobs
Azure storage service supports two types of blobs (blob, or BLOB, stand for Binary Large OBject, i.e. an unstructured binary data): block and page blo ...
分类:其他好文   时间:2017-05-30 12:48:15    阅读次数:183
[LeetCode] Maximum Vacation Days 最大化休假日
LeetCode wants to give one of its best employees the option to travel among N cities to collect algorithm problems. But all work and no play makes Jac ...
分类:其他好文   时间:2017-05-30 00:38:18    阅读次数:448
最大似然预计(Maximum Likelihood Estimation)
參考资料 [1] 盛骤, 谢式千, 潘承毅. 概率论和数理统计[J]. 2001. [2] https://en.wikipedia.org/wiki/Maximum_likelihood [3] https://www.youtube.com/watch?v=fvNUUJuFXM0 [4] htt ...
分类:其他好文   时间:2017-05-29 19:54:40    阅读次数:232
Longest Harmonious Subsequence
We define a harmonious array is an array where the difference between its maximum value and its minimum value is exactly 1. Now, given an integer arra ...
分类:其他好文   时间:2017-05-29 15:17:33    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!