F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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点一共可以有多少条路
            ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-07-03 14:05:48, Gzip enabled