0_0_22807462_5944.cpp: In function 'int LIS_SUM()': 0_0_22807462_5944.cpp:24:5: error: 'maxSum' was not declared in this scope if(maxSum < sum[i]){ ^