![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
*LeetCode C++
heartddd
这个作者很懒,什么都没留下…
展开
-
LeetCode 11 Container With Most Water
错误解法 超时 class Solution { public: int maxArea(vector& height) { int temp,minheight; int Area=min(height[0],height[1]); // for(int i=0;i for(int i=0;i转载 2017-02-16 10:22:00 · 138 阅读 · 0 评论 -
[LeetCode 27 Remove Element ]
错误代码 class Solution { public: int removeElement(vector& nums, int val) { int count=0; vector::iterator it; if((nums.begin()==nums.end())&&(*nums.begin()==val))转载 2017-02-16 00:38:44 · 115 阅读 · 0 评论