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