码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
支线任务六
题目:Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.给出一系列点,求出点的个数最多的那条直线。两点确定一条直线,N个点就有N(N-1)/2条直线,相同直...
分类:其他好文   时间:2015-12-12 18:33:47    阅读次数:121
【poj3693】Maximum repetition substring(后缀数组+RMQ)
自己看着大牛的论文学了一下后缀数组,看了好久好久,想了好久好久才懂了一点点皮毛TAT 然后就去刷传说中的后缀数组神题,poj3693是进化版的,需要那个相同情况下字典序最小,搞这个搞了超久的说。 先简单说一下后缀数组。首先有几个重要的数组: ·SA数组(后缀数组):保存所有...
分类:编程语言   时间:2015-12-12 11:02:32    阅读次数:209
Maximum execution time of 30 seconds exceeded
Maximum execution time of 30 seconds exceeded,今天把这个错误的解决方案总结一下:简单总结一下解决办法:报错一:内存超限,具体报错语句忘了,简单说一下解决办法。利用循环分批导入;每个循环内部开始处使用sleep(5);语句,做延迟执行,防止服务器内存同一时...
分类:其他好文   时间:2015-12-11 22:11:25    阅读次数:168
Maximum Depth of Binary Tree
https://leetcode.com/problems/maximum-depth-of-binary-tree/Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along ...
分类:其他好文   时间:2015-12-10 23:47:24    阅读次数:159
移动端html头部meta标签的含义
width - viewport的宽度 height - viewport的高度initial-scale - 初始的缩放比例minimum-scale - 允许用户缩放到的最小比例maximum-scale - 允许用户缩放到的最大比例user-scalable - 用户是否可以手动缩放Cordo...
分类:移动开发   时间:2015-12-10 19:02:45    阅读次数:212
PAT 1007
1007. Maximum Subsequence Sum (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a sequence of K integers { N1, N2, ..., NK}. A conti...
分类:其他好文   时间:2015-12-09 19:32:59    阅读次数:264
LeetCode - Longest Palindromic Substring
题目: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 lon...
分类:其他好文   时间:2015-12-09 17:18:01    阅读次数:115
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 le...
分类:其他好文   时间:2015-12-09 17:06:30    阅读次数:108
解题报告: LeetCode Max Points on a Line
题目出处:https://leetcode.com/submissions/detail/47640173/题意描述:由于过于简洁,故不再翻译,具体描述见一下英文描述:Givennpoints on a 2D plane, find the maximum number of points that...
分类:其他好文   时间:2015-12-08 00:30:22    阅读次数:146
leetcode Maximum Depth of Binary Tree python
# Definition for a binary tree node.# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# sel...
分类:编程语言   时间:2015-12-06 17:33:21    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!