2013年7月3日
摘要: 题目:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of lineiis at (i,ai) and (i, 0). Find two lines, which together with x-axis forms a container, such that the container contains the most water.就是说,x轴上 阅读全文
posted @ 2013-07-03 18:10 lichen782 阅读(5383) 评论(1) 推荐(1) 编辑