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_25077425_31718.cpp:2:12: error: too many decimal points in number
   dx:array[1..4]of integer=(1,-1,0,0);
            ^
0_0_25077425_31718.cpp:3:12: error: too many decimal points in number
   dy:array[1..4]of integer=(0,0,-1,1);
            ^
0_0_25077425_31718.cpp:6:13: error: too many decimal points in number
   a,b:array[0..101,0..101]of longint;
             ^
0_0_25077425_31718.cpp:6:20: error: too many decimal points in number
   a,b:array[0..101,0..101]of longint;
                    ^
0_0_25077425_31718.cpp:7:11: error: too many decimal points in number
   c:array[0..101,0..101,0..4000]of longint;
           ^
0_0_25077425_31718.cpp:7:18: error: too many decimal points in number
   c:array[0..101,0..101,0..4000]of longint;
                  ^
0_0_25077425_31718.cpp:7:25: error: too many decimal points in number
   c:array[0..101,0..101,0..4000]of longint;
                         ^
0_0_25077425_31718.cpp:2:5: error: found ':' in nested-name-specifier, expected '::'
   dx:array[1..4]of integer=(1,-1,0,0);
     ^
0_0_25077425_31718.cpp:2:3: error: 'dx' does not name a type
   dx:array[1..4]of integer=(1,-1,0,0);
   ^
0_0_25077425_31718.cpp:3:5: error: found ':' in nested-name-specifier, expected '::'
   dy:array[1..4]of integer=(0,0,-1,1);
     ^
0_0_25077425_31718.cpp:3:3: error: 'dy' does not name a type
   dy:array[1..4]of integer=(0,0,-1,1);
   ^
0_0_25077425_31718.cpp:4:1: error: 'var' does not name a type
 var
 ^
0_0_25077425_31718.cpp:6:3: error: 'a' does not name a type
   a,b:array[0..101,0..101]of longint;
   ^
0_0_25077425_31718.cpp:7:4: error: found ':' in nested-name-specifier, expected '::'
   c:array[0..101,0..101,0..4000]of longint;
    ^
0_0_25077425_31718.cpp:7:3: error: 'c' does not name a type
   c:array[0..101,0..101,0..4000]of longint;
   ^
0_0_25077425_31718.cpp:9:1: error: 'procedure' does not name a type
 procedure dfs(x,y,t:longint);
 ^
0_0_25077425_31718.cpp:10:1: error: 'var' does not name a type
 var
 ^
0_0_25077425_31718.cpp:12:1: error: 'begin' does not name a type
 begin
 ^
0_0_25077425_31718.cpp:20:14: error: 'c' does not name a type
              c[x+dx[i],y+dy[i],t]:=c[x,y,t]+1;
              ^
0_0_25077425_31718.cpp:21:17: error: expected constructor, destructor, or type conversion before '(' token
              dfs(x+dx[i],y+dy[i],t);
                 ^
0_0_25077425_31718.cpp:22:14: error: 'b' does not name a type
              b[x+dx[i],y+dy[i]]:=0;
              ^
0_0_25077425_31718.cpp:23:12: error: 'end' does not name a type
            end;
            ^
0_0_25077425_31718.cpp:24:10: error: 'end' does not name a type
          end;
          ^
0_0_25077425_31718.cpp:25:1: error: 'end' does not name a type
 end;
 ^
0_0_25077425_31718.cpp:27:1: error: 'begin' does not name a type
 begin
 ^
0_0_25077425_31718.cpp:29:3: error: expected unqualified-id before 'for'
   for i:=1 to n do
   ^
0_0_25077425_31718.cpp:33:9: error: expected unqualified-id before 'for'
         for k:=1 to 4000 do
         ^
0_0_25077425_31718.cpp:35:7: error: 'end' does not name a type
       end;
       ^
0_0_25077425_31718.cpp:36:3: error: expected unqualified-id before 'for'
   for i:=1 to n do
   ^
0_0_25077425_31718.cpp:44:13: error: 'c' does not name a type
             c[i+dx[k],j+dy[k],a[i+dx[k],j+dy[k]]-a[i,j]]:=2;
             ^
0_0_25077425_31718.cpp:45:16: error: expected constructor, destructor, or type conversion before '(' token
             dfs(i+dx[k],j+dy[k],a[i+dx[k],j+dy[k]]-a[i,j]);
                ^
0_0_25077425_31718.cpp:46:13: error: 'b' does not name a type
             b[i,j]:=0;
             ^
0_0_25077425_31718.cpp:47:11: error: 'end' does not name a type
           end;
           ^
0_0_25077425_31718.cpp:48:3: error: expected unqualified-id before 'for'
   for i:=1 to n do
   ^
0_0_25077425_31718.cpp:52:10: error: expected constructor, destructor, or type conversion before '(' token
   writeln(max);
          ^
0_0_25077425_31718.cpp:53: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 06:11:58, Gzip enabled