/// /// determine whether the network printer is in pause. /// /// /// /// /// private ...
分类:
其他好文 时间:
2014-10-28 19:38:01
阅读次数:
221
问题描述:
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 ...
分类:
其他好文 时间:
2014-10-27 21:19:41
阅读次数:
231
detecting locked tables mysql (locked by LOCK TABLE)up vote15down votefavorite7I would like to know whether there is an option to detect locked tables...
分类:
数据库 时间:
2014-10-27 21:09:44
阅读次数:
307
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-10-27 19:28:33
阅读次数:
217
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-10-26 16:52:38
阅读次数:
148
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 / \ ...
分类:
其他好文 时间:
2014-10-26 15:33:29
阅读次数:
141
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 / \ ...
分类:
其他好文 时间:
2014-10-26 11:37:08
阅读次数:
195
//判断是否为闰年uchar Whether_LeapYear(uint y){ return ( y % 4 == 0 && y % 100 != 0 ) || (y % 400 == 0);}条件1:能被4整除,且不能被100整除条件2:能被400整除满足两者之一,即为闰年,返回1
分类:
其他好文 时间:
2014-10-25 10:32:20
阅读次数:
119
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 converting th...
分类:
其他好文 时间:
2014-10-25 09:21:10
阅读次数:
182
1.__FILE____FILE__ always equals to the real path of a php script regardless whether it's included.__FILE__ helps you specify the file to include usin...
分类:
Web程序 时间:
2014-10-22 20:18:45
阅读次数:
242