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_11434407_2554.cpp
0_0_11434407_2554.cpp(33) : error C2668: “max” : 对重载函数的调用不明确
        0_0_11434407_2554.cpp(12): 可能是“elem max<int>(elem,elem)”
        with
        [
            elem=int
        ]
        VC\include\xutility(1242): 或       “const _Ty &std::max<int>(const _Ty &,const _Ty &)”
        with
        [
            _Ty=int
        ]
        试图匹配参数列表“(int, int)”时
0_0_11434407_2554.cpp(33) : error C2780: “const _Ty &std::max(const _Ty &,const _Ty &,_Pr)” : 应输入 3 个参数,却提供了 2 个
        VC\include\xutility(1250) : 参见“std::max”的声明
0_0_11434407_2554.cpp(34) : error C2668: “max” : 对重载函数的调用不明确
        0_0_11434407_2554.cpp(12): 可能是“elem max<__int64>(elem,elem)”
        with
        [
            elem=__int64
        ]
        VC\include\xutility(1242): 或       “const _Ty &std::max<__int64>(const _Ty &,const _Ty &)”
        with
        [
            _Ty=__int64
        ]
        试图匹配参数列表“(__int64, __int64)”时


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-06-29 16:44:31, Gzip enabled