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_36910924_4698.cpp:13:14: error: 'Point' was not declared in this scope
 double cross(Point a,Point b,Point c) ///²æ»ý
              ^
0_0_36910924_4698.cpp:13:22: error: 'Point' was not declared in this scope
 double cross(Point a,Point b,Point c) ///²æ»ý
                      ^
0_0_36910924_4698.cpp:13:30: error: 'Point' was not declared in this scope
 double cross(Point a,Point b,Point c) ///²æ»ý
                              ^
0_0_36910924_4698.cpp:13:37: error: expression list treated as compound expression in initializer [-fpermissive]
 double cross(Point a,Point b,Point c) ///²æ»ý
                                     ^
0_0_36910924_4698.cpp:14:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_36910924_4698.cpp:17:1: error: 'Point' does not name a type
 Point intersection(Point a,Point b,Point c,Point d)
 ^
0_0_36910924_4698.cpp:26:20: error: 'Point' was not declared in this scope
 double PolygonArea(Point* p, int n)
                    ^
0_0_36910924_4698.cpp:26:27: error: 'p' was not declared in this scope
 double PolygonArea(Point* p, int n)
                           ^
0_0_36910924_4698.cpp:26:30: error: expected primary-expression before 'int'
 double PolygonArea(Point* p, int n)
                              ^
0_0_36910924_4698.cpp:26:35: error: expression list treated as compound expression in initializer [-fpermissive]
 double PolygonArea(Point* p, int n)
                                   ^
0_0_36910924_4698.cpp:27:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_36910924_4698.cpp:35:13: error: 'Point' was not declared in this scope
 double CPIA(Point* a, Point* b, int na, int nb)//ConvexPolygonIntersectArea
             ^
0_0_36910924_4698.cpp:35:20: error: 'a' was not declared in this scope
 double CPIA(Point* a, Point* b, int na, int nb)//ConvexPolygonIntersectArea
                    ^
0_0_36910924_4698.cpp:35:23: error: 'Point' was not declared in this scope
 double CPIA(Point* a, Point* b, int na, int nb)//ConvexPolygonIntersectArea
                       ^
0_0_36910924_4698.cpp:35:30: error: 'b' was not declared in this scope
 double CPIA(Point* a, Point* b, int na, int nb)//ConvexPolygonIntersectArea
                              ^
0_0_36910924_4698.cpp:35:33: error: expected primary-expression before 'int'
 double CPIA(Point* a, Point* b, int na, int nb)//ConvexPolygonIntersectArea
                                 ^
0_0_36910924_4698.cpp:35:41: error: expected primary-expression before 'int'
 double CPIA(Point* a, Point* b, int na, int nb)//ConvexPolygonIntersectArea
                                         ^
0_0_36910924_4698.cpp:35:47: error: expression list treated as compound expression in initializer [-fpermissive]
 double CPIA(Point* a, Point* b, int na, int nb)//ConvexPolygonIntersectArea
                                               ^
0_0_36910924_4698.cpp:36:1: error: expected ',' or ';' before '{' token
 {
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 08:46:30, Gzip enabled