using System; using System.Collections.Generic; using System.IO; using System.Linq; class Solution { static long largestValue(int[] A,int n) { // Return the largest value of any of A's nonempty subarrays. List li = new List(); for(int i=0;i