码迷,mamicode.com
首页 >  
搜索关键字:equal    ( 3393个结果
sublime text2 配置tab为4个空格
Preference-defalut: 【将Tab键自动替换为4个空格】 // The number of spaces a tab is considered equal to “tab_size”: 4, // Set to true to insert spaces when tab is pressed “translate_tabs_to_space...
分类:其他好文   时间:2014-08-12 10:33:04    阅读次数:210
Hibernate Criteria
HQL运算符 QBC运算符 含义 = Restrictions.eq() 等于equal <>? Restrictions.ne() 不等于not equal >? Restrictions.gt() 大于greater than >= Restrictions.ge() 大于等于greater than or equal <? Restrict...
分类:系统相关   时间:2014-08-10 19:01:01    阅读次数:309
UvaLive6661 Equal Sum Sets dfs或dp
UvaLive6661PDF题目题意:让你用1~n中k个不同的数组成s,求有多少种组法。题解:DFS或者DP或打表。1.DFS 由于数据范围很小,直接dfs每种组法统计个数即可。 1 //#pragma comment(linker, "/STACK:102400000,102400000") 2 ...
分类:其他好文   时间:2014-08-08 21:15:46    阅读次数:268
UVALive 6661 Equal Sum Sets
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 #include 12 #include 13 #in...
分类:其他好文   时间:2014-08-08 12:10:25    阅读次数:231
Java中空值的判断
空值判断的测试代码如下: String str = new String();// System.out.println("1=" + (str == null)); System.out.println("2=" + str.isEmpty()); System.out.println("3=" + str.equal...
分类:编程语言   时间:2014-08-07 13:34:30    阅读次数:219
perl中==操作和eq操作区别
$str1 = "1 -the first str";$str2 = "1 -the second str";print "numerically equal\n" if($str1 == $str2);print "stringwise equal\n" if($str1 eq $str2);结果...
分类:其他好文   时间:2014-08-06 18:13:44    阅读次数:579
POJ2002_Squares (哈希表)
本文出自:blog.csdn.net/svitter 题意 A square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angles. It is also a polygon such that rotating about its centre by...
分类:其他好文   时间:2014-08-05 15:58:39    阅读次数:232
Float Equal Problem
Understand limitations of floating point representations.Never check for equality with ==. Instead, check if the difference is less than an epsilon va...
分类:其他好文   时间:2014-08-04 14:13:17    阅读次数:235
leetcode-Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of the nodes in each of...
分类:其他好文   时间:2014-08-03 23:28:56    阅读次数:261
[LeetCode]Same Tree
Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value. /** ...
分类:其他好文   时间:2014-08-03 12:54:55    阅读次数:201
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!