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

518316_0_0_32209.cpp
518316_0_0_32209.cpp(11) : error C2679: 二进制“>>” : 没有找到接受“”类型的右操作数的运算符(或没有可接受的转换)
518316_0_0_32209.cpp(11) : error C2665: “abs” : 5 个重载中没有一个可以转换参数 1(从“int [100]”类型)
        VC\include\stdlib.h(265): 可能是“int abs(int)”
        VC\include\math.h(528): 或       “long abs(long)”
        VC\include\math.h(530): 或       “double abs(double)”
        VC\include\math.h(536): 或       “float abs(float)”
        VC\include\math.h(584): 或       “long double abs(long double)”
        VC\include\stdlib.h(265): 或       “int abs(int)”
        VC\include\math.h(528): 或       “long abs(long)”
        VC\include\math.h(530): 或       “double abs(double)”
        VC\include\math.h(536): 或       “float abs(float)”
        VC\include\math.h(584): 或       “long double abs(long double)”
        试图匹配参数列表“(int [100])”时
518316_0_0_32209.cpp(18) : error C2446: “>” : 没有从“int”到“int *”的转换
        从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换
518316_0_0_32209.cpp(18) : error C2040: “>” : “int [100]”与“int”的间接寻址级别不同
518316_0_0_32209.cpp(18) : error C2440: “=” : 无法从“int [100]”转换为“int”
        该转换要求 reinterpret_cast、C 样式转换或函数类型转换


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-10-06 21:44:07, Gzip enabled