摘要:
// T01051.cpp : Defines the entry point for the console application.// #include "stdafx.h"#include <stdarg.h>#include <iostream> #include <Windows.h># 阅读全文
摘要:
class Solution {public: vector<vector<int>> fourSum(vector<int>& nums, int target) { int len = nums.size(); sort(nums.begin(),nums.end()); vector<vect 阅读全文
摘要:
class Solution {public: int threeSumClosest(vector<int>& nums, int target) { sort(nums.begin(),nums.end()); int len = nums.size(); int ans = 0x3FFFFFF 阅读全文