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

515780_0_0_739.cpp:3: error: `main' must return `int'
515780_0_0_739.cpp: In function `int main(...)':
515780_0_0_739.cpp:16: error: incompatible types in assignment of `int' to `double[1000]'
515780_0_0_739.cpp:18: error: invalid operands of types `double' and `int[1000]' to binary `operator*'
515780_0_0_739.cpp:25: error: cannot convert `double[1000]' to `double' in assignment
515780_0_0_739.cpp:28: error: invalid conversion from `int*' to `int'
515780_0_0_739.cpp:28: error: invalid conversion from `int*' to `int'
515780_0_0_739.cpp:28: error: cannot convert `double[1000]' to `double' in assignment
515780_0_0_739.cpp:29: error: incompatible types in assignment of `int' to `int[1000]'
515780_0_0_739.cpp:29: error: incompatible types in assignment of `int' to `int[1000]'
515780_0_0_739.cpp:29: error: incompatible types in assignment of `double' to `double[1000]'
515780_0_0_739.cpp:38: error: ISO C++ forbids comparison between pointer and integer
515780_0_0_739.cpp:40: error: invalid operands of types `int' and `int[1000]' to binary `operator-'
515780_0_0_739.cpp:41: error: invalid operands of types `double' and `int[1000]' to binary `operator+'
515780_0_0_739.cpp:41: error:   in evaluation of `operator+=(double, int[1000])'
515780_0_0_739.cpp:45: error: invalid operands of types `double[1000]' and `int' to binary `operator*'


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-20 03:56:46, Gzip enabled