码迷,mamicode.com
首页 >  
搜索关键字:notice    ( 1174个结果
Leetcode: Russian Doll Envelopes
DP 解法, Time Complexity: O(N^2) sort based on width or height, anyone is ok. After the sorting, for each envelope, those envelopes which can fit into t ...
分类:其他好文   时间:2016-11-25 07:33:38    阅读次数:179
*HDU 2451 数学
Simple Addition Expression Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1723 Accepted Submissi ...
分类:其他好文   时间:2016-11-24 18:30:46    阅读次数:139
设定错误和异常处理的三个函数(第二篇)
set_error_handler() 解释:设置用户自定义的错误处理函数,如果使用该函数,会绕过php错误处理程序,同时如果必要,用户定义错误程序通过die()终止脚本,如果错误发生在脚本执行前(比如文件上传)将不会调用自定义的错误处理函数 ,因为它尚未在那时注册 案例: //用户定义的错误处理函 ...
分类:其他好文   时间:2016-11-23 14:37:46    阅读次数:141
JS获取到时间转换成字符串类型
JS获取到时间格式为:/Date(1479279579047)/ 提供一个函数可将其转换为“yyyy-MM-dd”和“yyyy-MM-dd hh:mm:ss” JS中调取: 看以上代码 1 data_string(data.AddTime,"yyyy-MM-dd") 部分的调用和传值就可实现这两种时 ...
分类:Web程序   时间:2016-11-22 12:09:46    阅读次数:213
王高利:Linux__apache,安装,报错解决
今日编译apache时出错:#./configure --prefix……检查编辑环境时出现:checking for APR... noconfigure: error: APR not found . Please read the documentation解决办法:1.下载所需软件包:wge ...
分类:Web程序   时间:2016-11-20 09:09:58    阅读次数:242
[LintCode] Majority Number 求众数
Given an array of integers, the majority number is the number that occurs more than half of the size of the array. Find it. Notice You may assume that ...
分类:其他好文   时间:2016-11-16 13:53:10    阅读次数:215
php 错误等级
1E_ERROR致命的运行时错误(它会阻止脚本的执行)2E_WARNING运行时警告(非致命的错误)4E_PARSE解析错误8E_NOTICE注意(事情可能是或者可能不是一个问题)256E_USER_ERROR用户生成的错误消息,由trigger_error()函数生成512E_USER_WARNING用户生成的警告,由trigger_error()函..
分类:Web程序   时间:2016-11-15 20:53:39    阅读次数:186
[LintCode] Min Stack 最小栈
Implement a stack with min() function, which will return the smallest number in the stack. It should support push, pop and min operation all in O(1) c ...
分类:其他好文   时间:2016-11-14 07:50:37    阅读次数:280
整理用js实现tab标签页
首先是css样式,比如这样的: 注意:1.需要给.notice-tit这个盒子设置相对定位,ul设置绝对定位并且left:-1px(如果不设置-1,ul这个盒子不会和.notice-tit这个盒子完全重叠,因为.notice-tit有个1px 的边框); 2.要给ul下面的li标签设置左右paddi ...
分类:Web程序   时间:2016-11-14 01:13:30    阅读次数:195
1049 - Deg-route
http://www.ifrog.cc/acm/problem/1049 这些数学题我一般都是找规律的。。 先暴力模拟了前面的那些,然后发现(x, y) = (x, y - 1) + (x - 1, y)得到。 但是这是没用的。因为要得到(x, y - 1)这些,又要递归处理的话,就会GG。 然后找 ...
分类:其他好文   时间:2016-11-06 02:14:48    阅读次数:155
1174条   上一页 1 ... 65 66 67 68 69 ... 118 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!