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_28222352_29966.cpp: In function 'int Q()':
0_0_28222352_29966.cpp:58:23: error: could not convert 'M[i].std::map<_Key, _Tp, _Compare, _Alloc>::find<int, int, std::less<int>, std::allocator<std::pair<const int, int> > >((*(const key_type*)(& z)))' from 'std::map<int, int>::iterator {aka std::_Rb_tree_iterator<std::pair<const int, int> >}' to 'bool'
   else if(M[i].find(z))ans+=M[i][z];
                       ^


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-25 14:34:48, Gzip enabled