摘要:        
class Solution { public: vector > fourSum(vector &num,int target) { int n = num.size(); sort(num...    阅读全文
posted @ 2016-08-29 16:03
牧羊少年10号
阅读(101)
评论(0)
推荐(0)
        
            
        
        
摘要:        
class Solution {public:	int threeSumClosest(vector& nums, int target) { int result = nums[0] + nums[1] + nums[2]; int gap = abs(resu...    阅读全文
posted @ 2016-08-29 15:46
牧羊少年10号
阅读(68)
评论(0)
推荐(0)
        
            
        
        
摘要:        
class Solution { public: vector > threeSum(vector &num) { int n = num.size(); sort(num.begin(), num.end()); ...    阅读全文
posted @ 2016-08-29 11:16
牧羊少年10号
阅读(143)
评论(0)
推荐(0)
        
            
        
        
摘要:        
bool compare(pair lh, pair rh){ return lh.first twoSum(vector &numbers, int target) { vector > num; int index = 1; for(vec...    阅读全文
posted @ 2016-08-29 09:45
牧羊少年10号
阅读(212)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号