題目 : Given an integer array nums, find the contiguous subarray(containing at least one number) which has the largest sum and return its sum. Example:I ...
分类:
编程语言 时间:
2019-02-23 01:11:32
阅读次数:
263
Palindrome subsequence HDU - 4632 In mathematics, a subsequence is a sequence that can be derived from another sequence by deleting some elements with ...
分类:
其他好文 时间:
2019-02-21 00:27:52
阅读次数:
188
一、一些结论 1.最大流最小割定理(Maximum Flow, Minimum Cut Theorem):网络的最大流等于最小割 2.任意一个流都小于等于任意一个割(废话) ...
分类:
其他好文 时间:
2019-02-19 20:03:52
阅读次数:
167
题目: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lo ...
分类:
其他好文 时间:
2019-02-18 18:58:53
阅读次数:
145
题目: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lo ...
分类:
其他好文 时间:
2019-02-18 18:52:07
阅读次数:
132
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: ...
分类:
其他好文 时间:
2019-02-18 18:42:41
阅读次数:
152
这是悦乐书的第 252 次更新,第 265 篇原创 01 看题和准备 今天介绍的是LeetCode算法题中Easy级别的第119题(顺位题号是521)。给定一组两个字符串,您需要找到这组两个字符串中最长的不同子序列。最长的不同子序列被定义为这些字符串之一的最长子序列,并且此子序列不应该是其他字符串的 ...
分类:
编程语言 时间:
2019-02-17 17:49:40
阅读次数:
161
题意:给出n个点 要求取k个点 这k个点中 距离最小的两个点要求距离最大 拿到手看不出是最大团 也看不出是二分答案(第一次用) 因为答案必然存在 一定有一个最值 所以用二分答案来做 最大距离为根号二乘10000 所以R=20000 且R-L>1e-4; ...
分类:
其他好文 时间:
2019-02-16 15:40:22
阅读次数:
173
1、错误描述 java.lang.IllegalStateException: The maximum number of cell styles was exceeded. You can define up to 4000 styles in a .xls workbook at org.apa ...
分类:
编程语言 时间:
2019-02-16 15:15:03
阅读次数:
124
//jquery实现 // $(function(){ // $(window).on("resize",function(){ // var width=$(window).width(); // var fontSize=width/640*100; // if(width>=640){ // ... ...
分类:
其他好文 时间:
2019-02-16 09:14:57
阅读次数:
191