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_19230903_3380.cpp:31:14: error: 'Po' does not name a type
 struct Line{ Po
              ^
0_0_19230903_3380.cpp:33:1: error: expected ')' before 'int'
 int _a,Po
 ^
0_0_19230903_3380.cpp: In function 'bool parallel(const Line&, const Line&)':
0_0_19230903_3380.cpp:36:34: error: 'const struct Line' has no member named 'a'
 const Line& rr){ return fabs((ll.a.x-ll.b.x)*(rr.a.y-rr.b.y)-(ll.a.y-ll.b.y)*(rr.a.x-rr.b.x))<eps;} Po
                                  ^
0_0_19230903_3380.cpp:36:41: error: 'const struct Line' has no member named 'b'
 const Line& rr){ return fabs((ll.a.x-ll.b.x)*(rr.a.y-rr.b.y)-(ll.a.y-ll.b.y)*(rr.a.x-rr.b.x))<eps;} Po
                                         ^
0_0_19230903_3380.cpp:36:50: error: 'const struct Line' has no member named 'a'
 const Line& rr){ return fabs((ll.a.x-ll.b.x)*(rr.a.y-rr.b.y)-(ll.a.y-ll.b.y)*(rr.a.x-rr.b.x))<eps;} Po
                                                  ^
0_0_19230903_3380.cpp:36:57: error: 'const struct Line' has no member named 'b'
 const Line& rr){ return fabs((ll.a.x-ll.b.x)*(rr.a.y-rr.b.y)-(ll.a.y-ll.b.y)*(rr.a.x-rr.b.x))<eps;} Po
                                                         ^
0_0_19230903_3380.cpp:36:66: error: 'const struct Line' has no member named 'a'
 const Line& rr){ return fabs((ll.a.x-ll.b.x)*(rr.a.y-rr.b.y)-(ll.a.y-ll.b.y)*(rr.a.x-rr.b.x))<eps;} Po
                                                                  ^
0_0_19230903_3380.cpp:36:73: error: 'const struct Line' has no member named 'b'
 const Line& rr){ return fabs((ll.a.x-ll.b.x)*(rr.a.y-rr.b.y)-(ll.a.y-ll.b.y)*(rr.a.x-rr.b.x))<eps;} Po
                                                                         ^
0_0_19230903_3380.cpp:36:82: error: 'const struct Line' has no member named 'a'
 const Line& rr){ return fabs((ll.a.x-ll.b.x)*(rr.a.y-rr.b.y)-(ll.a.y-ll.b.y)*(rr.a.x-rr.b.x))<eps;} Po
                                                                                  ^
0_0_19230903_3380.cpp:36:89: error: 'const struct Line' has no member named 'b'
 const Line& rr){ return fabs((ll.a.x-ll.b.x)*(rr.a.y-rr.b.y)-(ll.a.y-ll.b.y)*(rr.a.x-rr.b.x))<eps;} Po
                                                                                         ^
0_0_19230903_3380.cpp: At global scope:
0_0_19230903_3380.cpp:36:101: error: 'Po' does not name a type
 const Line& rr){ return fabs((ll.a.x-ll.b.x)*(rr.a.y-rr.b.y)-(ll.a.y-ll.b.y)*(rr.a.x-rr.b.x))<eps;} Po
                                                                                                     ^
0_0_19230903_3380.cpp:50:12: error: 'Po' does not name a type
 double>ans;Po
            ^
0_0_19230903_3380.cpp:64:7: error: 'Po' does not name a type
 const Po
       ^
0_0_19230903_3380.cpp:65:1: error: expected ',' or '...' before 'int'
 int & o, 
 ^
0_0_19230903_3380.cpp: In function 'double cross(int)':
0_0_19230903_3380.cpp:69:22: error: 'a' was not declared in this scope
 int & b){    return (a.x-o.x)*(b.y-o.y) - (b.x-o.x)*(a.y-o.y);} 
                      ^
0_0_19230903_3380.cpp:69:26: error: 'o' was not declared in this scope
 int & b){    return (a.x-o.x)*(b.y-o.y) - (b.x-o.x)*(a.y-o.y);} 
                          ^
0_0_19230903_3380.cpp:69:32: error: 'b' was not declared in this scope
 int & b){    return (a.x-o.x)*(b.y-o.y) - (b.x-o.x)*(a.y-o.y);} 
                                ^
0_0_19230903_3380.cpp: At global scope:
0_0_19230903_3380.cpp:71:19: error: 'Po' was not declared in this scope
 int inside_convex(Po
                   ^
0_0_19230903_3380.cpp:74:1: error: expected primary-expression before 'int'
 int n, Po
 ^
0_0_19230903_3380.cpp:74:8: error: 'Po' was not declared in this scope
 int n, Po
        ^
0_0_19230903_3380.cpp:75:6: error: expression list treated as compound expression in initializer [-fpermissive]
 int q){    bool s[3] = {1, 1, 1};    ps[n] = ps[0];    for(
      ^
0_0_19230903_3380.cpp:75:7: error: expected ',' or ';' before '{' token
 int q){    bool s[3] = {1, 1, 1};    ps[n] = ps[0];    for(
       ^


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-30 17:50:41, Gzip enabled