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_21547238_19348.cpp:2:13: error: too many decimal points in number
 var d:array[0..3020,0..3020] of longint;
             ^
0_0_21547238_19348.cpp:2:21: error: too many decimal points in number
 var d:array[0..3020,0..3020] of longint;
                     ^
0_0_21547238_19348.cpp:1:1: error: 'var' does not name a type
 var ans,i,j,x,y,n,m,num:longint;
 ^
0_0_21547238_19348.cpp:2:1: error: 'var' does not name a type
 var d:array[0..3020,0..3020] of longint;
 ^
0_0_21547238_19348.cpp:3:1: error: 'begin' does not name a type
 begin
 ^
0_0_21547238_19348.cpp:6:25: error: expected constructor, destructor, or type conversion before '(' token
     readln(n,m);fillchar(d,sizeof(d),0);ans:=maxlongint;
                         ^
0_0_21547238_19348.cpp:6:41: error: 'ans' does not name a type
     readln(n,m);fillchar(d,sizeof(d),0);ans:=maxlongint;
                                         ^
0_0_21547238_19348.cpp:7:5: error: expected unqualified-id before 'for'
     for i:=1 to m do begin readln(x,y,d[x,y]);d[y,x]:=d[x,y];end;
     ^
0_0_21547238_19348.cpp:7:47: error: 'd' does not name a type
     for i:=1 to m do begin readln(x,y,d[x,y]);d[y,x]:=d[x,y];end;
                                               ^
0_0_21547238_19348.cpp:7:62: error: 'end' does not name a type
     for i:=1 to m do begin readln(x,y,d[x,y]);d[y,x]:=d[x,y];end;
                                                              ^
0_0_21547238_19348.cpp:8:5: error: expected unqualified-id before 'for'
     for i:=1 to n do
     ^
0_0_21547238_19348.cpp:11:7: error: expected unqualified-id before 'for'
       for j:=1 to n do inc(num,d[i,j]);
       ^
0_0_21547238_19348.cpp:12:7: error: expected unqualified-id before 'if'
       if num<ans then ans:=num;
       ^
0_0_21547238_19348.cpp:13:5: error: 'end' does not name a type
     end;
     ^
0_0_21547238_19348.cpp:14:12: error: expected constructor, destructor, or type conversion before '(' token
     writeln(ans);
            ^
0_0_21547238_19348.cpp:15:3: error: 'end' does not name a type
   end;
   ^
0_0_21547238_19348.cpp:16: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-29 10:11:40, Gzip enabled