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_35807507_14610.c:9:1: error: unknown type name 'Point'
 Point p[100005];
 ^
0_0_35807507_14610.c: In function 'main':
0_0_35807507_14610.c:20:8: error: 'false' undeclared (first use in this function)
   flag=false;
        ^
0_0_35807507_14610.c:20:8: note: each undeclared identifier is reported only once for each function it appears in
0_0_35807507_14610.c:24:22: error: request for member 'x' in something not a structure or union
    scanf("%d%d",&p[i].x,&p[i].y);
                      ^
0_0_35807507_14610.c:24:30: error: request for member 'y' in something not a structure or union
    scanf("%d%d",&p[i].x,&p[i].y);
                              ^
0_0_35807507_14610.c:30:18: error: request for member 'x' in something not a structure or union
     absx=abs(p[i].x-p[j].x);
                  ^
0_0_35807507_14610.c:30:25: error: request for member 'x' in something not a structure or union
     absx=abs(p[i].x-p[j].x);
                         ^
0_0_35807507_14610.c:31:18: error: request for member 'y' in something not a structure or union
     absy=abs(p[i].y-p[j].y);
                  ^
0_0_35807507_14610.c:31:25: error: request for member 'y' in something not a structure or union
     absy=abs(p[i].y-p[j].y);
                         ^
0_0_35807507_14610.c:36:11: error: 'true' undeclared (first use in this function)
      flag=true;
           ^


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-26 07:20:18, Gzip enabled