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_23262913_8853.cpp:13:2: error: 'QIO' does not name a type
 }QIO;
  ^
0_0_23262913_8853.cpp:84:29: error: 'bool QuickIO::operator<(QuickIO::node, QuickIO::node)' must take exactly one argument
 bool operator<(node a,node b)
                             ^
0_0_23262913_8853.cpp:225:1: error: expected '}' at end of input
 } 
 ^
0_0_23262913_8853.cpp:225:1: error: expected unqualified-id at end of input
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h: In instantiation of 'bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = QuickIO::node]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1915:8:   required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) [with _Key = QuickIO::node; _Val = QuickIO::node; _KeyOfValue = std::_Identity<QuickIO::node>; _Compare = std::less<QuickIO::node>; _Alloc = std::allocator<QuickIO::node>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<QuickIO::node>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:684:29:   required from 'std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare, _Alloc>::find(const key_type&) [with _Key = QuickIO::node; _Compare = std::less<QuickIO::node>; _Alloc = std::allocator<QuickIO::node>; std::multiset<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<QuickIO::node>; std::multiset<_Key, _Compare, _Alloc>::key_type = QuickIO::node]'
0_0_23262913_8853.cpp:152:34:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: error: no match for 'operator<' (operand types are 'const QuickIO::node' and 'const QuickIO::node')
       { return __x < __y; }
                    ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:220:5: note: template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:220:5: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const QuickIO::node' is not derived from 'const std::pair<_T1, _T2>'
       { return __x < __y; }
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:298:5: note: template<class _Iterator> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
     operator<(const reverse_iterator<_Iterator>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:298:5: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const QuickIO::node' is not derived from 'const std::reverse_iterator<_Iterator>'
       { return __x < __y; }
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:348:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator<(const reverse_iterator<_IteratorL>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:348:5: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const QuickIO::node' is not derived from 'const std::reverse_iterator<_Iterator>'
       { return __x < __y; }
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1072:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
     operator<(const move_iterator<_IteratorL>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1072:5: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const QuickIO::node' is not derived from 'const std::move_iterator<_Iterator>'
       { return __x < __y; }
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1078:5: note: template<class _Iterator> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
     operator<(const move_iterator<_Iterator>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1078:5: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const QuickIO::node' is not derived from 'const std::move_iterator<_Iterator>'
       { return __x < __y; }
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60:0,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:980:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator<(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
     operator<(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:980:5: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:60,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const QuickIO::node' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
       { return __x < __y; }
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:61:0,
                 from 0_0_23262913_8853.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:810:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator<(const std::set<_Key, _Compare, _Alloc>&, const std::set<_Key, _Compare, _Alloc>&)
     operator<(const set<_Key, _Compare, _Alloc>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/inc


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 17:28:40, Gzip enabled