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_36642681_2154.cpp: In function 'int main()':
0_0_36642681_2154.cpp:73:64: error: 'query_path' was not declared in this scope
         for(int i=0;i<siz;i++) query_path(seg[i].u, seg[i].v, 0);
                                                                ^
0_0_36642681_2154.cpp:85:40: error: 'query_path' was not declared in this scope
             if(x==1) query_path(u, v, 0);
                                        ^
0_0_36642681_2154.cpp:86:36: error: 'query_path' was not declared in this scope
             else query_path(u, v, 1);
                                    ^
0_0_36642681_2154.cpp: In function 'void query_path(int, int, int)':
0_0_36642681_2154.cpp:110:28: error: too many arguments to function 'void add_edge(int, int)'
     else add_edge(uu, vv, v);
                            ^
0_0_36642681_2154.cpp:33:6: note: declared here
 void add_edge(int a, int b);
      ^


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-06-29 10:12:58, Gzip enabled