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_3134693_29556.cpp: In function `int main()':
0_0_3134693_29556.cpp:36: error: no match for 'operator==' in '(&ii)->std::_Rb_tree_iterator<_Tp>::operator* [with _Tp = std::pair<const std::string, std::string>]() == (&it)->std::_Rb_tree_const_iterator<_Tp>::operator* [with _Tp = std::string]()'
0_0_3134693_29556.cpp:37: error: no match for 'operator[]' in 'num[ii]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h:332: note: candidates are: _Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = std::string, _Tp = int, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, 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-10-06 20:35:35, Gzip enabled