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_22465016_26430.cpp:41:34: error: 'constPoint' has not been declared
 bool operator == (const Point& a,constPoint &b)
                                  ^
0_0_22465016_26430.cpp: In function 'bool operator==(const Point&, int&)':
0_0_22465016_26430.cpp:43:22: error: request for member 'x' in 'b', which is of non-class type 'int'
    return dcmp(a.x-b.x)==0 && dcmp(a.y-b.y)==0;
                      ^
0_0_22465016_26430.cpp:43:42: error: request for member 'y' in 'b', which is of non-class type 'int'
    return dcmp(a.x-b.x)==0 && dcmp(a.y-b.y)==0;
                                          ^
0_0_22465016_26430.cpp: In function 'double Dot(Vector, Vector)':
0_0_22465016_26430.cpp:47:5: error: 'returnA' was not declared in this scope
     returnA.x*B.x + A.y*B.y;
     ^


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-22 19:34:35, Gzip enabled