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_4549321_11901.cpp:1: error: `import' does not name a type
0_0_4549321_11901.cpp:2: error: `import' does not name a type
0_0_4549321_11901.cpp: In constructor `Point::Point(double, double)':
0_0_4549321_11901.cpp:6: error: `x' is not a type
0_0_4549321_11901.cpp:6: error: request for member of non-aggregate type before '=' token
0_0_4549321_11901.cpp:7: error: `y' is not a type
0_0_4549321_11901.cpp:7: error: request for member of non-aggregate type before '=' token
0_0_4549321_11901.cpp: In member function `double Point::getDistance(Point)':
0_0_4549321_11901.cpp:12: error: `Math' undeclared (first use this function)
0_0_4549321_11901.cpp:12: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_4549321_11901.cpp: At global scope:
0_0_4549321_11901.cpp:17: error: expected unqualified-id before "public"
0_0_4549321_11901.cpp:17: error: expected `,' or `;' before "public"


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-07-03 20:04:48, Gzip enabled