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_9241201_30960.cpp:43: error: expected `,' or `...' before '&' token
0_0_9241201_30960.cpp:43: error: ISO C++ forbids declaration of `edge' with no type
0_0_9241201_30960.cpp: In function `bool comp(int)':
0_0_9241201_30960.cpp:44: error: `e1' undeclared (first use this function)
0_0_9241201_30960.cpp:44: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_9241201_30960.cpp:44: error: `e2' undeclared (first use this function)
0_0_9241201_30960.cpp: In function `int kruskal()':
0_0_9241201_30960.cpp:48: error: no match for 'operator=' in 'tol_id = 0'
0_0_9241201_30960.cpp:32: note: candidates are: TOL& TOL::operator=(const TOL&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h: In function `void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = EDGE*, _Distance = int, _Tp = EDGE, _Compare = bool (*)(int)]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:404:   instantiated from `void std::make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2317:   instantiated from `void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2508:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = EDGE*, _Size = int, _Compare = bool (*)(int)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2591:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]'
0_0_9241201_30960.cpp:50:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:279: error: cannot convert `EDGE' to `int' in argument passing
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h: In function `void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = EDGE*, _Distance = int, _Tp = EDGE, _Compare = bool (*)(int)]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:291:   instantiated from `void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = EDGE*, _Distance = int, _Tp = EDGE, _Compare = bool (*)(int)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:404:   instantiated from `void std::make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2317:   instantiated from `void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2508:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = EDGE*, _Size = int, _Compare = bool (*)(int)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2591:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]'
0_0_9241201_30960.cpp:50:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:166: error: cannot convert `EDGE' to `int' in argument passing
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2508:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = EDGE*, _Size = int, _Compare = bool (*)(int)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2591:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]'
0_0_9241201_30960.cpp:50:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2319: error: cannot convert `EDGE' to `int' in argument passing
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&, _Compare) [with _Tp = EDGE, _Compare = bool (*)(int)]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2521:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = EDGE*, _Size = int, _Compare = bool (*)(int)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2591:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]'
0_0_9241201_30960.cpp:50:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:124: error: cannot convert `const EDGE' to `int' in argument passing
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:125: error: cannot convert `const EDGE' to `int' in argument passing
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:127: error: cannot convert `const EDGE' to `int' in argument passing
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:131: error: cannot convert `const EDGE' to `int' in argument passing
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:133: error: cannot convert `const EDGE' to `int' in argument passing
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, _Tp, _Compare) [with _RandomAccessIterator = EDGE*, _Tp = EDGE, _Compare = bool (*)(int)]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2521:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = EDGE*, _Size = int, _Compare = bool (*)(int)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2591:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]'
0_0_9241201_30960.cpp:50:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2041: error: cannot convert `EDGE' to `int' in argument passing
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2044: error: cannot convert `EDGE' to `int' in argument passing
0_0_9241201_30960.cpp: In function `int kruskal()':
0_0_9241201_30960.cpp:54: error: `edge' undeclared (first use this function)
0_0_9241201_30960.cpp:54: error: expected `;' before "e"
0_0_9241201_30960.cpp:55: error: `e' undeclared (first use this function)
0_0_9241201_30960.cpp:57: error: `u' undeclared (first use this function)
0_0_9241201_30960.cpp:57: error: `v' undeclared (first use this function)
0_0_9241201_30960.cpp:58: error: no match for 'operator[]' in 'tol[tol_id]'
0_0_9241201_30960.cpp:59: error: no match for 'operator[]' in 'tol[tol_id]'
0_0_9241201_30960.cpp: In function `int main()':
0_0_9241201_30960.cpp:81: error: no match for 'operator-' in 'tol_id - 1'
0_0_9241201_30960.cpp:86: error: `rgt' undeclared (first use this function)
0_0_9241201_30960.cpp:86: error: `mid' undeclared (first use this function)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2220:   instantiated from `void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2593:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = EDGE*, _Compare = bool (*)(int)]'
0_0_9241201_30960.cpp:50:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2145: error: cannot convert `EDGE' to `int' in argument passing
GCC/bin/../lib/gcc/mingw32/3.4.2


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-29 22:14:17, Gzip enabled