attempt to make mergesort lib but failed
round1A;problem A
find the subsequence of a sequence that has max total value