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_11910967_12945.cpp: In function `int partion(int*, int, int)':
0_0_11910967_12945.cpp:12: error: call of overloaded `swap(int&, int&)' is ambiguous
0_0_11910967_12945.cpp:6: note: candidates are: void swap(T&, T&) [with T = int]
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:126: note:                 void std::swap(_Tp&, _Tp&) [with _Tp = int]


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 13:20:04, Gzip enabled