In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_20205500_9518.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h: In instantiation of 'struct std::_Rb_tree<int, int, std::_Identity<int>, std::greater<int>(), std::allocator<int> >::_Rb_tree_impl<std::greater<int>(), false>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:489:31: required from 'class std::_Rb_tree<int, int, std::_Identity<int>, std::greater<int>(), std::allocator<int> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:117:17: required from 'class std::multiset<int, std::greater<int>()>'
0_0_20205500_9518.cpp:8:30: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:457:18: error: field 'std::_Rb_tree<int, int, std::_Identity<int>, std::greater<int>(), std::allocator<int> >::_Rb_tree_impl<std::greater<int>(), false>::_M_key_compare' invalidly declared function type
_Key_compare _M_key_compare;
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h: In instantiation of 'class std::_Rb_tree<int, int, std::_Identity<int>, std::greater<int>(), std::allocator<int> >':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:117:17: required from 'class std::multiset<int, std::greater<int>()>'
0_0_20205500_9518.cpp:8:30: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:722:7: error: function returning a function
key_comp() const
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:86,
from 0_0_20205500_9518.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h: In instantiation of 'class std::multiset<int, std::greater<int>()>':
0_0_20205500_9518.cpp:8:30: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:313:7: error: function returning a function
key_comp() const
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:317:7: error: function returning a function
value_comp() const
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_20205500_9518.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h: In instantiation of 'std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_equal_pos(const key_type&) [with _Key = int; _Val = int; _KeyOfValue = std::_Identity<int>; _Compare = std::greater<int>(); _Alloc = std::allocator<int>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::key_type = int]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1522:46: required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_equal(_Arg&&) [with _Arg = int; _Key = int; _Val = int; _KeyOfValue = std::_Identity<int>; _Compare = std::greater<int>(); _Alloc = std::allocator<int>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<int>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:498:51: required from 'std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare, _Alloc>::insert(std::multiset<_Key, _Compare, _Alloc>::value_type&&) [with _Key = int; _Compare = std::greater<int>(); _Alloc = std::allocator<int>; std::multiset<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<int>; std::multiset<_Key, _Compare, _Alloc>::value_type = int]'
0_0_20205500_9518.cpp:28:23: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1476:51: error: too many arguments to function
__x = _M_impl._M_key_compare(__k, _S_key(__x)) ?
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1476:51: error: could not convert '((std::_Rb_tree<int, int, std::_Identity<int>, std::greater<int>(), std::allocator<int> >*)this)->std::_Rb_tree<int, int, std::_Identity<int>, std::greater<int>(), std::allocator<int> >::_M_impl.std::_Rb_tree<int, int, std::_Identity<int>, std::greater<int>(), std::allocator<int> >::_Rb_tree_impl<std::greater<int>(), false>::_M_key_compare()' from 'std::greater<int>' to 'bool'
GCC4.9.2/x86_64-w64-mingw32/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_insert_(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr, _Arg&&) [with _Arg = int; _Key = int; _Val = int; _KeyOfValue = std::_Identity<int>; _Compare = std::greater<int>(); _Alloc = std::allocator<int>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<int>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr = std::_Rb_tree_node_base*]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1523:79: required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_equal(_Arg&&) [with _Arg = int; _Key = int; _Val = int; _KeyOfValue = std::_Identity<int>; _Compare = std::greater<int>(); _Alloc = std::allocator<int>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<int>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:498:51: required from 'std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare, _Alloc>::insert(std::multiset<_Key, _Compare, _Alloc>::value_type&&) [with _Key = int; _Compare = std::greater<int>(); _Alloc = std::allocator<int>; std::multiset<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<int>; std::multiset<_Key, _Compare, _Alloc>::value_type = int]'
0_0_20205500_9518.cpp:28:23: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1140:8: error: too many arguments to function
|| _M_impl._M_key_compare(_KeyOfValue()(__v),
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1140:8: error: no match for 'operator||' (operand types are 'bool' and 'std::greater<int>')
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1140:8: note: candidates are:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1140:8: note: operator||(bool, bool) <built-in>
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1140:8: note: no known conversion for argument 2 from 'std::greater<int>' to 'bool'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:587:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94,
from 0_0_20205500_9518.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:413:5: note: template<class _Dom1, class _Dom2> std::_Expr<std::_BinClos<std::__logical_or, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__logical_or, typename _Dom1::value_type>::result_type> std::operator||(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::_Expr<_Dom2, typename _Dom2::value_type>&)
_DEFINE_EXPR_BINARY_OPERATOR(||, __logical_or)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_20205500_9518.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1140:8: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'bool'
|| _M_impl._M_key_compare(_KeyOfValue()(__v),
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:587:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94,
from 0_0_20205500_9518.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:413:5: note: template<class _Dom> std::_Expr<std::_BinClos<std::__logical_or, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__logical_or, typename _Dom1::value_type>::result_type> std::operator||(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)
_DEFINE_EXPR_BINARY_OPERATOR(||, __logical_or)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_20205500_9518.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1140:8: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'bool'
|| _M_impl._M_key_compare
|