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