0_0_18098594_29102.cpp: In function 'int main()': 0_0_18098594_29102.cpp:15:71: error: 'd' was not declared in this scope for(int i = 1; i <= n; i++) scanf(" %s", pic[i]+1), dp[1][i], d[i][n] = 1; ^