0_0_33393319_11685.cpp: In function 'int dfs(int, int, int, bool, bool, bool)':
0_0_33393319_11685.cpp:18:39: error: 'pre1' was not declared in this scope
if ((!limit) && (!lead1) && ~dp[pos][pre1][pre2])return dp[pos][pre1][pre2];
^
0_0_33393319_11685.cpp:59:35: error: 'pre1' was not declared in this scope
if ((!limit) && (!lead1))dp[pos][pre1][pre2] = res;
^
|