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_19268772_18758.cpp:13:11: error: too many decimal points in number
   a:array[1..maxv] of arr;
           ^
0_0_19268772_18758.cpp:15:11: error: too many decimal points in number
   c:array[1..maxe] of string;
           ^
0_0_19268772_18758.cpp:16:11: error: too many decimal points in number
   d:array[1..maxe] of real;
           ^
0_0_19268772_18758.cpp:2:3: error: 'maxe' does not name a type
   maxe=10000;
   ^
0_0_19268772_18758.cpp:3:3: error: 'maxv' does not name a type
   maxv=20000;
   ^
0_0_19268772_18758.cpp:5:1: error: 'type' does not name a type
 type
 ^
0_0_19268772_18758.cpp:8:5: error: 'w' does not name a type
     w,t:real;
     ^
0_0_19268772_18758.cpp:9:1: error: 'end' does not name a type
 end;
 ^
0_0_19268772_18758.cpp:11:1: error: 'var' does not name a type
 var
 ^
0_0_19268772_18758.cpp:13:4: error: found ':' in nested-name-specifier, expected '::'
   a:array[1..maxv] of arr;
    ^
0_0_19268772_18758.cpp:13:3: error: 'a' does not name a type
   a:array[1..maxv] of arr;
   ^
0_0_19268772_18758.cpp:14:3: error: 's' does not name a type
   s,s1:string;
   ^
0_0_19268772_18758.cpp:15:4: error: found ':' in nested-name-specifier, expected '::'
   c:array[1..maxe] of string;
    ^
0_0_19268772_18758.cpp:15:3: error: 'c' does not name a type
   c:array[1..maxe] of string;
   ^
0_0_19268772_18758.cpp:16:4: error: found ':' in nested-name-specifier, expected '::'
   d:array[1..maxe] of real;
    ^
0_0_19268772_18758.cpp:16:3: error: 'd' does not name a type
   d:array[1..maxe] of real;
   ^
0_0_19268772_18758.cpp:17:3: error: 'i' does not name a type
   i,j,k,kk:longint;
   ^
0_0_19268772_18758.cpp:18:4: error: found ':' in nested-name-specifier, expected '::'
   l:real;
    ^
0_0_19268772_18758.cpp:18:3: error: 'l' does not name a type
   l:real;
   ^
0_0_19268772_18758.cpp:19:4: error: found ':' in nested-name-specifier, expected '::'
   t:longint;
    ^
0_0_19268772_18758.cpp:19:3: error: 't' does not name a type
   t:longint;
   ^
0_0_19268772_18758.cpp:21:1: error: 'procedure' does not name a type
 procedure relax(u,v:longint;w:real);
 ^
0_0_19268772_18758.cpp:21:30: error: found ':' in nested-name-specifier, expected '::'
 procedure relax(u,v:longint;w:real);
                              ^
0_0_19268772_18758.cpp:21:29: error: 'w' does not name a type
 procedure relax(u,v:longint;w:real);
                             ^
0_0_19268772_18758.cpp:22:1: error: 'var' does not name a type
 var
 ^
0_0_19268772_18758.cpp:24:1: error: 'begin' does not name a type
 begin
 ^
0_0_19268772_18758.cpp:26:3: error: expected unqualified-id before 'if'
   if i>d[v] then
   ^
0_0_19268772_18758.cpp:28:1: error: 'end' does not name a type
 end;
 ^
0_0_19268772_18758.cpp:30:1: error: 'function' does not name a type
 function bellman:boolean;
 ^
0_0_19268772_18758.cpp:31:1: error: 'var' does not name a type
 var
 ^
0_0_19268772_18758.cpp:33:4: error: found ':' in nested-name-specifier, expected '::'
   k:real;
    ^
0_0_19268772_18758.cpp:33:3: error: 'k' does not name a type
   k:real;
   ^
0_0_19268772_18758.cpp:34:1: error: 'begin' does not name a type
 begin
 ^
0_0_19268772_18758.cpp:38:3: error: expected unqualified-id before 'for'
   for i:=1 to m do
   ^
0_0_19268772_18758.cpp:42:9: error: expected unqualified-id before 'if'
         if k>d[y] then exit(true);
         ^
0_0_19268772_18758.cpp:43:7: error: 'end' does not name a type
       end;
       ^
0_0_19268772_18758.cpp:44:7: error: expected constructor, destructor, or type conversion before '(' token
   exit(false)
       ^
0_0_19268772_18758.cpp:47:1: error: 'procedure' does not name a type
 procedure init;
 ^
0_0_19268772_18758.cpp:48:1: error: 'begin' does not name a type
 begin
 ^
0_0_19268772_18758.cpp:50:3: error: 't' does not name a type
   t:=t+1;
   ^
0_0_19268772_18758.cpp:51:3: error: expected unqualified-id before 'if'
   if n=0 then halt;
   ^
0_0_19268772_18758.cpp:52:11: error: expected constructor, destructor, or type conversion before '(' token
   fillchar(c,sizeof(c),0);
           ^
0_0_19268772_18758.cpp:53:3: error: expected unqualified-id before 'for'
   for i:=1 to n do
   ^
0_0_19268772_18758.cpp:56:5: error: 'end' does not name a type
     end;
     ^
0_0_19268772_18758.cpp:57:11: error: expected constructor, destructor, or type conversion before '(' token
   fillchar(a,sizeof(a),0);
           ^
0_0_19268772_18758.cpp:58:3: error: expected unqualified-id before 'for'
   for i:=1 to n do
   ^
0_0_19268772_18758.cpp:60:9: error: expected constructor, destructor, or type conversion before '(' token
   readln(m);
         ^
0_0_19268772_18758.cpp:61:3: error: expected unqualified-id before 'for'
   for j:=1 to m do
   ^
0_0_19268772_18758.cpp:64:7: error: 'k' does not name a type
       k:=pos(' ',s);
       ^
0_0_19268772_18758.cpp:65:7: error: 's1' does not name a type
       s1:=copy(s,1,k-1);
       ^
0_0_19268772_18758.cpp:66:7: error: expected unqualified-id before 'delete'
       delete(s,1,k);
       ^
0_0_19268772_18758.cpp:67:7: error: expected unqualified-id before 'for'
       for i:=1 to n do
       ^
0_0_19268772_18758.cpp:69:7: error: 'k' does not name a type
       k:=pos(' ',s);
       ^
0_0_19268772_18758.cpp:70:7: error: 's1' does not name a type
       s1:=copy(s,1,k-1);
       ^
0_0_19268772_18758.cpp:71:10: error: expected constructor, destructor, or type conversion before '(' token
       val(s1,l);
          ^
0_0_19268772_18758.cpp:72:7: error: expected unqualified-id before 'delete'
       delete(s,1,k);
       ^
0_0_19268772_18758.cpp:73:7: error: expected unqualified-id before 'for'
       for kk:=1 to n do
       ^
0_0_19268772_18758.cpp:75:7: error: 'a' does not name a type
       a[j].x:=i;
       ^
0_0_19268772_18758.cpp:76:7: error: 'a' does not name a type
       a[j].y:=kk;
       ^
0_0_19268772_18758.cpp:77:7: error: 'a' does not name a type
       a[j].w:=l;
       ^
0_0_19268772_18758.cpp:78:5: error: 'end' does not name a type
     end;
     ^
0_0_19268772_18758.cpp:79:1: error: 'end' does not name a type
 end;
 ^
0_0_19268772_18758.cpp:81:1: error: 'begin' does not name a type
 begin
 ^
0_0_19268772_18758.cpp:83:3: error: expected unqualified-id before 'while'
   while 1=1 do begin
   ^
0_0_19268772_18758.cpp:85:3: error: expected unqualified-id before 'if'
   if bellman
   ^
0_0_19268772_18758.cpp:88:3: error: 'end' does not name a type
   end;
   ^
0_0_19268772_18758.cpp:89: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-25 09:59:54, Gzip enabled