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_22739373_9225.c:15:5: error: expected specifier-qualifier-list before 'point'
     point(){}
     ^
0_0_22739373_9225.c:32:5: error: unknown type name 'point'
     point s,e;
     ^
0_0_22739373_9225.c:33:5: error: expected specifier-qualifier-list before 'line'
     line(){}
     ^
0_0_22739373_9225.c:36:1: error: unknown type name 'point'
 point ptl(point p,line l)
 ^
0_0_22739373_9225.c:36:11: error: unknown type name 'point'
 point ptl(point p,line l)
           ^
0_0_22739373_9225.c:36:19: error: unknown type name 'line'
 point ptl(point p,line l)
                   ^
0_0_22739373_9225.c:44:17: error: unknown type name 'point'
 __float128 dist(point a,point b)
                 ^
0_0_22739373_9225.c:44:25: error: unknown type name 'point'
 __float128 dist(point a,point b)
                         ^
0_0_22739373_9225.c:48:11: error: unknown type name 'point'
 int onseg(point p,line l)
           ^
0_0_22739373_9225.c:48:19: error: unknown type name 'line'
 int onseg(point p,line l)
                   ^
0_0_22739373_9225.c: In function 'main':
0_0_22739373_9225.c:69:9: error: unknown type name 'point'
         point o=point(ox,oy);
         ^
0_0_22739373_9225.c:72:15: error: expected ';' before 'a'
         point a=point(ax,ay),b=point(bx,by);
               ^
0_0_22739373_9225.c:73:15: error: expected ';' before 'aa'
         point aa=point(ax+vx,ay+vy);
               ^
0_0_22739373_9225.c:74:15: error: expected ';' before 'tmp'
         point tmp=ptl(o,line(a,aa));
               ^
0_0_22739373_9225.c:76:17: error: 'tmp' undeclared (first use in this function)
         if(dist(tmp,o)+eps>r||((a.y-aa.y)*(a.y-tmp.y)<0||(a.x-aa.x)*(a.x-tmp.x)<0))
                 ^
0_0_22739373_9225.c:76:17: note: each undeclared identifier is reported only once for each function it appears in
0_0_22739373_9225.c:76:33: error: 'a' undeclared (first use in this function)
         if(dist(tmp,o)+eps>r||((a.y-aa.y)*(a.y-tmp.y)<0||(a.x-aa.x)*(a.x-tmp.x)<0))
                                 ^
0_0_22739373_9225.c:76:37: error: 'aa' undeclared (first use in this function)
         if(dist(tmp,o)+eps>r||((a.y-aa.y)*(a.y-tmp.y)<0||(a.x-aa.x)*(a.x-tmp.x)<0))
                                     ^
0_0_22739373_9225.c:78:32: error: 'b' undeclared (first use in this function)
             if((a.y-aa.y)*(a.x-b.x)==(a.y-b.y)*(a.x-aa.x))
                                ^
0_0_22739373_9225.c:90:15: error: expected ';' before 'k'
         point k;
               ^
0_0_22739373_9225.c:91:9: error: 'k' undeclared (first use in this function)
         k.x=a.x+(tmp.x-a.x)*tt/ttt;
         ^
0_0_22739373_9225.c:94:15: error: expected ';' before 'kk'
         point kk=ptl(a,line(k,o));
               ^
0_0_22739373_9225.c:95:15: error: expected ';' before 'c'
         point c;
               ^
0_0_22739373_9225.c:96:9: error: 'c' undeclared (first use in this function)
         c.x=2*kk.x-a.x;
         ^
0_0_22739373_9225.c:96:15: error: 'kk' undeclared (first use in this function)
         c.x=2*kk.x-a.x;
               ^


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-12-04 23:33:16, Gzip enabled