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_19729473_22667.cpp:41:2: error: 'Point' does not name a type
  Point pp;
  ^
0_0_19729473_22667.cpp:46:22: error: 'Point' was not declared in this scope
 double cir_area_inst(Point c1, double r1, Point c2, double r2)
                      ^
0_0_19729473_22667.cpp:46:32: error: expected primary-expression before 'double'
 double cir_area_inst(Point c1, double r1, Point c2, double r2)
                                ^
0_0_19729473_22667.cpp:46:43: error: 'Point' was not declared in this scope
 double cir_area_inst(Point c1, double r1, Point c2, double r2)
                                           ^
0_0_19729473_22667.cpp:46:53: error: expected primary-expression before 'double'
 double cir_area_inst(Point c1, double r1, Point c2, double r2)
                                                     ^
0_0_19729473_22667.cpp:46:62: error: expression list treated as compound expression in initializer [-fpermissive]
 double cir_area_inst(Point c1, double r1, Point c2, double r2)
                                                              ^
0_0_19729473_22667.cpp:47:1: error: expected ',' or ';' before '{' token
 {  //Á½Ô²Ãæ»ý½»
 ^
0_0_19729473_22667.cpp: In function 'bool judge(point, double)':
0_0_19729473_22667.cpp:71:43: error: 'struct circle' has no member named 'pp'
   double are = cir_area_inst(p, r, cir[i].pp, cir[i].r);
                                           ^
0_0_19729473_22667.cpp:71:55: error: 'cir_area_inst' cannot be used as a function
   double are = cir_area_inst(p, r, cir[i].pp, cir[i].r);
                                                       ^
0_0_19729473_22667.cpp: In function 'int main()':
0_0_19729473_22667.cpp:85:18: error: 'struct circle' has no member named 'pp'
    cin >> cir[i].pp.x >> cir[i].pp.y >> cir[i].r;
                  ^
0_0_19729473_22667.cpp:85:33: error: 'struct circle' has no member named 'pp'
    cin >> cir[i].pp.x >> cir[i].pp.y >> cir[i].r;
                                 ^
0_0_19729473_22667.cpp:92:15: error: 'struct circle' has no member named 'pp'
    a = cir[i].pp;
               ^


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-29 19:15:08, Gzip enabled