码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
Mysql : Maximum execution time of 30 seconds exceeded
在向Mysql数据库中插入数据时,提示Maximum execution time of 30 seconds exceeded......。翻译:最大运行时间超过30秒。最后在php.ini中找到这句 max_execution_time = 30,是在Resource Limits(资源限制)项...
分类:数据库   时间:2015-01-22 20:16:21    阅读次数:178
【LeetCode】Binary Tree Maximum Path Sum 解题报告
【题目】 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 / 2 3 Re...
分类:其他好文   时间:2015-01-22 18:16:26    阅读次数:130
Jump Game -- leetcode
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine i...
分类:其他好文   时间:2015-01-22 15:31:35    阅读次数:146
html5 meta标签
width-viewport的宽度height-viewport的高度initial-scale-初始的缩放比例minimum-scale-允许用户缩放到的最小比例maximum-scale-允许用户缩放到的最大比例user-scalable-用户是否可以手动缩放
分类:Web程序   时间:2015-01-22 12:51:08    阅读次数:124
python递归次数和堆栈溢出问题
在做递归的时候,测试了一下python的递归能力。 如果不设置递归次数的话,大概只能在992次左右,就会出现错误:RuntimeError: maximum recursion depth exceeded 如果使用代码: import sys sys.setrecursionli...
分类:编程语言   时间:2015-01-22 12:32:50    阅读次数:337
leetcode 【 Maximum Subarray 】python 实现
题目:Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2...
分类:编程语言   时间:2015-01-22 01:43:10    阅读次数:198
[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 longes...
分类:其他好文   时间:2015-01-22 00:10:52    阅读次数:142
移动端head需要设置的meta属性
width:就是让文档以手机屏幕的宽度为100%来缩放css的比例; initial-scale:页面初始缩放比例; maximum-scale:页面最大缩放的程度 minimum-scale:页面最小的缩放比例; user-scalable:是否允许用户缩放; minimal-ui:ios7出来的新特性,可以去掉导航栏(还没有验证ing~~)...
分类:移动开发   时间:2015-01-21 15:18:18    阅读次数:221
Matlab中的数据预处理-归一化(mapminmax)与标准化(mapstd)
最近遇到数据预处理的一些问题,本来很简单的东西,但是却搞的烦烦的,痛定思痛,决定自己实现一下。 一、mapminmax Process matrices by mapping row minimum and maximum values to [-1 1] 意思是将矩阵的每一行处理成[-1,1]区间,此时对于模式识别或者其他统计学来说,数据应该是每一列是一个样本,每一行是多个样本的同一维,即...
分类:其他好文   时间:2015-01-21 13:27:01    阅读次数:416
Leetcode#124 Binary Tree Maximum Path Sum
原题地址假设我们找到了一个最优路径,那么该路径上一定存在一个节点,左边的路径是它的左儿子,右边的路径是它的右儿子。所以,只需要在遍历二叉树求路径的同时更新最大值即可。maxPath = max{只保留左边路径,只保留右边路径,同时保留左右两边路径,左右两边路径都不保留(只有节点本身)},对应第8行无...
分类:其他好文   时间:2015-01-21 13:18:39    阅读次数:118
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!