0_0_16876206_30484.cpp: In function 'int calc(int)': 0_0_16876206_30484.cpp:39:20: error: 'digit' was not declared in this scope if (j != 4 && !(digit[i+1]==6&&j==2)) ret += F[i][j]; ^