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
打开Java VisualVm->工具->插件 ?如图: 关于要填写的URL地址到?http://visualvm.java.net/pluginscenters.html?找到jdk版本以及更新版本对应的插件中心地址。 当VisualVM不能下载插件时查看是不是上面的地址有...
分类:
其他好文 时间:
2014-08-10 19:00:51
阅读次数:
504
字典树 (解析加模版)
分类: ACM2012-07-06
12:24 204人阅读 评论(0) 收藏 举报
字典树:又叫trie树,单词查找树。是一种树形结构,典型的用于统计。经常用于统计一片文章当中出现确定的单词的次数,它的优点就在于:省略了相同前缀的比较。以下图为例:用单词carbohy,carhure,english,englnee来构造的tri...
分类:
其他好文 时间:
2014-08-10 18:49:10
阅读次数:
222
Description
Problem H
Counting Rectangles
Input: Standard Input
Output:Standard Output
Time Limit: 3Seconds
Given n points on the XY plane, count how many regular rectanglesare formed. A...
分类:
其他好文 时间:
2014-08-10 18:49:00
阅读次数:
268
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array....
分类:
其他好文 时间:
2014-08-10 18:48:50
阅读次数:
203
注意:Linux下, Eclipse C/C++ IDE下编辑好C/C++源程序之后要先保存!!!否则,就会……
看看下面的过程:
1、单击File/New,选C Project(或C++ Project)
2、输入Project Name,test,选择Empty Project及Linux GCC,点Finish
3、单击File/New,选图1中的Source Fil...
分类:
编程语言 时间:
2014-08-10 18:48:40
阅读次数:
190
Description
Given a string of 0's and
1's up to
1000000 characters long and indices
i and
j, you are to answer a question whether all characters between position
min(i,j) and position
max(i,j...
分类:
其他好文 时间:
2014-08-10 18:47:30
阅读次数:
277
最近复习数据结构中的二叉树的相关问题,在这里整理一下
这里包括:
1、二叉树的先序创建
2、二叉树的递归先序遍历
3、二叉树的非递归先序遍历
4、二叉树的递归中序遍历
5、二叉树的非递归中序遍历
6、二叉树的递归后序遍历
7、二叉树的非递归后序遍历
8、二叉树的层次遍历
这里感谢博客http://blog.csdn.net/skylinesky/article/details/...
分类:
编程语言 时间:
2014-08-10 18:46:10
阅读次数:
456
AC得相当辛苦的一道题,似乎不难,但是需要想仔细,
开始的时候的错误思路----是受之前做过的区间最长连续子串影响http://blog.csdn.net/u011026968/article/details/38357157
区间合并的时候,我直接按照---如果(左子树的最大前缀和长度==左子树的长度 && 右子树的前缀和>0),就合并左前缀,这想法有两个错误:1、右子树的前缀和==0的时候...
分类:
其他好文 时间:
2014-08-10 18:45:10
阅读次数:
382