摘要:        
Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. Example: Note: Hint: 这道题是之前那    阅读全文
posted @ 2015-08-19 23:28
Grandyang
阅读(30611)
评论(11)
推荐(3)
        
            
        
        
摘要:        
Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. Example    阅读全文
posted @ 2015-08-19 13:14
Grandyang
阅读(23309)
评论(2)
推荐(2)
        
            
        
        
摘要:        
在Qt程序调试的时候,经常需要打印一些变量,那么我们就需要使用qDebug()函数,这种函数有两种使用方法,如下所示:QString s = "Jack";qDebug() << "My name is " << s << ", nice to meet you!" << endl;qDebug("...    阅读全文
posted @ 2015-08-19 10:41
Grandyang
阅读(84192)
评论(2)
推荐(3)
        
            
        
        
摘要:        
Given an integer array nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements tha    阅读全文
posted @ 2015-08-19 00:42
Grandyang
阅读(22011)
评论(15)
推荐(3)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号