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_14875378_17887.cpp:1:1: error: 'program' does not name a type
 program hdu2001;
 ^
0_0_14875378_17887.cpp:2:1: error: 'var' does not name a type
 var
 ^
0_0_14875378_17887.cpp:4:1: error: 'begin' does not name a type
 begin
 ^
0_0_14875378_17887.cpp:8:5: error: 'd' does not name a type
     d:=sqrt((x1-x2)*(y1-y2)+(y1-y2)*(y1-y2));
     ^
0_0_14875378_17887.cpp:9:12: error: expected constructor, destructor, or type conversion before '(' token
     writeln(d:0:2);
            ^
0_0_14875378_17887.cpp:10:3: error: 'end' does not name a type
   end;
   ^
0_0_14875378_17887.cpp:11:1: error: 'end' does not name a type
 end.
 ^


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-23 06:46:53, Gzip enabled