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_7011736_13175.cpp:18: error: `opeartor' is neither function nor member function; cannot be declared friend
0_0_7011736_13175.cpp:18: error: expected `;' before '<' token
0_0_7011736_13175.cpp:21: error: expected `;' before '}' token
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_function.h: In member function `bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = State]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:279:   instantiated from `void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<State*, std::vector<State, std::allocator<State> > >, _Distance = int, _Tp = State, _Compare = std::less<State>]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:302:   instantiated from `void std::__pop_heap(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<State*, std::vector<State, std::allocator<State> > >, _Tp = State, _Compare = std::less<State>]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:330:   instantiated from `void std::pop_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<State*, std::vector<State, std::allocator<State> > >, _Compare = std::less<State>]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h:458:   instantiated from `void std::priority_queue<_Tp, _Sequence, _Compare>::pop() [with _Tp = State, _Sequence = std::vector<State, std::allocator<State> >, _Compare = std::less<State>]'
0_0_7011736_13175.cpp:27:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_function.h:227: error: no match for 'operator<' in '__x < __y'
0_0_7011736_13175.cpp: In function `int main()':
0_0_7011736_13175.cpp:100: error: `cnt' undeclared (first use this function)
0_0_7011736_13175.cpp:100: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_7011736_13175.cpp:115: error: expected primary-expression before '}' token
0_0_7011736_13175.cpp:115: error: expected `;' before '}' token


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 20:11:12, Gzip enabled