0_0_2176305_1393.cpp:8: error: expected unqualified-id before ')' token
0_0_2176305_1393.cpp:8: error: expected `,' or `;' before '{' token
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h: In instantiation of `std::priority_queue<node, std::vector<node, std::allocator<node> >, cmp>':
0_0_2176305_1393.cpp:17: instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h:359: error: `std::priority_queue<_Tp, _Sequence, _Compare>::comp' has incomplete type
0_0_2176305_1393.cpp:8: error: forward declaration of `struct cmp'
0_0_2176305_1393.cpp:17: error: invalid use of undefined type `struct cmp'
0_0_2176305_1393.cpp:8: error: forward declaration of `struct cmp'
0_0_2176305_1393.cpp: In function `int main()':
0_0_2176305_1393.cpp:32: error: 'struct node' has no member named 'len'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h: In constructor `std::priority_queue<_Tp, _Sequence, _Compare>::priority_queue(const _Compare&, const _Sequence&) [with _Tp = node, _Sequence = std::vector<node, std::allocator<node> >, _Compare = cmp]':
0_0_2176305_1393.cpp:17: instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h:369: error: unnamed initializer for `std::priority_queue<node, std::vector<node, std::allocator<node> >, cmp>', which has no base classes
0_0_2176305_1393.cpp:17: instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h:369: error: `comp' undeclared (first use this function)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h:369: error: (Each undeclared identifier is reported only once for each function it appears in.)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h: In member function `void std::priority_queue<_Tp, _Sequence, _Compare>::pop() [with _Tp = node, _Sequence = std::vector<node, std::allocator<node> >, _Compare = cmp]':
0_0_2176305_1393.cpp:22: instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h:458: error: `comp' undeclared (first use this function)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h: In member function `void std::priority_queue<_Tp, _Sequence, _Compare>::push(const typename _Sequence::value_type&) [with _Tp = node, _Sequence = std::vector<node, std::allocator<node> >, _Compare = cmp]':
0_0_2176305_1393.cpp:25: instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h:432: error: `comp' undeclared (first use this function)
|