Borderou de evaluare (job #574984)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bile3 | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 dec. 2020 16:46:36 | Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.6/map:61:0,
from /usr/include/c++/4.6/i686-linux-gnu/./bits/stdc++.h:80,
from user.cpp:1:
/usr/include/c++/4.6/bits/stl_map.h: In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int, std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<int, int>]’:
user.cpp:93:31: instantiated from here
/usr/include/c++/4.6/bits/stl_map.h:452:2: error: no match for call to ‘(std::map<std::pair<int, int>, int, pair_hash>::key_compare {aka pair_hash}) (const key_type&, const std::pair<int, int>&)’
user.cpp:34:8: note: candidate is:
user.cpp:36:17: note: template<class T1, class T2> std::size_t pair_hash::operator()(const std::pair<_T1, _T2>&) const
/usr/include/c++/4.6/bits/stl_map.h: In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](std::map<_Key, _Tp, _Compare, _Alloc>::key_type&&) [with _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int, std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<int, int>]’:
user.cpp:110:56: instantiated from here
/usr/include/c++/4.6/bits/stl_map.h:466:2: error: no match for call to ‘(std::map<std::pair<int, int>, int, pair_hash>::key_compare {aka pair_hash}) (std::map<std::pair<int, int>, int, pair_hash>::key_type&, const std::pair<int, int>&)’
user.cpp:34:8: note: candidate is:
user.cpp:36:17: note: template<class T1, class T2> std::size_t pair_hash::operator()(const std::pair<_T1, _T2>&) const
In file included from /usr/include/c++/4.6/map:60:0,
from /usr/include/c++/4.6/i686-linux-gnu/./bits/stdc++.h:80,
from user.cpp:1:
/usr/include/c++/4.6/bits/stl_tree.h: In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique_(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Arg&&) [with _Arg = std::pair<const std::pair<int, int>, int>, _Key = std::pair<int, int>, _Val = std::pair<const std::pair<int, int>, int>, _KeyOfValue = std::_Select1st<std::pair<const std::pair<int, int>, int> >, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::pair<int, int>, int> >, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::pair<int, int>, int> >]’:
/usr/include/c++/4.6/bits/stl_map.h:580:30: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Pair&&) [with _Pair = std::pair<const std::pair<int, int>, int>, <template-parameter-2-2> = void, _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::pair<int, int>, int> >]’
/usr/include/c++/4.6/bits/stl_map.h:453:11: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int, std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<int, int>]’
user.cpp:93:31: instantiated from here
/usr/include/c++/4.6/bits/stl_tree.h:1335:4: error: no match for call to ‘(pair_hash) (const std::pair<int, int>&, std::pair<const std::pair<int, int>, int>::first_type&)’
user.cpp:34:8: note: candidate is:
user.cpp:36:17: note: template<class T1, class T2> std::size_t pair_hash::operator()(const std::pair<_T1, _T2>&) const
/usr/include/c++/4.6/bits/stl_map.h:580:30: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Pair&&) [with _Pair = std::pair<const std::pair<int, int>, int>, <template-parameter-2-2> = void, _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::pair<int, int>, int> >]’
/usr/include/c++/4.6/bits/stl_map.h:453:11: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int, std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<int, int>]’
user.cpp:93:31: instantiated from here
/usr/include/c++/4.6/bits/stl_tree.h:1342:12: error: no match for call to ‘(pair_hash) (std::pair<const std::pair<int, int>, int>::first_type&, const std::pair<int, int>&)’
user.cpp:34:8: note: candidate is:
user.cpp:36:17: note: template<class T1, class T2> std::size_t pair_hash::operator()(const std::pair<_T1, _T2>&) const
/usr/include/c++/4.6/bits/stl_map.h:580:30: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Pair&&) [with _Pair = std::pair<const std::pair<int, int>, int>, <template-parameter-2-2> = void, _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::pair<int, int>, int> >]’
/usr/include/c++/4.6/bits/stl_map.h:453:11: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int, std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<int, int>]’
user.cpp:93:31: instantiated from here
/usr/include/c++/4.6/bits/stl_tree.h:1350:9: error: no match for call to ‘(pair_hash) (const std::pair<int, int>&, std::pair<const std::pair<int, int>, int>::first_type&)’
user.cpp:34:8: note: candidate is:
user.cpp:36:17: note: template<class T1, class T2> std::size_t pair_hash::operator()(const std::pair<_T1, _T2>&) const
/usr/include/c++/4.6/bits/stl_map.h:580:30: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Pair&&) [with _Pair = std::pair<const std::pair<int, int>, int>, <template-parameter-2-2> = void, _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::pair<int, int>, int> >]’
/usr/include/c++/4.6/bits/stl_map.h:453:11: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int, std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<int, int>]’
user.cpp:93:31: instantiated from here
/usr/include/c++/4.6/bits/stl_tree.h:1364:12: error: no match for call to ‘(pair_hash) (const std::pair<int, int>&, std::pair<const std::pair<int, int>, int>::first_type&)’
user.cpp:34:8: note: candidate is:
user.cpp:36:17: note: template<class T1, class T2> std::size_t pair_hash::operator()(const std::pair<_T1, _T2>&) const
/usr/include/c++/4.6/bits/stl_map.h:580:30: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Pair&&) [with _Pair = std::pair<const std::pair<int, int>, int>, <template-parameter-2-2> = void, _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::pair<int, int>, int> >]’
/usr/include/c++/4.6/bits/stl_map.h:453:11: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int, std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<int, int>]’
user.cpp:93:31: instantiated from here
/usr/include/c++/4.6/bits/stl_tree.h:1372:9: error: no match for call to ‘(pair_hash) (std::pair<const std::pair<int, int>, int>::first_type&, const std::pair<int, int>&)’
user.cpp:34:8: note: candidate is:
user.cpp:36:17: note: template<class T1, class T2> std::size_t pair_hash::operator()(const std::pair<_T1, _T2>&) const
/usr/include/c++/4.6/bits/stl_tree.h: In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique_(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Arg&&) [with _Arg = std::pair<std::pair<int, int>, int>, _Key = std::pair<int, int>, _Val = std::pair<const std::pair<int, int>, int>, _KeyOfValue = std::_Select1st<std::pair<const std::pair<int, int>, int> >, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::pair<int, int>, int> >, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::pair<int, int>, int> >]’:
/usr/include/c++/4.6/bits/stl_map.h:580:30: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Pair&&) [with _Pair = std::pair<std::pair<int, int>, int>, <template-parameter-2-2> = void, _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::pair<int, int>, int> >]’
/usr/include/c++/4.6/bits/stl_map.h:467:11: instantiated from ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](std::map<_Key, _Tp, _Compare, _Alloc>::key_type&&) [with _Key = std::pair<int, int>, _Tp = int, _Compare = pair_hash, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >, std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = int, std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::pair<int, int>]’