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_4347502_5332.cpp
0_0_4347502_5332.cpp(65) : error C2668: “max” : 对重载函数的调用不明确
        0_0_4347502_5332.cpp(24): 可能是“T max<int>(T,T)”
        with
        [
            T=int
        ]
        VC\include\xutility(1242): 或       “const _Ty &std::max<int>(const _Ty &,const _Ty &)”
        with
        [
            _Ty=int
        ]
        试图匹配参数列表“(int, int)”时
0_0_4347502_5332.cpp(115) : error C2668: “max” : 对重载函数的调用不明确
        0_0_4347502_5332.cpp(24): 可能是“T max<int>(T,T)”
        with
        [
            T=int
        ]
        VC\include\xutility(1242): 或       “const _Ty &std::max<int>(const _Ty &,const _Ty &)”
        with
        [
            _Ty=int
        ]
        试图匹配参数列表“(int, int)”时
0_0_4347502_5332.cpp(118) : error C2668: “min” : 对重载函数的调用不明确
        0_0_4347502_5332.cpp(25): 可能是“T min<int>(T,T)”
        with
        [
            T=int
        ]
        VC\include\xutility(1257): 或       “const _Ty &std::min<int>(const _Ty &,const _Ty &)”
        with
        [
            _Ty=int
        ]
        试图匹配参数列表“(int, int)”时
0_0_4347502_5332.cpp(118) : error C2668: “min” : 对重载函数的调用不明确
        0_0_4347502_5332.cpp(25): 可能是“T min<int>(T,T)”
        with
        [
            T=int
        ]
        VC\include\xutility(1257): 或       “const _Ty &std::min<int>(const _Ty &,const _Ty &)”
        with
        [
            _Ty=int
        ]
        试图匹配参数列表“(int, 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.001000(s) query 1, Server time : 2024-06-28 02:31:29, Gzip enabled