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_13917509_7498.cpp:9:16: error: 'vetor' was not declared in this scope
 int findFather(vetor<int>& father, int x){
                ^
0_0_13917509_7498.cpp:9:22: error: expected primary-expression before 'int'
 int findFather(vetor<int>& father, int x){
                      ^
0_0_13917509_7498.cpp:9:36: error: expected primary-expression before 'int'
 int findFather(vetor<int>& father, int x){
                                    ^
0_0_13917509_7498.cpp:9:41: error: expression list treated as compound expression in initializer [-fpermissive]
 int findFather(vetor<int>& father, int x){
                                         ^
0_0_13917509_7498.cpp:9:42: error: expected ',' or ';' before '{' token
 int findFather(vetor<int>& father, int x){
                                          ^
0_0_13917509_7498.cpp: In function 'int kruskal(std::vector<std::pair<int, std::pair<int, int> > >&, int)':
0_0_13917509_7498.cpp:25:30: error: 'findFather' cannot be used as a function
   int vfa=findFather(father,v);
                              ^
0_0_13917509_7498.cpp:26:30: error: 'findFather' cannot be used as a function
   int ufa=findFather(father,u);
                              ^


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-09-28 21:15:30, Gzip enabled