0_0_36182304_13848.cpp: In function 'int dfs(int)':
0_0_36182304_13848.cpp:2:8: error: 'dp' was not declared in this scope
if(dp[u])//记忆化,剪枝,如果此点已经走过,则返回“此点->终点的路径数量”
^
0_0_36182304_13848.cpp:7:19: error: 'adj' was not declared in this scope
for(int i=0;i<adj[u].size();i++){
^
0_0_36182304_13848.cpp:9:12: error: 'd' was not declared in this scope
if(d[v]<d[u])//如果满足题目条件,则继续往下搜索
^
0_0_36182304_13848.cpp:12:12: error: 'dp' was not declared in this scope
return dp[u]=tmp;//dp[i]表示i点一共可以有多少条路
^
|