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_13147066_2844.cpp:2:14: error: too many decimal points in number
   edge:array[0..20001] of record go,next,w:longint;end;
              ^
0_0_13147066_2844.cpp:3:26: error: too many decimal points in number
   head,nearl,use,d:array[0..1020] of longint;
                          ^
0_0_13147066_2844.cpp:4:13: error: too many decimal points in number
   que:array[0..2005] of longint;
             ^
0_0_13147066_2844.cpp:1:1: error: 'var' does not name a type
 var
 ^
0_0_13147066_2844.cpp:2:52: error: 'end' does not name a type
   edge:array[0..20001] of record go,next,w:longint;end;
                                                    ^
0_0_13147066_2844.cpp:3:3: error: 'head' does not name a type
   head,nearl,use,d:array[0..1020] of longint;
   ^
0_0_13147066_2844.cpp:4:6: error: found ':' in nested-name-specifier, expected '::'
   que:array[0..2005] of longint;
      ^
0_0_13147066_2844.cpp:4:3: error: 'que' does not name a type
   que:array[0..2005] of longint;
   ^
0_0_13147066_2844.cpp:5:3: error: 'a' does not name a type
   a,b,ti,i,j,k,want,neal,road,p,op,ed,e,dest,min:longint;
   ^
0_0_13147066_2844.cpp:7:1: error: 'procedure' does not name a type
 procedure build(a,b:longint);
 ^
0_0_13147066_2844.cpp:8:1: error: 'begin' does not name a type
 begin
 ^
0_0_13147066_2844.cpp:10:3: error: 'edge' does not name a type
   edge[p].go:=b;
   ^
0_0_13147066_2844.cpp:11:3: error: 'edge' does not name a type
   edge[p].w:=ti;
   ^
0_0_13147066_2844.cpp:12:3: error: 'edge' does not name a type
   edge[p].next:=head[a];
   ^
0_0_13147066_2844.cpp:13:3: error: 'head' does not name a type
   head[a]:=p;
   ^
0_0_13147066_2844.cpp:14:1: error: 'end' does not name a type
 end;
 ^
0_0_13147066_2844.cpp:15:1: error: 'procedure' does not name a type
 procedure spfa;
 ^
0_0_13147066_2844.cpp:16:1: error: 'var' does not name a type
 var i:longint;
 ^
0_0_13147066_2844.cpp:17:3: error: 'begin' does not name a type
   begin
   ^
0_0_13147066_2844.cpp:21:9: error: 'op' does not name a type
         op:=(op-1) mod 2005+1;
         ^
0_0_13147066_2844.cpp:22:9: error: 'e' does not name a type
         e:=que[op];
         ^
0_0_13147066_2844.cpp:23:9: error: 'use' does not name a type
         use[e]:=0;
         ^
0_0_13147066_2844.cpp:24:9: error: 'i' does not name a type
         i:=head[e];
         ^
0_0_13147066_2844.cpp:25:10: error: expected unqualified-id before 'while'
          while i<>0 do
          ^
0_0_13147066_2844.cpp:32:20: error: expected unqualified-id before 'if'
                    if use [edge[i].go]=0 then
                    ^
0_0_13147066_2844.cpp:35:30: error: expected constructor, destructor, or type conversion before '(' token
                           inc(ed);
                              ^
0_0_13147066_2844.cpp:36:24: error: 'ed' does not name a type
                        ed:=(ed-1) mod 2005+1;
                        ^
0_0_13147066_2844.cpp:37:24: error: 'que' does not name a type
                        que[ed]:=edge[i].go;
                        ^
0_0_13147066_2844.cpp:38:23: error: 'end' does not name a type
                       end;
                       ^
0_0_13147066_2844.cpp:39:18: error: 'end' does not name a type
                  end;
                  ^
0_0_13147066_2844.cpp:40:15: error: 'i' does not name a type
               i:=edge[i].next;
               ^
0_0_13147066_2844.cpp:41:13: error: 'end' does not name a type
             end;
             ^
0_0_13147066_2844.cpp:42:7: error: 'end' does not name a type
       end;
       ^
0_0_13147066_2844.cpp:43:3: error: 'end' does not name a type
   end;
   ^
0_0_13147066_2844.cpp:45:1: error: 'begin' does not name a type
 begin
 ^
0_0_13147066_2844.cpp:48:3: error: expected unqualified-id before 'while'
   while not eof do
   ^
0_0_13147066_2844.cpp:51:5: error: 'p' does not name a type
     p:=0;
     ^
0_0_13147066_2844.cpp:52:13: error: expected constructor, destructor, or type conversion before '(' token
     fillchar(edge,sizeof(edge),0);
             ^
0_0_13147066_2844.cpp:53:13: error: expected constructor, destructor, or type conversion before '(' token
     fillchar(head,sizeof(head),0);
             ^
0_0_13147066_2844.cpp:54:5: error: expected unqualified-id before 'for'
     for i:=1 to road do
     ^
0_0_13147066_2844.cpp:57:12: error: expected constructor, destructor, or type conversion before '(' token
       build(a,b);
            ^
0_0_13147066_2844.cpp:58:12: error: expected constructor, destructor, or type conversion before '(' token
       build(b,a);
            ^
0_0_13147066_2844.cpp:59:5: error: 'end' does not name a type
     end;
     ^
0_0_13147066_2844.cpp:60:5: error: expected unqualified-id before 'for'
     for i:=1 to neal do read(nearl[i]);
     ^
0_0_13147066_2844.cpp:61:5: error: expected unqualified-id before 'for'
     for i:=1 to want do
     ^
0_0_13147066_2844.cpp:64:9: error: expected unqualified-id before 'for'
         for j:=1 to neal do
         ^
0_0_13147066_2844.cpp:67:21: error: expected constructor, destructor, or type conversion before '(' token
             fillchar(que,sizeof(que),0);
                     ^
0_0_13147066_2844.cpp:68:13: error: expected unqualified-id before 'for'
             for k:=1 to 1000 do d[k]:=maxlongint div 3;
             ^
0_0_13147066_2844.cpp:69:13: error: 'd' does not name a type
             d[nearl[j]]:=0;
             ^
0_0_13147066_2844.cpp:70:13: error: 'op' does not name a type
             op:=0;
             ^
0_0_13147066_2844.cpp:71:13: error: 'ed' does not name a type
             ed:=1;
             ^
0_0_13147066_2844.cpp:72:13: error: 'que' does not name a type
             que[1]:=nearl[j];
             ^
0_0_13147066_2844.cpp:73:13: error: 'spfa' does not name a type
             spfa;
             ^
0_0_13147066_2844.cpp:74:13: error: expected unqualified-id before 'if'
             if d[dest]<min then min:=d[dest];
             ^
0_0_13147066_2844.cpp:75:11: error: 'end' does not name a type
           end;
           ^
0_0_13147066_2844.cpp:76:7: error: 'end' does not name a type
       end;
       ^
0_0_13147066_2844.cpp:77:12: error: expected constructor, destructor, or type conversion before '(' token
     writeln(min);
            ^
0_0_13147066_2844.cpp:78:11: error: expected constructor, destructor, or type conversion before '(' token
     readln(road,neal,want);
           ^
0_0_13147066_2844.cpp:79:4: error: 'end' does not name a type
    end;
    ^
0_0_13147066_2844.cpp:80: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-26 22:14:58, Gzip enabled