netsh wlan delete profile name="无线名称"
描述:使用Hibernate登陆验证时故意输入没有的用户名,所产生的错误。错误代码:/* *
根据客户的用户名查找客户信息 */ @Override public User getUserByUserName(String userName) {
String hql="from User ...
分类:
编程语言 时间:
2014-05-04 10:57:50
阅读次数:
372
题目描述:1038. Recover the Smallest Number
(30)Given a collection of number segments, you are supposed to recover the
smallest number from them. For examp...
分类:
其他好文 时间:
2014-05-04 10:49:34
阅读次数:
308
reference
from:http://www.cs.bgu.ac.il/~spl051/Personal_material/Practical_sessions/Ps_12/ps12.htmlJava
server class with multiple client connections:...
分类:
其他好文 时间:
2014-05-04 10:15:23
阅读次数:
355
触发器是存放在数据库中的一种特殊类型的子程序。不能被用户直接调用,而是当特定事件或操作发生时由系统自动
调用执行。触发器不能接受参数。所以运行触发器就叫做触发或点火。Oracle事件指的是数据库的表进行的insert 、update、delete操作或对视图进行类似的操作。
触发器是许多关系数据库系统都提供的一项技术。在Oracle系统里,触发器类似过程和函数,都有声明,执行和异常
处理过程...
分类:
数据库 时间:
2014-05-04 09:42:31
阅读次数:
356
travel the binary tree by level 2 ( from top to down )
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:travel the binary tree by level 2 (...
分类:
其他好文 时间:
2014-05-04 09:27:56
阅读次数:
334
travel the binary tree by level( from top to down)
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:travel the binary tree by level( from top t...
分类:
其他好文 时间:
2014-05-04 09:17:12
阅读次数:
292
题目如下:
``Accordian'' Patience
You are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows:
Deal cards one by one in a row from left to right, no...
分类:
其他好文 时间:
2014-05-04 09:08:31
阅读次数:
329
travel the binary tree by level 3 ( from down to top )
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:travel the binary tree by level 3 ( f...
分类:
其他好文 时间:
2014-05-04 09:00:55
阅读次数:
294
题意:要连出一个从1-L的过山车线,给出n段可选的建设方案。每段都有起始位置,终止位置,代价,和乐趣程度。要实现1-L的长度中,相邻两端要首尾相连,总建设代价控制在B之内,问最多能获得多少乐趣程度。
解法:二维dp, num[i][j]记录恰好建设到i并且用掉代价j多能获得的最多乐趣。先将每段可选方案按照位置排序,然后进行转移。最后选max(num[L][i]),i from 0 to ...
分类:
其他好文 时间:
2014-05-04 08:57:59
阅读次数:
267