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_22426459_26460.cpp:36:1: error: missing terminating ' character
 cout<<"point"<<a.x<<'
 ^
0_0_22426459_26460.cpp:38:1: error: missing terminating ' character
 '<<right<<endl;
 ^
0_0_22426459_26460.cpp: In function 'int search(SEG*, POINT, int)':
0_0_22426459_26460.cpp:39:4: error: expected ';' before 'int'
    int left=0;
    ^
0_0_22426459_26460.cpp:41:3: error: invalid operands of types 'std::ios_base& (*)(std::ios_base&)' and 'int' to binary 'operator/'
 / 2;
   ^
0_0_22426459_26460.cpp:43:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
 while(left+1 < right ){
                ^
0_0_22426459_26460.cpp:55:5: error: assignment of function 'std::ios_base& std::left(std::ios_base&)'
 left=mid;
     ^
0_0_22426459_26460.cpp:55:5: error: cannot convert 'int' to 'std::ios_base&(std::ios_base&)' in assignment
0_0_22426459_26460.cpp:56:24: error: invalid operands of types 'std::ios_base& (*)(std::ios_base&)' and 'int' to binary 'operator/'
 mid=( left + right ) / 2; 
                        ^
0_0_22426459_26460.cpp:62:24: error: invalid operands of types 'std::ios_base& (*)(std::ios_base&)' and 'int' to binary 'operator/'
 mid=( left + right ) / 2;
                        ^


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-28 12:25:03, Gzip enabled