0_0_34633692_8637.cpp: In function 'int main()': 0_0_34633692_8637.cpp:21:37: error: 'max' was not declared in this scope a[i-1][j]+=max(a[i][j],a[i][j+1]); ^