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_16322272_21605.cpp:3:12: error: too many decimal points in number
   p:array [1..1000000] of longint;
            ^
0_0_16322272_21605.cpp:19:13: error: empty character constant
   while ss<>'' do
             ^
0_0_16322272_21605.cpp:1:1: error: 'uses' does not name a type
 uses math;
 ^
0_0_16322272_21605.cpp:2:1: error: 'var' does not name a type
 var
 ^
0_0_16322272_21605.cpp:4:3: error: 's' does not name a type
   s,ss:ansistring;
   ^
0_0_16322272_21605.cpp:5:3: error: 'i' does not name a type
   i,j,mx,n,ans,id:longint;
   ^
0_0_16322272_21605.cpp:6:1: error: 'begin' does not name a type
 begin
 ^
0_0_16322272_21605.cpp:18:9: error: expected constructor, destructor, or type conversion before '(' token
   readln(ss);
         ^
0_0_16322272_21605.cpp:19:3: error: expected unqualified-id before 'while'
   while ss<>'' do
   ^
0_0_16322272_21605.cpp:22:5: error: 's' does not name a type
     s:='#';
     ^
0_0_16322272_21605.cpp:23:5: error: 'n' does not name a type
     n:=length(ss);
     ^
0_0_16322272_21605.cpp:24:5: error: expected unqualified-id before 'for'
     for i:=1 to n do
     ^
0_0_16322272_21605.cpp:27:7: error: 's' does not name a type
       s:=s+'#';
       ^
0_0_16322272_21605.cpp:28:5: error: 'end' does not name a type
     end;
     ^
0_0_16322272_21605.cpp:29:5: error: 'mx' does not name a type
     mx:=0;
     ^
0_0_16322272_21605.cpp:30:5: error: 'id' does not name a type
     id:=0;
     ^
0_0_16322272_21605.cpp:31:5: error: 'n' does not name a type
     n:=n*2+1;
     ^
0_0_16322272_21605.cpp:32:5: error: 's' does not name a type
     s:=s+'%';
     ^
0_0_16322272_21605.cpp:33:5: error: expected unqualified-id before 'for'
     for i:=1 to n do
     ^
0_0_16322272_21605.cpp:38:7: error: expected unqualified-id before 'while'
       while (p[i]<i) and (s[i-p[i]]=s[i+p[i]]) do inc(p[i]);
       ^
0_0_16322272_21605.cpp:39:7: error: expected unqualified-id before 'if'
       if p[i]+i>mx then
       ^
0_0_16322272_21605.cpp:42:9: error: 'mx' does not name a type
         mx:=p[i]+i;
         ^
0_0_16322272_21605.cpp:43:7: error: 'end' does not name a type
       end;
       ^
0_0_16322272_21605.cpp:44:5: error: 'end' does not name a type
     end;
     ^
0_0_16322272_21605.cpp:45:5: error: 'ans' does not name a type
     ans:=0;
     ^
0_0_16322272_21605.cpp:46:5: error: expected unqualified-id before 'for'
     for i:=1 to n do
     ^
0_0_16322272_21605.cpp:50:5: error: 'end' does not name a type
     end;
     ^
0_0_16322272_21605.cpp:51:12: error: expected constructor, destructor, or type conversion before '(' token
     writeln(ans-1);
            ^
0_0_16322272_21605.cpp:52:5: error: 'readln' does not name a type
     readln;
     ^
0_0_16322272_21605.cpp:53:11: error: expected constructor, destructor, or type conversion before '(' token
     readln(ss);
           ^
0_0_16322272_21605.cpp:54:3: error: 'end' does not name a type
   end;
   ^
0_0_16322272_21605.cpp:55: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 14:42:33, Gzip enabled