Leetcode (Container With Most Water&&String to Integer (atoi))
class Solution {public: int maxArea(vector<int>& height) { int water=0; int i=0; int j=height.size()-1; while(i<j) { int h=min(height[i],height[j]); water=max(water,(j-i)*h);