0_0_13856536_7570.cpp: In function 'int main()':
0_0_13856536_7570.cpp:41:59: error: no match for 'operator+' (operand types are 'int' and 'std::map<int, ct>::iterator {aka std::_Rb_tree_iterator<std::pair<const int, ct> >}')
int sum=it->second.t[0]+it->second.t[1]+it->second.t[2]+it-
^
0_0_13856536_7570.cpp:41:59: note: candidates are:
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_13856536_7570.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:334:5: note: template<class _Iterator> std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&)
operator+(typename reverse_iterator<_Iterator>::difference_type __n,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:334:5: note: template argument deduction/substitution failed:
0_0_13856536_7570.cpp:41:60: note: 'std::map<int, ct>::iterator {aka std::_Rb_tree_iterator<std::pair<const int, ct> >}' is not derived from 'const std::reverse_iterator<_Iterator>'
int sum=it->second.t[0]+it->second.t[1]+it->second.t[2]+it-
^
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_13856536_7570.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1135:5: note: template<class _Iterator> std::move_iterator<_Iterator> std::operator+(typename std::move_iterator<_Iterator>::difference_type, const std::move_iterator<_Iterator>&)
operator+(typename move_iterator<_Iterator>::difference_type __n,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1135:5: note: template argument deduction/substitution failed:
0_0_13856536_7570.cpp:41:60: note: 'std::map<int, ct>::iterator {aka std::_Rb_tree_iterator<std::pair<const int, ct> >}' is not derived from 'const std::move_iterator<_Iterator>'
int sum=it->second.t[0]+it->second.t[1]+it->second.t[2]+it-
^
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_13856536_7570.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2384:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> 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:2384:5: note: template argument deduction/substitution failed:
0_0_13856536_7570.cpp:41:60: note: mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and 'int'
int sum=it->second.t[0]+it->second.t[1]+it->second.t[2]+it-
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:53: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_13856536_7570.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:692:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator+(const _CharT* __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:692:5: note: template argument deduction/substitution failed:
0_0_13856536_7570.cpp:41:60: note: mismatched types 'const _CharT*' and 'int'
int sum=it->second.t[0]+it->second.t[1]+it->second.t[2]+it-
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:53: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_13856536_7570.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:708:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:708:5: note: template argument deduction/substitution failed:
0_0_13856536_7570.cpp:41:60: note: 'std::map<int, ct>::iterator {aka std::_Rb_tree_iterator<std::pair<const int, ct> >}' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
int sum=it->second.t[0]+it->second.t[1]+it->second.t[2]+it-
^
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_13856536_7570.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2421:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2421:5: note: template argument deduction/substitution failed:
0_0_13856536_7570.cpp:41:60: note: mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and 'int'
int sum=it->second.t[0]+it->second.t[1]+it->second.t[2]+it-
^
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_13856536_7570.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2437:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2437:5: note: template argument deduction/substitution failed:
0_0_13856536_7570.cpp:41:60: note: mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and 'int'
int sum=it->second.t[0]+it->second.t[1]+it->second.t[2]+it-
^
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_13856536_7570.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h
|