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_23639087_28471.cpp: In function 'void manacher()':
0_0_23639087_28471.cpp:26:39: error: expected primary-expression before '<' token
         while(st[i-p[i]]==st[i+p[i]]&&<span style="color:#ff0000;">st[i-p[i]]<=st[i-p[i]+2]</span>) p[i]++;
                                       ^
0_0_23639087_28471.cpp:26:40: error: 'span' was not declared in this scope
         while(st[i-p[i]]==st[i+p[i]]&&<span style="color:#ff0000;">st[i-p[i]]<=st[i-p[i]+2]</span>) p[i]++;
                                        ^
0_0_23639087_28471.cpp:26:45: error: expected ')' before 'style'
         while(st[i-p[i]]==st[i+p[i]]&&<span style="color:#ff0000;">st[i-p[i]]<=st[i-p[i]+2]</span>) p[i]++;
                                             ^
0_0_23639087_28471.cpp:26:45: error: 'style' was not declared in this scope
0_0_23639087_28471.cpp:26:77: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
         while(st[i-p[i]]==st[i+p[i]]&&<span style="color:#ff0000;">st[i-p[i]]<=st[i-p[i]+2]</span>) p[i]++;
                                                                             ^
0_0_23639087_28471.cpp:26:93: error: expected primary-expression before '/' token
         while(st[i-p[i]]==st[i+p[i]]&&<span style="color:#ff0000;">st[i-p[i]]<=st[i-p[i]+2]</span>) p[i]++;
                                                                                             ^
0_0_23639087_28471.cpp:26:99: error: expected primary-expression before ')' token
         while(st[i-p[i]]==st[i+p[i]]&&<span style="color:#ff0000;">st[i-p[i]]<=st[i-p[i]+2]</span>) p[i]++;
                                                                                                   ^


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-26 13:12:28, Gzip enabled