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_10697081_18702.cpp: In function `void sort()':
0_0_10697081_18702.cpp:18: error: ISO C++ forbids comparison between pointer and integer
0_0_10697081_18702.cpp:20: error: invalid conversion from `int*' to `int'
0_0_10697081_18702.cpp:21: error: incompatible types in assignment of `int' to `int[2]'
0_0_10697081_18702.cpp:31: error: ISO C++ forbids comparison between pointer and integer
0_0_10697081_18702.cpp: In function `void initial()':
0_0_10697081_18702.cpp:41: error: incompatible types in assignment of `bool' to `bool[64]'
0_0_10697081_18702.cpp:48: error: invalid conversion from `int*' to `int'
0_0_10697081_18702.cpp: In function `int sumres(int)':
0_0_10697081_18702.cpp:59: error: invalid conversion from `int*' to `int'
0_0_10697081_18702.cpp: In function `bool search(int, int, int)':
0_0_10697081_18702.cpp:81: error: ISO C++ forbids comparison between pointer and integer
0_0_10697081_18702.cpp:83: error: incompatible types in assignment of `bool' to `bool[64]'
0_0_10697081_18702.cpp:85: error: invalid conversion from `int*' to `int'
0_0_10697081_18702.cpp:85: error:   initializing argument 1 of `bool search(int, int, int)'
0_0_10697081_18702.cpp:87: error: incompatible types in assignment of `bool' to `bool[64]'
0_0_10697081_18702.cpp:91: error: ISO C++ forbids comparison between pointer and integer
0_0_10697081_18702.cpp:94: error: invalid conversion from `int*' to `int'
0_0_10697081_18702.cpp: In function `int main()':
0_0_10697081_18702.cpp:110: error: invalid conversion from `int*' to `int'


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-30 03:19:25, Gzip enabled