INVITE      Via:       Max-Forwards:       To:      
 From:       Call-ID:       CSeq:       Contact:       Content-Type:       
Content-Length:
                            
                            
                                分类:
其他好文   时间:
2014-05-04 12:34:06   
                                阅读次数:
292
                             
                    
                        
                            
                            
                                描述:使用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
                             
                    
                        
                            
                            
                                最近在学scala语言,scala代码如下:
import scala.collection.JavaConversions._
import scala.util.control.Breaks._
object Solution {
    def solution(A: Array[Int]): Int = {
        // write your code in Scala 2.10...
                            
                            
                                分类:
其他好文   时间:
2014-05-04 09:42:56   
                                阅读次数:
372
                             
                    
                        
                            
                            
                                最近在学scala语言,scala代码如下:
import scala.collection.JavaConversions._
object Solution {
    def solution(A: Array[Int]): Int = {
        // write your code in Scala 2.10
        // using quick sort to so...
                            
                            
                                分类:
其他好文   时间:
2014-05-04 09:22:37   
                                阅读次数:
341
                             
                    
                        
                            
                            
                                题目如下:
``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
                             
                    
                        
                            
                            
                                You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without an...
                            
                            
                                分类:
其他好文   时间:
2014-05-03 21:35:49   
                                阅读次数:
310
                             
                    
                        
                            
                            
                                今天凑巧去W3School扫了一遍JavaScript教程,发现从中看到了不少自己以前没有注意过的细节。
        我这些细节列在这里,分享给可能同样不知道的朋友:
1、使用 document.write() 仅仅向文档输出写内容。如果在文档已完成加载后执行 document.write,整个 HTML 页面将被覆盖:
实例
My First Web Page
My...
                            
                            
                                分类:
编程语言   时间:
2014-05-03 21:30:52   
                                阅读次数:
344