0_0_37198522_32720.cpp: In function 'int main()':
0_0_37198522_32720.cpp:17:9: error: no match for 'operator=' (operand types are 'std::map<char, int>::iterator {aka std::_Rb_tree_iterator<std::pair<const char, int> >}' and 'std::map<char, long long int>::iterator {aka std::_Rb_tree_iterator<std::pair<const char, long long int> >}')
for(it=mp.begin();it!=mp.end();it++)
^
0_0_37198522_32720.cpp:17:9: note: candidates are:
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_37198522_32720.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:172:12: note: std::_Rb_tree_iterator<std::pair<const char, int> >& std::_Rb_tree_iterator<std::pair<const char, int> >::operator=(const std::_Rb_tree_iterator<std::pair<const char, int> >&)
struct _Rb_tree_iterator
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:172:12: note: no known conversion for argument 1 from 'std::map<char, long long int>::iterator {aka std::_Rb_tree_iterator<std::pair<const char, long long int> >}' to 'const std::_Rb_tree_iterator<std::pair<const char, int> >&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:172:12: note: std::_Rb_tree_iterator<std::pair<const char, int> >& std::_Rb_tree_iterator<std::pair<const char, int> >::operator=(std::_Rb_tree_iterator<std::pair<const char, int> >&&)
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:172:12: note: no known conversion for argument 1 from 'std::map<char, long long int>::iterator {aka std::_Rb_tree_iterator<std::pair<const char, long long int> >}' to 'std::_Rb_tree_iterator<std::pair<const char, int> >&&'
0_0_37198522_32720.cpp:17:23: error: no match for 'operator!=' (operand types are 'std::map<char, int>::iterator {aka std::_Rb_tree_iterator<std::pair<const char, int> >}' and 'std::map<char, long long int>::iterator {aka std::_Rb_tree_iterator<std::pair<const char, long long int> >}')
for(it=mp.begin();it!=mp.end();it++)
^
0_0_37198522_32720.cpp:17:23: note: candidates are:
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_37198522_32720.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:235:7: note: bool std::_Rb_tree_iterator<_Tp>::operator!=(const _Self&) const [with _Tp = std::pair<const char, int>; std::_Rb_tree_iterator<_Tp>::_Self = std::_Rb_tree_iterator<std::pair<const char, int> >]
operator!=(const _Self& __x) const _GLIBCXX_NOEXCEPT
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:235:7: note: no known conversion for argument 1 from 'std::map<char, long long int>::iterator {aka std::_Rb_tree_iterator<std::pair<const char, long long int> >}' to 'const _Self& {aka const std::_Rb_tree_iterator<std::pair<const char, int> >&}'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37198522_32720.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:221:5: note: template<class _StateT> bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:221:5: note: template argument deduction/substitution failed:
0_0_37198522_32720.cpp:17:32: note: 'std::map<char, int>::iterator {aka std::_Rb_tree_iterator<std::pair<const char, int> >}' is not derived from 'const std::fpos<_StateT>'
for(it=mp.begin();it!=mp.end();it++)
^
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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37198522_32720.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:227: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:227:5: note: template argument deduction/substitution failed:
0_0_37198522_32720.cpp:17:32: note: 'std::map<char, int>::iterator {aka std::_Rb_tree_iterator<std::pair<const char, int> >}' is not derived from 'const std::pair<_T1, _T2>'
for(it=mp.begin();it!=mp.end();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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37198522_32720.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:304: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:304:5: note: template argument deduction/substitution failed:
0_0_37198522_32720.cpp:17:32: note: 'std::map<char, int>::iterator {aka std::_Rb_tree_iterator<std::pair<const char, int> >}' is not derived from 'const std::reverse_iterator<_Iterator>'
for(it=mp.begin();it!=mp.end();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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37198522_32720.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:354: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:354:5: note: template argument deduction/substitution failed:
0_0_37198522_32720.cpp:17:32: note: 'std::map<char, int>::iterator {aka std::_Rb_tree_iterator<std::pair<const char, int> >}' is not derived from 'const std::reverse_iterator<_Iterator>'
for(it=mp.begin();it!=mp.end();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/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37198522_32720.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1060:5: note: template<class _Iterato
|