0_0_24326845_30214.cpp: In function 'int tree_dp(int)': 0_0_24326845_30214.cpp:18:16: error: 'd' was not declared in this scope if(d[i][0] > 0) ^