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_23207412_10714.cpp:14:1: error: expected unqualified-id before '{' token
 {double x,y;
 ^
0_0_23207412_10714.cpp:18:15: error: 'point' was not declared in this scope
  double xmult(point p1,point p2,point p0) 
               ^
0_0_23207412_10714.cpp:18:24: error: 'point' was not declared in this scope
  double xmult(point p1,point p2,point p0) 
                        ^
0_0_23207412_10714.cpp:18:33: error: 'point' was not declared in this scope
  double xmult(point p1,point p2,point p0) 
                                 ^
0_0_23207412_10714.cpp:18:41: error: expression list treated as compound expression in initializer [-fpermissive]
  double xmult(point p1,point p2,point p0) 
                                         ^
0_0_23207412_10714.cpp:19:1: error: expected ',' or ';' before '{' token
 { return (p1.x-p0.x)*(p2.y-p0.y)-(p1.y-p0.y)*(p2.x-p0.x);
 ^
0_0_23207412_10714.cpp:21:15: error: 'point' was not declared in this scope
  double dmult(point p1,point p2,point p0) 
               ^
0_0_23207412_10714.cpp:21:24: error: 'point' was not declared in this scope
  double dmult(point p1,point p2,point p0) 
                        ^
0_0_23207412_10714.cpp:21:33: error: 'point' was not declared in this scope
  double dmult(point p1,point p2,point p0) 
                                 ^
0_0_23207412_10714.cpp:21:41: error: expression list treated as compound expression in initializer [-fpermissive]
  double dmult(point p1,point p2,point p0) 
                                         ^
0_0_23207412_10714.cpp:22:1: error: expected ',' or ';' before '{' token
 { return (p1.x-p0.x)*(p2.x-p0.x)+(p1.y-p0.y)*(p2.y-p0.y);
 ^
0_0_23207412_10714.cpp:30:18: error: 'point' was not declared in this scope
  double distance(point p1,point p2) 
                  ^
0_0_23207412_10714.cpp:30:27: error: 'point' was not declared in this scope
  double distance(point p1,point p2) 
                           ^
0_0_23207412_10714.cpp:30:35: error: expression list treated as compound expression in initializer [-fpermissive]
  double distance(point p1,point p2) 
                                   ^
0_0_23207412_10714.cpp:31:1: error: expected ',' or ';' before '{' token
 { return sqrt((p1.x-p2.x)*(p1.x-p2.x)+(p1.y-p2.y)*(p1.y-p2.y));
 ^
0_0_23207412_10714.cpp:37:15: error: 'point' was not declared in this scope
  double slove(point pa,point pb,point po,double r)//??????????? 
               ^
0_0_23207412_10714.cpp:37:24: error: 'point' was not declared in this scope
  double slove(point pa,point pb,point po,double r)//??????????? 
                        ^
0_0_23207412_10714.cpp:37:33: error: 'point' was not declared in this scope
  double slove(point pa,point pb,point po,double r)//??????????? 
                                 ^
0_0_23207412_10714.cpp:37:42: error: expected primary-expression before 'double'
  double slove(point pa,point pb,point po,double r)//??????????? 
                                          ^
0_0_23207412_10714.cpp:37:50: error: expression list treated as compound expression in initializer [-fpermissive]
  double slove(point pa,point pb,point po,double r)//??????????? 
                                                  ^
0_0_23207412_10714.cpp:38:1: error: expected ',' or ';' before '{' token
 { double a,b,c,x,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-06-26 20:10:18, Gzip enabled