后缀数组+RMQ。 1 /* 2459 */ 2 #include <iostream> 3 #include <sstream> 4 #include <string> 5 #include <map> 6 #include <queue> 7 #include <set> 8 #include
分类:
其他好文 时间:
2016-02-03 13:31:45
阅读次数:
201
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta na
分类:
其他好文 时间:
2016-02-03 11:48:25
阅读次数:
158
A. Wet Shark and Odd and Even Today, Wet Shark is given n integers. Using any of these integers no more than once, Wet Shark wants to get maximum poss
分类:
其他好文 时间:
2016-02-01 22:28:44
阅读次数:
179
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta content="yes" n
分类:
其他好文 时间:
2016-02-01 19:01:07
阅读次数:
361
For a Maximum Segment Tree, which each node has an extra value max to store the maximum value in this node's interval. Implement a modify function wit
分类:
其他好文 时间:
2016-02-01 09:52:21
阅读次数:
176
Regular Expression Quantifiers allow us to identify a repeating sequence of characters of minimum and maximum lengths. In this lesson we'll use Regula
分类:
其他好文 时间:
2016-02-01 09:36:15
阅读次数:
216
好久没leetcode一下了,以后每天1题,坚持一下~ https://leetcode.com/problems/maximum-product-of-word-lengths/ Total Accepted: 9706 Total Submissions: 24927 Difficulty: M
分类:
其他好文 时间:
2016-01-30 13:29:43
阅读次数:
137
Meta标签: <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" /> 这个想必大家都知道,当页面在手机上显示时,增加这个meta可以让
分类:
移动开发 时间:
2016-01-29 12:00:42
阅读次数:
277
题目 Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may com
分类:
其他好文 时间:
2016-01-28 13:47:53
阅读次数:
119
/* Write a function to compute the maximum length palindromic sub-sequence of an array. A palindrome is a sequence which is equal to its reverse. A su...
分类:
其他好文 时间:
2016-01-25 06:38:13
阅读次数:
200