码迷,mamicode.com
首页 >  
搜索关键字:whether    ( 1481个结果
URAL 1327. Fuses
1327. Fuses Time limit: 1.0 second Memory limit: 64 MB "Janus Poluektovich (I don't remember anymore whether -A or -U) used the machine only once. He brought with him a small semitranspar...
分类:其他好文   时间:2015-03-09 11:01:21    阅读次数:205
hdu5183---Negative and Positive (NP)(HASHMAP)
Problem Description When given an array (a0,a1,a2,?an?1) and an integer K, you are expected to judge whether there is a pair (i,j)(0≤i≤j/***************************************************************...
分类:其他好文   时间:2015-03-08 23:08:00    阅读次数:454
hihoCoder #1110 Regular Expression
Problem:DescriptionYour task is to judge whether the input is a legal regular expression.A regular expression is defined as follow:1: 0 and 1 are both...
分类:其他好文   时间:2015-03-08 21:20:11    阅读次数:199
Symmetric Tree
Symmetric Tree问题:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).思路: dfs我的代码:public class Solution { ...
分类:其他好文   时间:2015-03-07 19:58:45    阅读次数:135
Interleaving String
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example, Given: s1 = "aabcc", s2 = "dbbca", When s3 = "aadbbcbcac", return true. When s3 = "aadbbbaccc", return...
分类:其他好文   时间:2015-03-07 15:42:26    阅读次数:134
LeetCode:Palindrome Number,Reverse Integer
Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes?...
分类:其他好文   时间:2015-03-06 14:14:56    阅读次数:111
LA 3026(Period-MP算法)[Template:KMP]
3026 - Period Time limit: 3.000 seconds  For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the prefi...
分类:编程语言   时间:2015-03-05 22:23:08    阅读次数:173
Symmetric Tree
https://oj.leetcode.com/problems/symmetric-tree/Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For exam...
分类:其他好文   时间:2015-03-02 20:45:29    阅读次数:203
升级ssh编译错误
升级ssh 编译的时候遇到PAM headers not found,然后需要安装pam-devel-1.1.1-20.el6.x86_64,自己下载了rpm包,安装报错,然后用yum -y install pam-devel安装成功。详细看操作详情checking whether OpenSSL ...
分类:其他好文   时间:2015-02-25 11:36:00    阅读次数:316
1065. A+B and C (64bit) (20)
Given three integers A, B and C in [-263, 263], you are supposed to tell whether A+B > C.Input Specification:The first line of the input gives the pos...
分类:其他好文   时间:2015-02-24 18:36:32    阅读次数:109
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!