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 gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/map:63,
                 from .\stdc++.h:152:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h: In instantiation of 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::pair<long long int, long long int>; _Tp = std::vector<long long int>; _Compare = HashCmp; _Alloc = std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >; mapped_type = std::vector<long long int>; key_type = std::pair<long long int, long long int>]':
0_0_38710659_23658.cpp:91:22:   required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:509:39: error: no match for call to '(std::map<std::pair<long long int, long long int>, std::vector<long long int>, HashCmp>::key_compare {aka HashCmp}) (const std::map<std::pair<long long int, long long int>, std::vector<long long int>, HashCmp>::key_type&, const std::pair<long long int, long long int>&)'
  509 |         if (__i == end() || key_comp()(__k, (*__i).first))
      |                             ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
0_0_38710659_23658.cpp:68:8: note: candidate: 'll HashCmp::operator()(const std::pair<long long int, long long int>&) const'
   68 |     ll operator()(const pair<ll,ll>& rhs) const {
      |        ^~~~~~~~
0_0_38710659_23658.cpp:68:8: note:   candidate expects 1 argument, 2 provided
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h: In instantiation of 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::pair<long long int, long long int>; _Tp = std::vector<std::pair<int, long long int> >; _Compare = HashCmp; _Alloc = std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<std::pair<int, long long int> > > >; mapped_type = std::vector<std::pair<int, long long int> >; key_type = std::pair<long long int, long long int>]':
0_0_38710659_23658.cpp:111:19:   required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:509:39: error: no match for call to '(std::map<std::pair<long long int, long long int>, std::vector<std::pair<int, long long int> >, HashCmp>::key_compare {aka HashCmp}) (const std::map<std::pair<long long int, long long int>, std::vector<std::pair<int, long long int> >, HashCmp>::key_type&, const std::pair<long long int, long long int>&)'
  509 |         if (__i == end() || key_comp()(__k, (*__i).first))
      |                             ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
0_0_38710659_23658.cpp:68:8: note: candidate: 'll HashCmp::operator()(const std::pair<long long int, long long int>&) const'
   68 |     ll operator()(const pair<ll,ll>& rhs) const {
      |        ^~~~~~~~
0_0_38710659_23658.cpp:68:8: note:   candidate expects 1 argument, 2 provided
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/map:62:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_tree.h: In instantiation of 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) const [with _Key = std::pair<long long int, long long int>; _Val = std::pair<const std::pair<long long int, long long int>, std::vector<long long int> >; _KeyOfValue = std::_Select1st<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >; _Compare = HashCmp; _Alloc = std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >; const_iterator = std::_Rb_tree<std::pair<long long int, long long int>, std::pair<const std::pair<long long int, long long int>, std::vector<long long int> >, std::_Select1st<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >, HashCmp, std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > > >::const_iterator]':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:1264:25:   required from 'std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::pair<long long int, long long int>; _Tp = std::vector<long long int>; _Compare = HashCmp; _Alloc = std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >; size_type = long long unsigned int; key_type = std::pair<long long int, long long int>]'
0_0_38710659_23658.cpp:125:21:   required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_tree.h:2547:40: error: no match for call to '(const HashCmp) (const std::pair<long long int, long long int>&, const std::pair<long long int, long long int>&)'
 2547 |               || _M_impl._M_key_compare(__k,
      |                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~
 2548 |                                         _S_key(__j._M_node))) ? end() : __j;
      |                                         ~~~~~~~~~~~~~~~~~~~~
0_0_38710659_23658.cpp:68:8: note: candidate: 'll HashCmp::operator()(const std::pair<long long int, long long int>&) const'
   68 |     ll operator()(const pair<ll,ll>& rhs) const {
      |        ^~~~~~~~
0_0_38710659_23658.cpp:68:8: note:   candidate expects 1 argument, 2 provided
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_tree.h: In instantiation of 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_lower_bound(_Const_Link_type, _Const_Base_ptr, const _Key&) const [with _Key = std::pair<long long int, long long int>; _Val = std::pair<const std::pair<long long int, long long int>, std::vector<long long int> >; _KeyOfValue = std::_Select1st<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >; _Compare = HashCmp; _Alloc = std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >; const_iterator = std::_Rb_tree<std::pair<long long int, long long int>, std::pair<const std::pair<long long int, long long int>, std::vector<long long int> >, std::_Select1st<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >, HashCmp, std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > > >::const_iterator; _Const_Link_type = const std::_Rb_tree_node<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >*; _Const_Base_ptr = const std::_Rb_tree_node_base*]':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_tree.h:2545:42:   required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) const [with _Key = std::pair<long long int, long long int>; _Val = std::pair<const std::pair<long long int, long long int>, std::vector<long long int> >; _KeyOfValue = std::_Select1st<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >; _Compare = HashCmp; _Alloc = std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >; const_iterator = std::_Rb_tree<std::pair<long long int, long long int>, std::pair<const std::pair<long long int, long long int>, std::vector<long long int> >, std::_Select1st<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >, HashCmp, std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > > >::const_iterator]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:1264:25:   required from 'std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::pair<long long int, long long int>; _Tp = std::vector<long long int>; _Compare = HashCmp; _Alloc = std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >; size_type = long long unsigned int; key_type = std::pair<long long int, long long int>]'
0_0_38710659_23658.cpp:125:21:   required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_tree.h:1968:36: error: no match for call to '(const HashCmp) (const std::pair<long long int, long long int>&, const std::pair<long long int, long long int>&)'
 1968 |         if (!_M_impl._M_key_compare(_S_key(__x), __k))
      |              ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
0_0_38710659_23658.cpp:68:8: note: candidate: 'll HashCmp::operator()(const std::pair<long long int, long long int>&) const'
   68 |     ll operator()(const pair<ll,ll>& rhs) const {
      |        ^~~~~~~~
0_0_38710659_23658.cpp:68:8: note:   candidate expects 1 argument, 2 provided
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_tree.h: In instantiation of 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_lower_bound(_Link_type, _Base_ptr, const _Key&) [with _Key = std::pair<long long int, long long int>; _Val = std::pair<const std::pair<long long int, long long int>, std::vector<long long int> >; _KeyOfValue = std::_Select1st<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >; _Compare = HashCmp; _Alloc = std::allocator<std::pair<const std::pair<long long int, long long int>, std::vector<long long int> > >; iterator = std::_Rb_tree<std::pair<long long int, long long int>, std::pair<const std::pair<long long int, long long int>, std::vector<long long int> >, std::_Select1st<std::pair<const std::pair<long long int, long long int>, std::vector<long long


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-26 16:21:58, Gzip enabled