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_15099425_11575.cpp:1:13: error: too many decimal points in number
 var s:array[0..100100] of string;
             ^
0_0_15099425_11575.cpp:2:63: error: too many decimal points in number
     x,y,qx,qy,hx,hy,now,top,num,f,qnow,qtop,hnow,htop,d:array[0..200100] of longint;
                                                               ^
0_0_15099425_11575.cpp:4:19: error: too many decimal points in number
     pp,root:array[0..100100] of boolean;
                   ^
0_0_15099425_11575.cpp:62:32: error: empty character constant
                            ss:='';
                                ^
0_0_15099425_11575.cpp:81:31: error: empty character constant
                           ss:='';
                               ^
0_0_15099425_11575.cpp:1:1: error: 'var' does not name a type
 var s:array[0..100100] of string;
 ^
0_0_15099425_11575.cpp:2:5: error: 'x' does not name a type
     x,y,qx,qy,hx,hy,now,top,num,f,qnow,qtop,hnow,htop,d:array[0..200100] of longint;
     ^
0_0_15099425_11575.cpp:3:5: error: 'i' does not name a type
     i,j,k,t,l,n,m:longint;
     ^
0_0_15099425_11575.cpp:4:5: error: 'pp' does not name a type
     pp,root:array[0..100100] of boolean;
     ^
0_0_15099425_11575.cpp:5:5: error: 'ch' does not name a type
     ch:char;
     ^
0_0_15099425_11575.cpp:6:7: error: found ':' in nested-name-specifier, expected '::'
     ss:string;
       ^
0_0_15099425_11575.cpp:6:5: error: 'ss' does not name a type
     ss:string;
     ^
0_0_15099425_11575.cpp:7:6: error: found ':' in nested-name-specifier, expected '::'
     p:boolean;
      ^
0_0_15099425_11575.cpp:7:5: error: 'p' does not name a type
     p:boolean;
     ^
0_0_15099425_11575.cpp:8:5: error: 'function' does not name a type
     function find(x:longint):longint;
     ^
0_0_15099425_11575.cpp:9:5: error: 'begin' does not name a type
     begin
     ^
0_0_15099425_11575.cpp:11:10: error: 'find' does not name a type
          find:=find(f[x]);
          ^
0_0_15099425_11575.cpp:12:10: error: 'f' does not name a type
          f[x]:=find;
          ^
0_0_15099425_11575.cpp:13:5: error: 'end' does not name a type
     end;
     ^
0_0_15099425_11575.cpp:14:5: error: 'procedure' does not name a type
     procedure lca(i:longint);
     ^
0_0_15099425_11575.cpp:15:5: error: 'var' does not name a type
     var r,o:longint;
     ^
0_0_15099425_11575.cpp:16:5: error: 'begin' does not name a type
     begin
     ^
0_0_15099425_11575.cpp:18:10: error: expected unqualified-id before 'while'
          while r<>0 do
          ^
0_0_15099425_11575.cpp:21:18: error: expected constructor, destructor, or type conversion before '(' token
               lca(y[r]);
                  ^
0_0_15099425_11575.cpp:22:15: error: 'f' does not name a type
               f[y[r]]:=i;
               ^
0_0_15099425_11575.cpp:23:15: error: 'r' does not name a type
               r:=qx[r];
               ^
0_0_15099425_11575.cpp:24:10: error: 'end' does not name a type
          end;
          ^
0_0_15099425_11575.cpp:25:10: error: 'pp' does not name a type
          pp[i]:=true;
          ^
0_0_15099425_11575.cpp:26:10: error: 'r' does not name a type
          r:=hnow[i];
          ^
0_0_15099425_11575.cpp:27:10: error: expected unqualified-id before 'while'
          while r<>0 do
          ^
0_0_15099425_11575.cpp:30:15: error: 'r' does not name a type
               r:=qnow[r];
               ^
0_0_15099425_11575.cpp:31:10: error: 'end' does not name a type
          end;
          ^
0_0_15099425_11575.cpp:32:10: error: 'r' does not name a type
          r:=htop[i];
          ^
0_0_15099425_11575.cpp:33:10: error: expected unqualified-id before 'while'
          while r<>0 do
          ^
0_0_15099425_11575.cpp:36:15: error: 'r' does not name a type
               r:=qtop[r];
               ^
0_0_15099425_11575.cpp:37:10: error: 'end' does not name a type
          end;
          ^
0_0_15099425_11575.cpp:38:5: error: 'end' does not name a type
     end;
     ^
0_0_15099425_11575.cpp:39:1: error: 'begin' does not name a type
 begin
 ^
0_0_15099425_11575.cpp:41:6: error: expected unqualified-id before 'for'
      for l:=1 to t do
      ^
0_0_15099425_11575.cpp:44:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(qy,sizeof(qy),0);
                              ^
0_0_15099425_11575.cpp:45:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(hx,sizeof(hx),0);
                              ^
0_0_15099425_11575.cpp:46:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(hy,sizeof(hy),0);
                              ^
0_0_15099425_11575.cpp:47:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(now,sizeof(now),0);
                              ^
0_0_15099425_11575.cpp:48:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(top,sizeof(top),0);
                              ^
0_0_15099425_11575.cpp:49:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(num,sizeof(num),0);
                              ^
0_0_15099425_11575.cpp:50:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(s,sizeof(s),0);
                              ^
0_0_15099425_11575.cpp:51:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(s,sizeof(d),0);
                              ^
0_0_15099425_11575.cpp:52:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(pp,sizeof(pp),false);
                              ^
0_0_15099425_11575.cpp:53:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(root,sizeof(pp),true);
                              ^
0_0_15099425_11575.cpp:54:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(qnow,sizeof(qnow),0);
                              ^
0_0_15099425_11575.cpp:55:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(qtop,sizeof(qtop),0);
                              ^
0_0_15099425_11575.cpp:56:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(hnow,sizeof(hnow),0);
                              ^
0_0_15099425_11575.cpp:57:30: error: expected constructor, destructor, or type conversion before '(' token
                      fillchar(htop,sizeof(htop),0);
                              ^
0_0_15099425_11575.cpp:58:28: error: expected constructor, destructor, or type conversion before '(' token
                      readln(n,m);
                            ^
0_0_15099425_11575.cpp:59:22: error: 'k' does not name a type
                      k:=0;
                      ^
0_0_15099425_11575.cpp:60:22: error: expected unqualified-id before 'for'
                      for i:=1 to n-1 do
                      ^
0_0_15099425_11575.cpp:63:32: error: expected constructor, destructor, or type conversion before '(' token
                            read(ch);
                                ^
0_0_15099425_11575.cpp:64:28: error: expected unqualified-id before 'while'
                            while ch<>' ' do
                            ^
0_0_15099425_11575.cpp:67:37: error: expected constructor, destructor, or type conversion before '(' token
                                 read(ch);
                                     ^
0_0_15099425_11575.cpp:68:28: error: 'end' does not name a type
                            end;
                            ^
0_0_15099425_11575.cpp:69:28: error: 'p' does not name a type
                            p:=false;
                            ^
0_0_15099425_11575.cpp:70:28: error: expected unqualified-id before 'for'
                            for j:=1 to k do
                            ^
0_0_15099425_11575.cpp:71:61: error: 'p' does not name a type
                              if s[j]=ss then begin y[i]:=j; p:=true; root[j]:=false; end;
                                                             ^
0_0_15099425_11575.cpp:71:70: error: 'root' does not name a type
                              if s[j]=ss then begin y[i]:=j; p:=true; root[j]:=false; end;
                                                                      ^
0_0_15099425_11575.cpp:71:86: error: 'end' does not name a type
                              if s[j]=ss then begin y[i]:=j; p:=true; root[j]:=false; end;
                                                                                      ^
0_0_15099425_11575.cpp:72:28: error: expected unqualified-id before 'if'
                            if not p then begin inc(k); s[k]:=ss; y[i]:=k; root[k]:=false; end;
                            ^
0_0_15099425_11575.cpp:72:56: error: 's' does not name a type
                            if not p then begin inc(k); s[k]:=ss; y[i]:=k; root[k]:=false; end;
                                                        ^
0_0_15099425_11575.cpp:72:66: error: 'y' does not name a type
                            if not p then begin inc(k); s[k]:=ss; y[i]:=k; root[k]:=false; end;
                                                                  ^
R:


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-17 09:41:45, Gzip enabled