摘要: 1 class Solution { 2 public: 3 int threeSumClosest(vector<int> &num, int target) { 4 // Start typing your C/C++ solution below 5 // DO NOT write int main() function 6 sort(num.begin(), num.end()); 7 int minSum = num[0] + num[1] + num[2]; 8 int minDiff = a... 阅读全文
posted @ 2013-04-07 23:50 冰点猎手 阅读(142) 评论(0) 推荐(0)