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_33927313_24226.cpp: In function 'bool dfs(int, int, int)':
0_0_33927313_24226.cpp:64:20: error: too few arguments to function 'bool dfs(int, int, int)'
         if( dfs(v,u) ) return true;
                    ^
0_0_33927313_24226.cpp:55:6: note: declared here
 bool dfs(int u,int fa,int root)
      ^
0_0_33927313_24226.cpp: In function 'int main()':
0_0_33927313_24226.cpp:76:12: error: invalid types 'int[int]' for array subscript
    vis[i][j]=0;
            ^
0_0_33927313_24226.cpp:95:17: error: 'root' was not declared in this scope
     if( dfs(i,i,root) )
                 ^


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-11-26 07:16:58, Gzip enabled