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_20559502_21519.cpp:2:13: error: too many decimal points in number
   nex:array[0..100001]of longint;
             ^
0_0_20559502_21519.cpp:1:1: error: 'var' does not name a type
 var
 ^
0_0_20559502_21519.cpp:3:3: error: 'a' does not name a type
   a,b:ansistring;
   ^
0_0_20559502_21519.cpp:4:1: error: 'procedure' does not name a type
 procedure getNex;
 ^
0_0_20559502_21519.cpp:5:1: error: 'var' does not name a type
 var
 ^
0_0_20559502_21519.cpp:7:1: error: 'begin' does not name a type
 begin
 ^
0_0_20559502_21519.cpp:9:3: error: 'j' does not name a type
   j:=0;
   ^
0_0_20559502_21519.cpp:10:3: error: expected unqualified-id before 'for'
   for i:=2 to length(a) do
   ^
0_0_20559502_21519.cpp:13:5: error: expected unqualified-id before 'if'
     if (a[i]=a[j+1]) then inc(j);
     ^
0_0_20559502_21519.cpp:14:5: error: 'nex' does not name a type
     nex[i]:=j;
     ^
0_0_20559502_21519.cpp:15:3: error: 'end' does not name a type
   end;
   ^
0_0_20559502_21519.cpp:16:3: error: expected unqualified-id before 'if'
   if nex[length(a)]>length(a)-length(b) then nex[length(a)]:=length(a)-length(b); 
   ^
0_0_20559502_21519.cpp:17:3: error: expected unqualified-id before 'if'
   if nex[length(a)]>length(b) then nex[length(a)]:=length(b);
   ^
0_0_20559502_21519.cpp:18:3: error: expected unqualified-id before 'if'
   if nex[length(a)]>0 then
   ^
0_0_20559502_21519.cpp:20:10: error: expected constructor, destructor, or type conversion before '(' token
   writeln(nex[length(a)]);
          ^
0_0_20559502_21519.cpp:21:1: error: 'end' does not name a type
 end;
 ^
0_0_20559502_21519.cpp:22:1: error: 'begin' does not name a type
 begin
 ^
0_0_20559502_21519.cpp:26:11: error: expected constructor, destructor, or type conversion before '(' token
     readln(b);
           ^
0_0_20559502_21519.cpp:27:5: error: 'a' does not name a type
     a:=a+b;
     ^
0_0_20559502_21519.cpp:28:5: error: 'getNex' does not name a type
     getNex;
     ^
0_0_20559502_21519.cpp:29:3: error: 'end' does not name a type
   end;
   ^
0_0_20559502_21519.cpp:30: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-09-29 13:23:39, Gzip enabled