提交 c0bde9dd 编写于 作者: 门心叼龙's avatar 门心叼龙

code perfect

上级 906ee60b
...@@ -20,6 +20,7 @@ public class MainAlgorithm { ...@@ -20,6 +20,7 @@ public class MainAlgorithm {
} }
public static void main(String[] args){ public static void main(String[] args){
int[] arr = new int[]{4,3,5,6,1}; int[] arr = new int[]{4,3,5,6,1};
System.out.println(arr); int maxArea = getMaxArea(arr);
System.out.println(maxArea);
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册