0_0_25726319_25599.cpp: In function 'int solve(int, int)': 0_0_25726319_25599.cpp:16:37: error: 'g' was not declared in this scope for(int j = 0; j <= 9; j++) g[i][j] = 0; ^