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_4937222_7128.cpp
0_0_4937222_7128.cpp(13) : error C2665: “fabs” : 3 个重载中没有一个可以转换参数 1(从“int [100]”类型)
        VC\include\math.h(190): 可能是“double fabs(double)”
        VC\include\math.h(554): 或       “float fabs(float)”
        VC\include\math.h(602): 或       “long double fabs(long double)”
        试图匹配参数列表“(int [100])”时
0_0_4937222_7128.cpp(13) : error C2668: “fabs” : 对重载函数的调用不明确
        VC\include\math.h(602): 可能是“long double fabs(long double)”
        VC\include\math.h(554): 或       “float fabs(float)”
        VC\include\math.h(190): 或       “double fabs(double)”
        试图匹配参数列表“(int)”时
0_0_4937222_7128.cpp(14) : error C2440: “=” : 无法从“int [100]”转换为“int”
        该转换要求 reinterpret_cast、C 样式转换或函数类型转换
0_0_4937222_7128.cpp(14) : error C2440: “=” : 无法从“int”转换为“int [100]”
        没有转换为数组类型,但有转换为数组的引用或指针


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-09-22 06:48:03, Gzip enabled