码迷,mamicode.com
首页 >  
搜索关键字:check    ( 9197个结果
[LeetCode] Palindrome Permutation
Just check there are no more than 2 characters that appear an odd number of times in the string.My C++ code using an array as a hash map is as follows...
分类:其他好文   时间:2015-08-21 19:21:54    阅读次数:439
LeetCode263:Ugly Number
Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 6, 8 are ugly while 14 is not ugly since it...
分类:其他好文   时间:2015-08-21 17:15:20    阅读次数:143
LeetCode "Graph Valid Tree"
DFS to check cyclic. Please note some details.class Solution{ unordered_map> g; unordered_set visited; bool go(int i, int p) // true - cy...
分类:其他好文   时间:2015-08-21 14:59:18    阅读次数:173
Jsp重定向(response.sendRedirect())和转发(request.getRequestDispatcher().forward(request,r)的区别
区别1:request.getRequestDispatcher().forward()是转发,是在同一个请求里。response.sendRedirect()是重定向,因此放在request里的数据不会被传过去。 区别2:浏览器的地址栏变化,转发地址栏不会发生变化,重定向会发生变化。 "> My JSP 'check_login.jsp' s...
分类:Web程序   时间:2015-08-21 13:50:19    阅读次数:138
git从指定的commit创建分支
How do I create a new git branch from an old commit?git checkout -b justin a9c146a09505837ec03bThis will create the new branch and check it out.git br...
分类:其他好文   时间:2015-08-21 10:46:29    阅读次数:228
【LeetCode】263. Ugly Number
Ugly NumberWrite a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5...
分类:其他好文   时间:2015-08-20 22:13:34    阅读次数:136
nagios3 添加Python编写的插件
Nagios 系统提供了一个插件NRPE。Nagios 通过周期性的运行它来获得远端服务器的各种状态信息。它们之间的关系如下图所示: Nagios 通过NRPE 来远端管理服务 1. Nagios 执行安装在它里面的check_nrpe 插件,并告诉check_nrpe 去检测哪些服务。 2. 通过SSL,check_nrpe 连接远端机子上的NRPE daemon 3. NR...
分类:移动开发   时间:2015-08-20 19:01:20    阅读次数:259
hdu 5167 Fibonacci(预处理)
Problem DescriptionFollowing is the recursive definition of Fibonacci sequence:Fi=???01Fi?1+Fi?2i = 0i = 1i > 1Now we need to check whether a number c...
分类:其他好文   时间:2015-08-20 01:11:35    阅读次数:133
[LeetCode] Ugly Number
Ugly Number Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 6, 8 are ugly while 14...
分类:其他好文   时间:2015-08-19 20:31:18    阅读次数:130
Ugly Number
Problem IWrite a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5. ...
分类:其他好文   时间:2015-08-19 19:16:41    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!