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

0_0_5294901_21927.cpp: In function `void Ins(int, int)':
0_0_5294901_21927.cpp:20: error: no matching function for call to `std::map<char, int, std::less<char>, std::allocator<std::pair<const char, int> > >::count(std::map<char, int, std::less<char>, std::allocator<std::pair<const char, int> > >&)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h:525: note: candidates are: typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const _Key&) const [with _Key = char, _Tp = int, _Compare = std::less<char>, _Alloc = std::allocator<std::pair<const char, int> >]
0_0_5294901_21927.cpp: In function `void AC()':
0_0_5294901_21927.cpp:34: error: no match for 'operator<' in 'it < ((std::map<char, int, std::less<char>, std::allocator<std::pair<const char, int> > >*)(&chd))->std::map<_Key, _Tp, _Compare, _Alloc>::end [with _Key = char, _Tp = int, _Compare = std::less<char>, _Alloc = std::allocator<std::pair<const char, int> >]()'
0_0_5294901_21927.cpp:40: error: no match for 'operator<' in 'it < ((+(((unsigned int)p) * 24u)) + ((std::map<char, int, std::less<char>, std::allocator<std::pair<const char, int> > >*)(&chd)))->std::map<_Key, _Tp, _Compare, _Alloc>::end [with _Key = char, _Tp = int, _Compare = std::less<char>, _Alloc = std::allocator<std::pair<const char, int> >]()'


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 08:45:42, Gzip enabled