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_12002918_5778.cpp
0_0_12002918_5778.cpp(89) : error C2668: “abs” : 对重载函数的调用不明确
        VC\include\math.h(584): 可能是“long double abs(long double)”
        VC\include\math.h(536): 或       “float abs(float)”
        VC\include\math.h(530): 或       “double abs(double)”
        VC\include\math.h(528): 或       “long abs(long)”
        VC\include\stdlib.h(265): 或       “int abs(int)”
        试图匹配参数列表“(std::allocator<_Ty>::value_type)”时
        with
        [
            _Ty=__int64
        ]
0_0_12002918_5778.cpp(94) : error C2668: “abs” : 对重载函数的调用不明确
        VC\include\math.h(584): 可能是“long double abs(long double)”
        VC\include\math.h(536): 或       “float abs(float)”
        VC\include\math.h(530): 或       “double abs(double)”
        VC\include\math.h(528): 或       “long abs(long)”
        VC\include\stdlib.h(265): 或       “int abs(int)”
        试图匹配参数列表“(std::allocator<_Ty>::value_type)”时
        with
        [
            _Ty=__int64
        ]
0_0_12002918_5778.cpp(94) : error C2780: “const _Ty &std::min(const _Ty &,const _Ty &,_Pr)” : 应输入 3 个参数,却提供了 2 个
        VC\include\xutility(1265) : 参见“std::min”的声明
0_0_12002918_5778.cpp(139) : error C2668: “abs” : 对重载函数的调用不明确
        VC\include\math.h(584): 可能是“long double abs(long double)”
        VC\include\math.h(536): 或       “float abs(float)”
        VC\include\math.h(530): 或       “double abs(double)”
        VC\include\math.h(528): 或       “long abs(long)”
        VC\include\stdlib.h(265): 或       “int abs(int)”
        试图匹配参数列表“(std::allocator<_Ty>::value_type)”时
        with
        [
            _Ty=__int64
        ]
0_0_12002918_5778.cpp(144) : error C2668: “abs” : 对重载函数的调用不明确
        VC\include\math.h(584): 可能是“long double abs(long double)”
        VC\include\math.h(536): 或       “float abs(float)”
        VC\include\math.h(530): 或       “double abs(double)”
        VC\include\math.h(528): 或       “long abs(long)”
        VC\include\stdlib.h(265): 或       “int abs(int)”
        试图匹配参数列表“(std::allocator<_Ty>::value_type)”时
        with
        [
            _Ty=__int64
        ]
0_0_12002918_5778.cpp(144) : error C2780: “const _Ty &std::min(const _Ty &,const _Ty &,_Pr)” : 应输入 3 个参数,却提供了 2 个
        VC\include\xutility(1265) : 参见“std::min”的声明


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-11-26 11:39:14, Gzip enabled