0_0_29170292_11076.cpp: In function 'int main()': 0_0_29170292_11076.cpp:55:63: error: 'z' was not declared in this scope printf("Case %d: maximum height = %d\n",ct,dp[bid-1]);z ^