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_17420087_30313.cpp:3:15: error: too many decimal points in number
     a,b:array[1..1000,0..1000] of longint; //record the best roads
               ^
0_0_17420087_30313.cpp:3:23: error: too many decimal points in number
     a,b:array[1..1000,0..1000] of longint; //record the best roads
                       ^
0_0_17420087_30313.cpp:4:16: error: too many decimal points in number
     dist:array[1..1000] of longint;
                ^
0_0_17420087_30313.cpp:5:16: error: too many decimal points in number
     line:array[1..100000] of longint;
                ^
0_0_17420087_30313.cpp:6:15: error: too many decimal points in number
     ans:array[1..1000] of longint;
               ^
0_0_17420087_30313.cpp:7:14: error: too many decimal points in number
     m1:array[1..1000] of longint;
              ^
0_0_17420087_30313.cpp:8:13: error: too many decimal points in number
     v:array[1..1000] of boolean;
             ^
0_0_17420087_30313.cpp:1:7: error: 'max' does not name a type
 const max=maxlongint;
       ^
0_0_17420087_30313.cpp:2:1: error: 'var' does not name a type
 var n,m,s,i,g,h,j,k,l,head,tail,p,q,t,w,minnum,now:longint;
 ^
0_0_17420087_30313.cpp:3:5: error: 'a' does not name a type
     a,b:array[1..1000,0..1000] of longint; //record the best roads
     ^
0_0_17420087_30313.cpp:4:9: error: found ':' in nested-name-specifier, expected '::'
     dist:array[1..1000] of longint;
         ^
0_0_17420087_30313.cpp:4:5: error: 'dist' does not name a type
     dist:array[1..1000] of longint;
     ^
0_0_17420087_30313.cpp:5:9: error: found ':' in nested-name-specifier, expected '::'
     line:array[1..100000] of longint;
         ^
0_0_17420087_30313.cpp:5:5: error: 'line' does not name a type
     line:array[1..100000] of longint;
     ^
0_0_17420087_30313.cpp:6:8: error: found ':' in nested-name-specifier, expected '::'
     ans:array[1..1000] of longint;
        ^
0_0_17420087_30313.cpp:6:5: error: 'ans' does not name a type
     ans:array[1..1000] of longint;
     ^
0_0_17420087_30313.cpp:7:7: error: found ':' in nested-name-specifier, expected '::'
     m1:array[1..1000] of longint;
       ^
0_0_17420087_30313.cpp:7:5: error: 'm1' does not name a type
     m1:array[1..1000] of longint;
     ^
0_0_17420087_30313.cpp:8:6: error: found ':' in nested-name-specifier, expected '::'
     v:array[1..1000] of boolean;
      ^
0_0_17420087_30313.cpp:8:5: error: 'v' does not name a type
     v:array[1..1000] of boolean;
     ^
0_0_17420087_30313.cpp:9:2: error: 'Begin' does not name a type
  Begin
  ^
0_0_17420087_30313.cpp:13:13: error: expected constructor, destructor, or type conversion before '(' token
     fillchar(b,sizeof(b),0);
             ^
0_0_17420087_30313.cpp:14:13: error: expected constructor, destructor, or type conversion before '(' token
     fillchar(m1,sizeof(m1),0);
             ^
0_0_17420087_30313.cpp:15:11: error: expected constructor, destructor, or type conversion before '(' token
     readln(n,m,s);
           ^
0_0_17420087_30313.cpp:16:5: error: expected unqualified-id before 'for'
     for i:= 1 to m do
     ^
0_0_17420087_30313.cpp:19:7: error: 'a' does not name a type
       a[p,q]:=t;
       ^
0_0_17420087_30313.cpp:20:7: error: 'a' does not name a type
       a[q,p]:=t;
       ^
0_0_17420087_30313.cpp:21:10: error: expected constructor, destructor, or type conversion before '(' token
       inc(b[p,0]);
          ^
0_0_17420087_30313.cpp:22:7: error: 'b' does not name a type
       b[p,b[p,0]]:=q;
       ^
0_0_17420087_30313.cpp:23:10: error: expected constructor, destructor, or type conversion before '(' token
       inc(b[q,0]);
          ^
0_0_17420087_30313.cpp:24:7: error: 'b' does not name a type
       b[q,b[q,0]]:=p;
       ^
0_0_17420087_30313.cpp:25:6: error: 'end' does not name a type
      end;
      ^
0_0_17420087_30313.cpp:26:11: error: expected constructor, destructor, or type conversion before '(' token
     readln(w);
           ^
0_0_17420087_30313.cpp:27:5: error: expected unqualified-id before 'for'
     for i:= 1 to w do
     ^
0_0_17420087_30313.cpp:30:13: error: expected constructor, destructor, or type conversion before '(' token
     fillchar(v,sizeof(v),false);
             ^
0_0_17420087_30313.cpp:31:14: error: expected constructor, destructor, or type conversion before '(' token
     filldword(dist,sizeof(dist),maxlongint div 2);
              ^
0_0_17420087_30313.cpp:32:5: error: 'dist' does not name a type
     dist[s]:=0;
     ^
0_0_17420087_30313.cpp:33:5: error: 'head' does not name a type
     head:=1;
     ^
0_0_17420087_30313.cpp:34:5: error: 'tail' does not name a type
     tail:=1;
     ^
0_0_17420087_30313.cpp:35:5: error: 'line' does not name a type
     line[tail]:=s;
     ^
0_0_17420087_30313.cpp:36:5: error: 'v' does not name a type
     v[s]:=true;
     ^
0_0_17420087_30313.cpp:37:5: error: expected unqualified-id before 'while'
     while head<=tail do
     ^
0_0_17420087_30313.cpp:40:7: error: expected unqualified-id before 'for'
       for i:= 1 to b[now,0] do
       ^
0_0_17420087_30313.cpp:44:55: error: expected unqualified-id before 'if'
                                                       if v[b[now,i]]=false then
                                                       ^
0_0_17420087_30313.cpp:47:79: error: expected unqualified-id before 'if'
                                                                               if m1[b[now,i]]=n then
                                                                               ^
0_0_17420087_30313.cpp:50:98: error: 'end' does not name a type
                                                                                                  end;
                                                                                                  ^
0_0_17420087_30313.cpp:51:82: error: expected constructor, destructor, or type conversion before '(' token
                                                                               inc(tail);
                                                                                  ^
0_0_17420087_30313.cpp:52:79: error: 'line' does not name a type
                                                                               line[tail]:=b[now,i];
                                                                               ^
0_0_17420087_30313.cpp:53:79: error: 'v' does not name a type
                                                                               v[line[tail]]:=true;
                                                                               ^
0_0_17420087_30313.cpp:54:78: error: 'end' does not name a type
                                                                              end;
                                                                              ^
0_0_17420087_30313.cpp:55:54: error: 'end' does not name a type
                                                      end;
                                                      ^
0_0_17420087_30313.cpp:56:7: error: 'v' does not name a type
       v[now]:=false;
       ^
0_0_17420087_30313.cpp:57:10: error: expected constructor, destructor, or type conversion before '(' token
       inc(head);
          ^
0_0_17420087_30313.cpp:58:6: error: 'end' does not name a type
      end;
      ^
0_0_17420087_30313.cpp:60:5: error: 'minnum' does not name a type
     minnum:=maxlongint;
     ^
0_0_17420087_30313.cpp:61:5: error: expected unqualified-id before 'for'
     for i:= 1 to w do
     ^
0_0_17420087_30313.cpp:64:5: error: expected unqualified-id before 'if'
     if minnum<>maxlongint div 2 then
     ^
0_0_17420087_30313.cpp:68:4: error: 'end' does not name a type
    end;
    ^
0_0_17420087_30313.cpp:69:2: 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-30 15:27:24, Gzip enabled