0_0_16548921_657.cpp: In function 'int solve(int*, int*, int)': 0_0_16548921_657.cpp:9:47: error: 'max' was not declared in this scope ret = max(ret, sum[i] - sum[j - 1]); ^