复制代码
摘要: 11. 盛最多水的容器 class Solution { public: int maxArea(vector<int>& height) { vector<int> & v =height; int l =0,r=v.size()-1; int res = 0; while(l<r) { int 阅读全文
posted @ 2018-05-21 23:38 pg633 阅读(132) 评论(0) 推荐(0) 编辑