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_11362104_3472.cpp:13: error: invalid token
0_0_11362104_3472.cpp:13: error: ISO C++ forbids declaration of `include' with no type
0_0_11362104_3472.cpp:13: error: expected `;' before '<' token
0_0_11362104_3472.cpp:21: error: ISO C++ forbids initialization of member `MOD'
0_0_11362104_3472.cpp:21: error: making `MOD' static
0_0_11362104_3472.cpp:22: error: ISO C++ forbids initialization of member `N'
0_0_11362104_3472.cpp:22: error: making `N' static
0_0_11362104_3472.cpp:24: error: `struct Node::Node' has the same name as the class in which it is declared
0_0_11362104_3472.cpp:33: error: `bool Node::operator<(const Node&, const Node&)' must take exactly one argument
0_0_11362104_3472.cpp:191: error: size of array `x' is too large
0_0_11362104_3472.cpp: In function `int main()':
0_0_11362104_3472.cpp:317: error: `x' undeclared (first use this function)
0_0_11362104_3472.cpp:317: 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_algo.h: In function `void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2472:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = Node::Node*, _Size = int]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2555:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
0_0_11362104_3472.cpp:157:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2276: error: no match for 'operator<' in '*__i < *__first'
0_0_11362104_3472.cpp:198: note: candidates are: bool operator<(const Node&, const Node&)
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&) [with _Tp = Node::Node]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2484:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = Node::Node*, _Size = int]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2555:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
0_0_11362104_3472.cpp:157:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:90: error: no match for 'operator<' in '__a < __b'
0_0_11362104_3472.cpp:198: note: candidates are: bool operator<(const Node&, const Node&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:91: error: no match for 'operator<' in '__b < __c'
0_0_11362104_3472.cpp:198: note: candidates are: bool operator<(const Node&, const Node&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:93: error: no match for 'operator<' in '__a < __c'
0_0_11362104_3472.cpp:198: note: candidates are: bool operator<(const Node&, const Node&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:97: error: no match for 'operator<' in '__a < __c'
0_0_11362104_3472.cpp:198: note: candidates are: bool operator<(const Node&, const Node&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:99: error: no match for 'operator<' in '__b < __c'
0_0_11362104_3472.cpp:198: note: candidates are: bool operator<(const Node&, const Node&)
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) [with _RandomAccessIterator = Node::Node*, _Tp = Node::Node]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2484:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = Node::Node*, _Size = int]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2555:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
0_0_11362104_3472.cpp:157:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2016: error: no match for 'operator<' in '*__first < __pivot'
0_0_11362104_3472.cpp:198: note: candidates are: bool operator<(const Node&, const Node&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2019: error: no match for 'operator<' in '__pivot < *__last'
0_0_11362104_3472.cpp:198: note: candidates are: bool operator<(const Node&, const Node&)
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) [with _RandomAccessIterator = Node::Node*]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2201:   instantiated from `void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2556:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
0_0_11362104_3472.cpp:157:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2119: error: no match for 'operator<' in '__val < *__first'
0_0_11362104_3472.cpp:198: note: candidates are: bool operator<(const Node&, const Node&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `void std::__unguarded_linear_insert(_RandomAccessIterator, _Tp) [with _RandomAccessIterator = Node::Node*, _Tp = Node::Node]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2125:   instantiated from `void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2201:   instantiated from `void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2556:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
0_0_11362104_3472.cpp:157:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2072: error: no match for 'operator<' in '__val < *__next'
0_0_11362104_3472.cpp:198: note: candidates are: bool operator<(const Node&, const Node&)
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) [with _RandomAccessIterator = Node::Node*, _Distance = int, _Tp = Node::Node]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:364:   instantiated from `void std::make_heap(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2274:   instantiated from `void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2472:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = Node::Node*, _Size = int]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2555:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
0_0_11362104_3472.cpp:157:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:216: error: no match for 'operator<' in '*((+(((unsigned int)__secondChild) * 8u)) + __first) < *((((Node::Node*)(((unsigned int)__secondChild) * 8u)) + __first) - 8u)'
0_0_11362104_3472.cpp:198: note: candidates are: bool operator<(const Node&, const Node&)
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) [with _RandomAccessIterator = Node::Node*, _Distance = int, _Tp = Node::Node]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:227:   instantiated from `void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp) [with _RandomAccessIterator = Node::Node*, _Distance = int, _Tp = Node::Node]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:364:   instantiated from `void std::make_heap(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = Node::Node*]'
GC


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-27 01:04:21, Gzip enabled