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_7872806_16216.cpp: In function `int main()':
0_0_7872806_16216.cpp:29: error: ISO C++ forbids declaration of `itr' with no type
0_0_7872806_16216.cpp:29: error: cannot convert `std::_Rb_tree_iterator<std::pair<const int, std::pair<int, int> > >' to `int' in initialization
0_0_7872806_16216.cpp:29: error: no match for 'operator!=' in 'itr != (&ballon)->std::map<_Key, _Tp, _Compare, _Alloc>::end [with _Key = int, _Tp = std::pair<int, int>, _Compare = std::less<int>, _Alloc = std::allocator<std::pair<const int, std::pair<int, int> > >]()'
0_0_7872806_16216.cpp:30: error: base operand of `->' is not a pointer
0_0_7872806_16216.cpp:31: error: base operand of `->' is not a pointer
0_0_7872806_16216.cpp:32: error: base operand of `->' is not a pointer


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.015600(s) query 1, Server time : 2024-07-03 02:02:16, Gzip enabled