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_18407427_1954.cpp:31:4: error: 'Point' does not name a type
    Point p;
    ^
0_0_18407427_1954.cpp: In member function 'void circle::read()':
0_0_18407427_1954.cpp:35:21: error: 'p' was not declared in this scope
        SC("%d%d%d",&p.x,&p.y,&r);
                     ^
0_0_18407427_1954.cpp: In function 'bool operator-(Point, Point)':
0_0_18407427_1954.cpp:49:34: error: cannot convert 'Point' to 'bool' in return
    return (Point){a.x-b.x,a.y-b.y};
                                  ^
0_0_18407427_1954.cpp: In function 'bool operator+(Point, Point)':
0_0_18407427_1954.cpp:54:34: error: cannot convert 'Point' to 'bool' in return
    return (Point){a.x+b.x,a.y+b.y};
                                  ^
0_0_18407427_1954.cpp: In function 'bool operator*(Point, double)':
0_0_18407427_1954.cpp:59:30: error: cannot convert 'Point' to 'bool' in return
    return (Point){a.x*p+a.y*p};
                              ^
0_0_18407427_1954.cpp: In function 'Point GetLineProjection(Point, Point, Point)':
0_0_18407427_1954.cpp:69:14: error: conversion from 'bool' to non-scalar type 'Point' requested
     Point v=B-A;
              ^
0_0_18407427_1954.cpp:70:26: error: 'dot' was not declared in this scope
     return A+v*(dot(v,P-A)/dot(v,v));
                          ^
0_0_18407427_1954.cpp: In function 'int getjiaopoint(Point, Point, circle)':
0_0_18407427_1954.cpp:76:5: error: 'vecj' was not declared in this scope
     vecj.clear();
     ^
0_0_18407427_1954.cpp:77:33: error: 'struct circle' has no member named 'p'
     Point p=GetLineProjection(C.p,a,a+va);
                                 ^
0_0_18407427_1954.cpp:78:22: error: 'struct circle' has no member named 'p'
     double d=dis(p,C.p);
                      ^
0_0_18407427_1954.cpp:81:1: error: expected primary-expression before '}' token
 }
 ^
0_0_18407427_1954.cpp: In function 'int main()':
0_0_18407427_1954.cpp:107:19: error: 'r' was not declared in this scope
         if(dcmp(l-r)>=0)
                   ^
0_0_18407427_1954.cpp:109:22: error: could not convert 'operator-(pb, pa)' from 'bool' to 'Point'
             if(dot(pb-pa,pav)>=0&&cross(pb-pa,pav)==0)
                      ^
0_0_18407427_1954.cpp:109:43: error: could not convert 'operator-(pb, pa)' from 'bool' to 'Point'
             if(dot(pb-pa,pav)>=0&&cross(pb-pa,pav)==0)
                                           ^


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-10-02 15:52:32, Gzip enabled