码迷,mamicode.com
首页 >  
搜索关键字:maximum product suba    ( 9145个结果
Method and system for public-key-based secure authentication to distributed legacy applications
A method, a system, an apparatus, and a computer program product are presented for an authentication process. A host application or system within a di...
分类:移动开发   时间:2014-08-03 20:20:35    阅读次数:453
[LeetCode]Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. /** * Definition for binary tree ...
分类:其他好文   时间:2014-08-02 23:32:04    阅读次数:232
复习图---Delay Constrained Maximum Capacity Path(SPFA+二分)
Delay Constrained Maximum Capacity Path Time Limit:10000MS     Memory Limit:65535KB     64bit IO Format:%I64d & %I64u Submit Status Description Consider an undirected graph with N vert...
分类:其他好文   时间:2014-08-02 18:31:43    阅读次数:313
HDU1839_Delay Constrained Maximum Capacity Path(最短路+二分)
解题报告 题目传送门 题意: 有N个点,点1为珍贵矿物的采矿区, 点N为加工厂,有M条双向连通的边连接这些点。走每条边的运输容量为C,运送时间为D。 他们要选择一条从1到N的路径运输, 这条路径的运输总时间要在T之内,在这个前提之下,要让这条路径的运输容量尽可能地大。 一条路径的运输容量取决与这条路径中的运输容量最小的那条边。 思路: 二分容量建图,spfa判时间是否符合...
分类:其他好文   时间:2014-08-02 18:31:13    阅读次数:375
Codeforces 453A Little Pony and Expected Maximum 概率题Orz
题目链接:点击打开链接 #include #include #include using namespace std; #define INF 0x3f3f3f3f #define eps 1e-8 #define pi acos(-1.0) typedef long long ll; int main() { int i, j; double m,n; while...
分类:其他好文   时间:2014-08-02 18:20:43    阅读次数:233
Maximum Subarray
问题:最大连续子窜和是多少分析:动态规划,定义max记录最大值,sum记录以i结束的连续子窜的最大值class Solution {public: int maxSubArray(int A[], int n) { int sum; int MAX=A[0]; ...
分类:其他好文   时间:2014-08-02 17:55:23    阅读次数:191
Codeforces Round #259 (Div. 1)——Little Pony and Expected Maximum
输入n、m,表示一个n面的色子(面上的值为1-n),投掷m次,求得到的最大值的期望(1?≤?m,?n?≤?105)....
分类:其他好文   时间:2014-08-02 12:57:13    阅读次数:189
Codeforces Round #259 (Div. 2) C - Little Pony and Expected Maximum
题目链接题意:分析: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #define LL long long 9 using namespace std;10 11 int ...
分类:其他好文   时间:2014-08-02 12:43:43    阅读次数:217
Widevine *DRM and Keybox
DRM In this document Overview Android DRM FrameworkWidevine DRM Plugin Integrating Widevine into Your Product Widevine DRM security levelsSecurity level details This do...
分类:其他好文   时间:2014-08-02 10:07:13    阅读次数:354
Binary Tree Maximum Path Sum leetcode java
题目:Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1...
分类:编程语言   时间:2014-08-02 09:50:13    阅读次数:232
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!