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_14845763_28747.cpp:3:12: error: empty character constant
   infile = '';
            ^
0_0_14845763_28747.cpp:4:13: error: empty character constant
   outfile = '';
             ^
0_0_14845763_28747.cpp:11:63: error: too many decimal points in number
   h, h1, belong, id, id1, low, dfn, stack, s_in, s_out: Array[0..5000]Of Longint;
                                                               ^
0_0_14845763_28747.cpp:12:15: error: too many decimal points in number
   flag: Array[0..5000]Of Boolean;
               ^
0_0_14845763_28747.cpp:13:22: error: too many decimal points in number
   data, data1: Array[1..30000]Of Rec1;
                      ^
0_0_14845763_28747.cpp:1:1: error: 'Program' does not name a type
 Program hdu3639;
 ^
0_0_14845763_28747.cpp:2:1: error: 'Const' does not name a type
 Const
 ^
0_0_14845763_28747.cpp:4:3: error: 'outfile' does not name a type
   outfile = '';
   ^
0_0_14845763_28747.cpp:5:1: error: 'Type' does not name a type
 Type
 ^
0_0_14845763_28747.cpp:8:3: error: 'End' does not name a type
   End;
   ^
0_0_14845763_28747.cpp:9:1: error: 'Var' does not name a type
 Var
 ^
0_0_14845763_28747.cpp:11:3: error: 'h' does not name a type
   h, h1, belong, id, id1, low, dfn, stack, s_in, s_out: Array[0..5000]Of Longint;
   ^
0_0_14845763_28747.cpp:12:7: error: found ':' in nested-name-specifier, expected '::'
   flag: Array[0..5000]Of Boolean;
       ^
0_0_14845763_28747.cpp:12:3: error: 'flag' does not name a type
   flag: Array[0..5000]Of Boolean;
   ^
0_0_14845763_28747.cpp:13:3: error: 'data' does not name a type
   data, data1: Array[1..30000]Of Rec1;
   ^
0_0_14845763_28747.cpp:14:1: error: 'Procedure' does not name a type
 Procedure dfs1(x: Longint);
 ^
0_0_14845763_28747.cpp:15:1: error: 'Var' does not name a type
 Var
 ^
0_0_14845763_28747.cpp:17:1: error: 'Begin' does not name a type
 Begin
 ^
0_0_14845763_28747.cpp:18:14: error: 'dfn' does not name a type
   Inc(temp); dfn[x] := temp; low[x] := temp;
              ^
0_0_14845763_28747.cpp:18:30: error: 'low' does not name a type
   Inc(temp); dfn[x] := temp; low[x] := temp;
                              ^
0_0_14845763_28747.cpp:19:6: error: expected constructor, destructor, or type conversion before '(' token
   Inc(num1); stack[num1] := x;
      ^
0_0_14845763_28747.cpp:19:14: error: 'stack' does not name a type
   Inc(num1); stack[num1] := x;
              ^
0_0_14845763_28747.cpp:20:3: error: 'flag' does not name a type
   flag[x] := true;
   ^
0_0_14845763_28747.cpp:22:3: error: 't' does not name a type
   t := h[x];
   ^
0_0_14845763_28747.cpp:23:3: error: 'While' does not name a type
   While t <> -1 Do Begin
   ^
0_0_14845763_28747.cpp:25:5: error: 'If' does not name a type
     If dfn[y] = 0 Then Begin
     ^
0_0_14845763_28747.cpp:27:7: error: 'If' does not name a type
       If low[y] < low[x] Then low[x] := low[y];
       ^
0_0_14845763_28747.cpp:28:5: error: 'End' does not name a type
     End Else If flag[y] And (dfn[y] < low[x]) Then low[x] := dfn[y];
     ^
0_0_14845763_28747.cpp:29:5: error: 't' does not name a type
     t := data[t].next;
     ^
0_0_14845763_28747.cpp:30:3: error: 'End' does not name a type
   End;
   ^
0_0_14845763_28747.cpp:32:3: error: 'If' does not name a type
   If dfn[x] = low[x] Then Begin
   ^
0_0_14845763_28747.cpp:34:5: error: 'Repeat' does not name a type
     Repeat
     ^
0_0_14845763_28747.cpp:36:10: error: expected constructor, destructor, or type conversion before '(' token
       Inc(id[k]);
          ^
0_0_14845763_28747.cpp:37:7: error: 'belong' does not name a type
       belong[y] := k;
       ^
0_0_14845763_28747.cpp:38:7: error: 'flag' does not name a type
       flag[y] := false;
       ^
0_0_14845763_28747.cpp:39:10: error: expected constructor, destructor, or type conversion before '(' token
       Dec(num1);
          ^
0_0_14845763_28747.cpp:40:5: error: 'Until' does not name a type
     Until y = x;
     ^
0_0_14845763_28747.cpp:42:3: error: 'End' does not name a type
   End;
   ^
0_0_14845763_28747.cpp:44:1: error: 'End' does not name a type
 End;
 ^
0_0_14845763_28747.cpp:46:1: error: 'Procedure' does not name a type
 Procedure dfs2(i: Longint);
 ^
0_0_14845763_28747.cpp:47:1: error: 'Var' does not name a type
 Var
 ^
0_0_14845763_28747.cpp:49:3: error: 't' does not name a type
   t, y: Longint;
   ^
0_0_14845763_28747.cpp:50:1: error: 'Begin' does not name a type
 Begin
 ^
0_0_14845763_28747.cpp:51:15: error: 't' does not name a type
   f1 := true; t := h1[i];  flag[i] := false;
               ^
0_0_14845763_28747.cpp:51:28: error: 'flag' does not name a type
   f1 := true; t := h1[i];  flag[i] := false;
                            ^
0_0_14845763_28747.cpp:52:3: error: 'While' does not name a type
   While t <> -1 Do Begin
   ^
0_0_14845763_28747.cpp:54:5: error: 'If' does not name a type
     If flag[y] Then Begin
     ^
0_0_14845763_28747.cpp:56:7: error: 'f1' does not name a type
       f1 := false;
       ^
0_0_14845763_28747.cpp:57:5: error: 'End' does not name a type
     End;
     ^
0_0_14845763_28747.cpp:58:5: error: 'id' does not name a type
     id[i] := id[i] + id[y];
     ^
0_0_14845763_28747.cpp:59:5: error: 't' does not name a type
     t := data1[t].next;
     ^
0_0_14845763_28747.cpp:60:3: error: 'End' does not name a type
   End;
   ^
0_0_14845763_28747.cpp:61:1: error: 'End' does not name a type
 End;
 ^
0_0_14845763_28747.cpp:63:1: error: 'Begin' does not name a type
 Begin
 ^
0_0_14845763_28747.cpp:65:9: error: expected constructor, destructor, or type conversion before '(' token
   Assign(output, outfile);
         ^
0_0_14845763_28747.cpp:66:8: error: expected constructor, destructor, or type conversion before '(' token
   Reset(input); Rewrite(output);
        ^
0_0_14845763_28747.cpp:66:24: error: expected constructor, destructor, or type conversion before '(' token
   Reset(input); Rewrite(output);
                        ^
0_0_14845763_28747.cpp:67:9: error: expected constructor, destructor, or type conversion before '(' token
   ReadLn(t);
         ^
0_0_14845763_28747.cpp:68:3: error: 'For' does not name a type
   For ii:=1 To t Do Begin
   ^
0_0_14845763_28747.cpp:70:13: error: expected constructor, destructor, or type conversion before '(' token
     Fillchar(h, sizeof(h), $ff);
             ^
0_0_14845763_28747.cpp:71:5: error: 'num' does not name a type
     num := 0;
     ^
0_0_14845763_28747.cpp:72:5: error: 'For' does not name a type
     For i:=1 To m Do Begin
     ^
0_0_14845763_28747.cpp:74:10: error: expected constructor, destructor, or type conversion before '(' token
       Inc(x); Inc(y);
          ^
0_0_14845763_28747.cpp:74:18: error: expected constructor, destructor, or type conversion before '(' token
       Inc(x); Inc(y);
                  ^
0_0_14845763_28747.cpp:75:10: error: expected constructor, destructor, or type conversion before '(' token
       Inc(num);
          ^
0_0_14845763_28747.cpp:76:7: error: 'data' does not name a type
       data[num].x := x;
       ^
0_0_14845763_28747.cpp:77:7: error: 'data' does not name a type
       data[num].y := y;
       ^
0_0_14845763_28747.cpp:78:7: error: 'data' does not name a type
       data[num].next := h[x];
       ^
0_0_14845763_28747.cpp:79:7: error: 'h' does not name a type
       h[x] := num;
       ^
0_0_14845763_28747.cpp:80:5: error: 'End' does not name a type
     End;
     ^
0_0_14845763_28747.cpp:82:13: error: expected constructor, destructor, or type conversion before '(' token
     Fillchar(dfn, sizeof(dfn), 0);
             ^
0_0_14845763_28747.cpp:83:13: error: expected constructor, destructor, or type conversion before '(' token
     Fillchar(flag, sizeof(flag), true);
             ^
0_0_14845763_28747.cpp:84:13: error: expected constructor, destructor, or type conversion before '(' token
     Fillchar(belong, sizeof(belong), 0);
             ^
0_0_14845763_28747.cpp:85:13: error: expected constructor, destructor, or type conversion before '(' token
     Fillchar(id, sizeof(id), 0);
             ^
0_0_14845763_28747.cpp:86:5: error: 'num1' does not name a type
     num1 := 0; temp := 0; k := 0;
     ^
0_0_14845763_28747.cpp:86:16: error: 'temp' does not name a type
     num1 := 0; temp := 0; k := 0;
                ^
0_0_14845763_28747.cpp:86:27: error: 'k' does not name a type
     num1 := 0; temp := 0; k := 0;
                           ^
0_0_14845763_28747.cpp:87:5: error: 'For' does not name a type
     For i:=1 To n Do
     ^
0_0_14845763_28747.cpp:91:5: error: 'l' does not name a type
     l := 0;
     ^
0_0_14845763_28747.cpp:92:13: error: expected constructor, destructor, or type conversion before '(' token
     Fillchar(h1, sizeof(h1), $ff);
             ^
0_0_14845763_28747.cpp:93:13: error: expected constructor, destructor, or type conversion before '(' token
     Fillchar(s_in, sizeof(s_in), 0);
             ^
0_0_14845763_28747.cpp:94:13: error: expected constructor, destructor, or type conversion before '(' token
     Fillchar(s_out, sizeof(s_out), 0);
             ^
0_0_14845763_28747.cpp:95:5: error: 'For' does not name a type
     For i:=1 To num Do Begin
     ^
0_0_14845763_28747.cpp:96:31: error: 'y' does not name a type
       x := belong[data[i].x]; y := belong[data[i].y];
                               ^
0_0_14845763_28747.cpp:97:7: error:


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-12-02 17:24:31, Gzip enabled