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_38505933_20192.cpp: In function 'void init()':
0_0_38505933_20192.cpp:21:57: error: request for member 'clear' in 'mp.std::map<_Key, _Tp, _Compare, _Alloc>::operator[]<long long int, long long int, std::less<long long int>, std::allocator<std::pair<const long long int, long long int> > >((*(const key_type*)(& i)))', which is of non-class type 'std::map<long long int, long long int>::mapped_type {aka long long int}'
  for(i=0; i<=28; ++i) v[i].clear(), f[i].clear(), mp[i].clear(); 
                                                         ^


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-22 20:28:17, Gzip enabled