int main() { int a[] = {1,1,100,100,1,1,100,1,1,100,1,1,100}; printf("max sum is: %d\n", get_max_sum(a, sizeof(a)/sizeof(int))); return 1; }
int main() { printf("the max sum a is %d\n",get_max_sum(a,6)); printf("the max sum b is %d\n",get_max_sum(b,6)); return 0; }