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_33401542_28978.cpp:6:16: error: 'Point' was not declared in this scope
 #define Vector Point
                ^
0_0_33401542_28978.cpp:15:15: note: in expansion of macro 'Vector'
 double length(Vector v) {
               ^
0_0_33401542_28978.cpp:15:25: error: expected ',' or ';' before '{' token
 double length(Vector v) {
                         ^
0_0_33401542_28978.cpp:19:18: error: 'Point' was not declared in this scope
 double disToLine(Point P, Point A, Point B) {
                  ^
0_0_33401542_28978.cpp:19:27: error: 'Point' was not declared in this scope
 double disToLine(Point P, Point A, Point B) {
                           ^
0_0_33401542_28978.cpp:19:36: error: 'Point' was not declared in this scope
 double disToLine(Point P, Point A, Point B) {
                                    ^
0_0_33401542_28978.cpp:19:43: error: expression list treated as compound expression in initializer [-fpermissive]
 double disToLine(Point P, Point A, Point B) {
                                           ^
0_0_33401542_28978.cpp:19:45: error: expected ',' or ';' before '{' token
 double disToLine(Point P, Point A, Point B) {
                                             ^
0_0_33401542_28978.cpp:24:31: error: 'Line' was not declared in this scope
 int getLineCircleIntersection(Line L, Circle C, Point& P) {
                               ^
0_0_33401542_28978.cpp:24:39: error: 'Circle' was not declared in this scope
 int getLineCircleIntersection(Line L, Circle C, Point& P) {
                                       ^
0_0_33401542_28978.cpp:24:49: error: 'Point' was not declared in this scope
 int getLineCircleIntersection(Line L, Circle C, Point& P) {
                                                 ^
0_0_33401542_28978.cpp:24:56: error: 'P' was not declared in this scope
 int getLineCircleIntersection(Line L, Circle C, Point& P) {
                                                        ^
0_0_33401542_28978.cpp:24:57: error: expression list treated as compound expression in initializer [-fpermissive]
 int getLineCircleIntersection(Line L, Circle C, Point& P) {
                                                         ^
0_0_33401542_28978.cpp:24:59: error: expected ',' or ';' before '{' token
 int getLineCircleIntersection(Line L, Circle C, Point& P) {
                                                           ^


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-25 21:53:48, Gzip enabled