0_0_14832405_19662.cpp: In function 'int main()': 0_0_14832405_19662.cpp:18:3: error: 'Max' was not declared in this scope Max=-1; ^ 0_0_14832405_19662.cpp:37:25: error: 'memset' was not declared in this scope memset(dp,0,sizeof(dp)); ^