摘要: class Solution {public: vector<vector<int>> fourSum(vector<int>& nums, int target) { int len = nums.size(); sort(nums.begin(),nums.end()); vector<vect 阅读全文
posted @ 2018-01-21 14:33 朽木の半夏 阅读(116) 评论(0) 推荐(0) 编辑
摘要: class Solution {public: int threeSumClosest(vector<int>& nums, int target) { sort(nums.begin(),nums.end()); int len = nums.size(); int ans = 0x3FFFFFF 阅读全文
posted @ 2018-01-21 10:49 朽木の半夏 阅读(91) 评论(0) 推荐(0) 编辑