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_11405886_15383.cpp: In function `void init()':
0_0_11405886_15383.cpp:32: error: no matching function for call to `std::map<int, int, std::less<int>, std::allocator<std::pair<const int, int> > >::swap(std::map<int, int, std::less<int>, std::allocator<std::pair<const int, int> > >)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h:455: note: candidates are: void std::map<_Key, _Tp, _Compare, _Alloc>::swap(std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = int, _Tp = int, _Compare = std::less<int>, _Alloc = std::allocator<std::pair<const int, int> >]
0_0_11405886_15383.cpp: In function `void pro(int, int, int)':
0_0_11405886_15383.cpp:58: error: no matching function for call to `std::map<int, int, std::less<int>, std::allocator<std::pair<const int, int> > >::swap(std::map<int, int, std::less<int>, std::allocator<std::pair<const int, int> > >)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h:455: note: candidates are: void std::map<_Key, _Tp, _Compare, _Alloc>::swap(std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = int, _Tp = int, _Compare = std::less<int>, _Alloc = std::allocator<std::pair<const int, 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 00:30:40, Gzip enabled