0_0_18098568_9503.cpp: In function 'int main()': 0_0_18098568_9503.cpp:94:33: error: 'i' was not declared in this scope printf("%I64d\n",max(dp[i][0],dp[i][1])); ^