摘要:
3 suma+b+c=0class Solution {public: vector > threeSum(vector &num) { vector >v; vectorv1; sort(num.begin(),num.end()); for(int i=0;i0)break; for(int a=i+1,b=num.size()-1;a0){b--;} } } return v; }};3 sum clos... 阅读全文
posted @ 2013-04-13 14:37
代码改变未来
阅读(223)
评论(0)
推荐(0)
浙公网安备 33010602011771号