Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

max似乎是个函数 template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)

Posted by TheBeet at 2007-08-26 18:15:53
In Reply To:奇怪,dev c++ 编译不过,vc 却可以??大虾看看!! Posted by:sailors at 2007-08-26 17:40:37
make all 
Building file: ../test.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"test.d" -MT"test.d" -o"test.o" "../test.cpp"
../test.cpp: In function ‘int dfs(int)’:
../test.cpp:16: 错误: 对 ‘max’ 的引用有歧义
../test.cpp:5: 错误: candidates are: int max

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator