0_0_17519117_14517.cpp: In function 'int main()': 0_0_17519117_14517.cpp:44:30: error: 'maxx' was not declared in this scope printf("%I64d\n",max(maxx,dp[n][l][2])); ^