码迷,mamicode.com
首页 >  
搜索关键字:whether    ( 1481个结果
Install Volvo DICE 2014A without Install IOS
Notes for pre-installation: 1). You need to check whether your PC operating system is Win 7 or not (Volvo Dice 2014A supports Win 7). 2). Check your D...
分类:移动开发   时间:2015-02-02 19:34:03    阅读次数:248
[LeetCode]Palindrome Number
Q:Determine whether an integer is a palindrome. Do this without extra space. 这道题也是基础题,判断一个数是否是回文数,条件是不能使用额外的空间,意思就是说,你不能把一个Intege转换成string,然后对string进行回文字符串的判断。 另外,如果用Reverse Integer的方法,可能会造成数值溢出,比如判...
分类:其他好文   时间:2015-01-31 12:31:11    阅读次数:169
ZOJ 2283 Challenge of Wisdom 数论,Dilworth Theorem,求最长反链 难度:2
Challenge of WisdomTime Limit:2 Seconds Memory Limit:32768 KBBackground"Then, I want to know whether you're a wise boy!"Problem"I have a great deal of...
分类:其他好文   时间:2015-01-31 11:51:44    阅读次数:529
(代码分享) makefile模板
.PHONY: clean allFILETYPE = c# what language is used: c or cppTARGETS = program#target nameTREE = 0# whether the source files are organised in tree .....
分类:其他好文   时间:2015-01-30 16:46:47    阅读次数:149
101. Symmetric Tree Leetcode Python
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree is symmetric: 1 / 2 2 / \ / 3 4 4 3 But the f...
分类:编程语言   时间:2015-01-30 09:04:26    阅读次数:242
Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.方法一:public class Solution { public boolean isPalindrome(int x) { S...
分类:其他好文   时间:2015-01-29 23:57:41    阅读次数:222
uva 10344 23 out of 5 (DFS)
uva 10344 23 out of 5 Your task is to write a program that can decide whether you can find an arithmetic expression consisting of five given numbers (1 For this problem we will only consid...
分类:其他好文   时间:2015-01-29 14:45:06    阅读次数:154
leetcode.9---------------Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? (ie, -1) If you are thinking of convert...
分类:其他好文   时间:2015-01-29 12:50:33    阅读次数:138
LeetCode --- 9. Palindrome Number
题目链接:Palindrome Number Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) If you are thinking of converting the...
分类:其他好文   时间:2015-01-28 21:30:17    阅读次数:208
LeetCode9——Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. 题目大意 判断一个int是否为回文数,不使用额外的储存空间。 难度系数:容易 实现 int getfactor(int x) { if (x < 10) return 1; int facto...
分类:其他好文   时间:2015-01-27 11:13:47    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!