0_0_38467282_25804.cpp: In function 'int main()': 0_0_38467282_25804.cpp:19:25: error: 'max' was not declared in this scope sum=max(sum+a[j],a[j]); ^