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

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++/map:60,
                 from 0_0_20484216_5151.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 = node]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:498:31:   required from 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = node; _Tp = long long int; _Compare = std::less<node>; _Alloc = std::allocator<std::pair<const node, long long int> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = long long int; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = node]'
0_0_20484216_5151.cpp:67:14:   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 node' and 'const 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++/map:60,
                 from 0_0_20484216_5151.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++/map:60,
                 from 0_0_20484216_5151.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const 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++/map:60,
                 from 0_0_20484216_5151.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++/map:60,
                 from 0_0_20484216_5151.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const 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++/map:60,
                 from 0_0_20484216_5151.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++/map:60,
                 from 0_0_20484216_5151.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const 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++/map:60,
                 from 0_0_20484216_5151.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++/map:60,
                 from 0_0_20484216_5151.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const 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++/map:60,
                 from 0_0_20484216_5151.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++/map:60,
                 from 0_0_20484216_5151.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const 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++/map:60:0,
                 from 0_0_20484216_5151.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++/map:60,
                 from 0_0_20484216_5151.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const 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++/string:52:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/stdexcept:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/array:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_20484216_5151.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2588:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2588: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++/map:60,
                 from 0_0_20484216_5151.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: note:   'const node' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
       { return __x < __y; }
     


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-10-06 18:22:15, Gzip enabled