Banner Home Page DIY Contests Problems Ranklist Status Statistics
pdf版的题目下载:初赛goo.gl/rfbDY,决赛goo.gl/fNcyY。K题请使用GUN C++提交,用VC/VC++提交会返回RE。

View Compilation Error

D:\HDOJ\temp\2_14855_1021519_18316.cpp: In function `int main()':
D:\HDOJ\temp\2_14855_1021519_18316.cpp:138: error: call of overloaded `min(double&, double)' is ambiguous
D:\HDOJ\temp\2_14855_1021519_18316.cpp:21: note: candidates are: T min(T, T) [with T = double]
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:151: note:                 const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = double]
D:\HDOJ\temp\2_14855_1021519_18316.cpp:150: error: call of overloaded `min(double&, double)' is ambiguous
D:\HDOJ\temp\2_14855_1021519_18316.cpp:21: note: candidates are: T min(T, T) [with T = double]
/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:151: note:                 const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = double]