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_1115239_31423.cpp
0_0_1115239_31423.cpp(17) : 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::basic_string<_Elem,_Traits,_Ax>::size_type)”时
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]


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-29 02:40:10, Gzip enabled