class Solution { public: /** * max sum of the subarray * @param arr int整型vector the array * @return int整型 &nbs...