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_24152953_11383.c: In function 'main':
0_0_24152953_11383.c:7:4: error: unknown type name 'Point'
    Point a,b;
    ^
0_0_24152953_11383.c:9:19: error: request for member 'x' in something not a structure or union
    scanf("%d%d",&a.x,&a.y);
                   ^
0_0_24152953_11383.c:9:24: error: request for member 'y' in something not a structure or union
    scanf("%d%d",&a.x,&a.y);
                        ^
0_0_24152953_11383.c:10:19: error: request for member 'x' in something not a structure or union
    scanf("%d%d",&b.x,&b.y);
                   ^
0_0_24152953_11383.c:10:24: error: request for member 'y' in something not a structure or union
    scanf("%d%d",&b.x,&b.y);
                        ^
0_0_24152953_11383.c:12:14: error: request for member 'x' in something not a structure or union
    dis=1.0*(a.x-b.x)*(a.x-b.x)+1.0*(a.y-b.y)*(a.y-b.y);
              ^
0_0_24152953_11383.c:12:18: error: request for member 'x' in something not a structure or union
    dis=1.0*(a.x-b.x)*(a.x-b.x)+1.0*(a.y-b.y)*(a.y-b.y);
                  ^
0_0_24152953_11383.c:12:24: error: request for member 'x' in something not a structure or union
    dis=1.0*(a.x-b.x)*(a.x-b.x)+1.0*(a.y-b.y)*(a.y-b.y);
                        ^
0_0_24152953_11383.c:12:28: error: request for member 'x' in something not a structure or union
    dis=1.0*(a.x-b.x)*(a.x-b.x)+1.0*(a.y-b.y)*(a.y-b.y);
                            ^
0_0_24152953_11383.c:12:38: error: request for member 'y' in something not a structure or union
    dis=1.0*(a.x-b.x)*(a.x-b.x)+1.0*(a.y-b.y)*(a.y-b.y);
                                      ^
0_0_24152953_11383.c:12:42: error: request for member 'y' in something not a structure or union
    dis=1.0*(a.x-b.x)*(a.x-b.x)+1.0*(a.y-b.y)*(a.y-b.y);
                                          ^
0_0_24152953_11383.c:12:48: error: request for member 'y' in something not a structure or union
    dis=1.0*(a.x-b.x)*(a.x-b.x)+1.0*(a.y-b.y)*(a.y-b.y);
                                                ^
0_0_24152953_11383.c:12:52: error: request for member 'y' in something not a structure or union
    dis=1.0*(a.x-b.x)*(a.x-b.x)+1.0*(a.y-b.y)*(a.y-b.y);
                                                    ^


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 05:40:37, Gzip enabled