Introduction - If you have any usage issues, please Google them yourself
Topic description:Given an array a[0,..., n-1], find its maximum sum of subarray (length >=1) Input description:The first row is an integer n (1<=n<=5000), and then n integers are entered sequentially (each integer range [-5000, 5000]) Output description:Output an integer representing the maximum subarray sum Sample input :5 1 -1 1 1 -1 Sample output:2