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_10435086_1706.cpp: In member function `void node::clear()':
0_0_10435086_1706.cpp:84: error: no matching function for call to `swap(std::vector<pt, std::allocator<pt> >&, std::vector<pt, std::allocator<pt> >)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:126: note: candidates are: void std::swap(_Tp&, _Tp&) [with _Tp = std::vector<pt, std::allocator<pt> >]
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_vector.h:929: note:                 void std::swap(std::vector<_Tp, _Alloc>&, std::vector<_Tp, _Alloc>&) [with _Tp = pt, _Alloc = std::allocator<pt>]
0_0_10435086_1706.cpp:85: error: no matching function for call to `swap(std::vector<pt, std::allocator<pt> >&, std::vector<pt, std::allocator<pt> >)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:126: note: candidates are: void std::swap(_Tp&, _Tp&) [with _Tp = std::vector<pt, std::allocator<pt> >]
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_vector.h:929: note:                 void std::swap(std::vector<_Tp, _Alloc>&, std::vector<_Tp, _Alloc>&) [with _Tp = pt, _Alloc = std::allocator<pt>]
0_0_10435086_1706.cpp: In function `void solve_test()':
0_0_10435086_1706.cpp:291: error: no matching function for call to `swap(std::vector<int, std::allocator<int> >&, std::vector<int, std::allocator<int> >)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:126: note: candidates are: void std::swap(_Tp&, _Tp&) [with _Tp = std::vector<int, std::allocator<int> >]
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_vector.h:929: note:                 void std::swap(std::vector<_Tp, _Alloc>&, std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator<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-18 04:49:36, Gzip enabled