0_0_35781436_2717.cpp:3:9: error: 'N' was not declared in this scope
int bit[N];
^
0_0_35781436_2717.cpp:4:8: error: 'N' was not declared in this scope
int dp[N][N];
^
0_0_35781436_2717.cpp:4:11: error: 'N' was not declared in this scope
int dp[N][N];
^
0_0_35781436_2717.cpp: In function 'int dfs(int, int, bool)':
0_0_35781436_2717.cpp:18:13: error: 'dp' was not declared in this scope
if(!limit&&dp[pos][num-sta]!=-1)
^
0_0_35781436_2717.cpp:22:15: error: 'bit' was not declared in this scope
int up=limit?bit[pos]:9;
^
0_0_35781436_2717.cpp:28:3: error: 'dp' was not declared in this scope
dp[pos][num-sta]=res;
^
0_0_35781436_2717.cpp: In function 'int solve(int)':
0_0_35781436_2717.cpp:35:3: error: 'bit' was not declared in this scope
bit[len++]=x%10;
^
0_0_35781436_2717.cpp: In function 'int main()':
0_0_35781436_2717.cpp:44:9: error: 'dp' was not declared in this scope
memset(dp,-1,sizeof(dp));
^
|