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_30778123_22758.c: In function 'KMP':
0_0_30778123_22758.c:37:28: error: expected expression before '/' token
             k++; j=next[j];//表示W的第j个以前都与T的从i-next[j]到第i-1这段已经匹好了
                            ^
0_0_30778123_22758.c:37:28: error: stray '\261' in program
0_0_30778123_22758.c:37:28: error: stray '\355' in program
0_0_30778123_22758.c:37:28: error: stray '\312' in program
0_0_30778123_22758.c:37:28: error: stray '\276' in program
0_0_30778123_22758.c:37:28: error: stray '\265' in program
0_0_30778123_22758.c:37:28: error: stray '\304' in program
0_0_30778123_22758.c:37:28: error: stray '\265' in program
0_0_30778123_22758.c:37:28: error: stray '\332' in program
0_0_30778123_22758.c:37:28: error: stray '\270' in program
0_0_30778123_22758.c:37:28: error: stray '\366' in program
0_0_30778123_22758.c:37:28: error: stray '\322' in program
0_0_30778123_22758.c:37:28: error: stray '\324' in program
0_0_30778123_22758.c:37:28: error: stray '\307' in program
0_0_30778123_22758.c:37:28: error: stray '\260' in program
0_0_30778123_22758.c:37:28: error: stray '\266' in program
0_0_30778123_22758.c:37:28: error: stray '\274' in program
0_0_30778123_22758.c:37:28: error: stray '\323' in program
0_0_30778123_22758.c:37:28: error: stray '\353' in program
0_0_30778123_22758.c:37:28: error: stray '\265' in program
0_0_30778123_22758.c:37:28: error: stray '\304' in program
0_0_30778123_22758.c:37:28: error: stray '\264' in program
0_0_30778123_22758.c:37:28: error: stray '\323' in program
0_0_30778123_22758.c:37:28: error: stray '\265' in program
0_0_30778123_22758.c:37:28: error: stray '\275' in program
0_0_30778123_22758.c:37:28: error: stray '\265' in program
0_0_30778123_22758.c:37:28: error: stray '\332' in program
0_0_30778123_22758.c:37:28: error: stray '\243' in program
0_0_30778123_22758.c:37:28: error: stray '\255' in program
0_0_30778123_22758.c:37:28: error: stray '\325' in program
0_0_30778123_22758.c:37:28: error: stray '\342' in program
0_0_30778123_22758.c:37:28: error: stray '\266' in program
0_0_30778123_22758.c:37:28: error: stray '\316' in program
0_0_30778123_22758.c:37:28: error: stray '\322' in program
0_0_30778123_22758.c:37:28: error: stray '\321' in program
0_0_30778123_22758.c:37:28: error: stray '\276' in program
0_0_30778123_22758.c:37:28: error: stray '\255' in program
0_0_30778123_22758.c:37:28: error: stray '\306' in program
0_0_30778123_22758.c:37:28: error: stray '\245' in program
0_0_30778123_22758.c:37:28: error: stray '\272' in program
0_0_30778123_22758.c:37:28: error: stray '\303' in program
0_0_30778123_22758.c:37:28: error: stray '\301' in program
0_0_30778123_22758.c:37:28: error: stray '\313' in program
0_0_30778123_22758.c:38:29: error: expected expression before '/' token
         }                   //next[j]的值是在W[j]前面的串中最长前缀和最长后缀相等,那么
                             ^
0_0_30778123_22758.c:38:29: error: stray '\265' in program
0_0_30778123_22758.c:38:29: error: stray '\304' in program
0_0_30778123_22758.c:38:29: error: stray '\326' in program
0_0_30778123_22758.c:38:29: error: stray '\265' in program
0_0_30778123_22758.c:38:29: error: stray '\312' in program
0_0_30778123_22758.c:38:29: error: stray '\307' in program
0_0_30778123_22758.c:38:29: error: stray '\324' in program
0_0_30778123_22758.c:38:29: error: stray '\332' in program
0_0_30778123_22758.c:38:29: error: stray '\307' in program
0_0_30778123_22758.c:38:29: error: stray '\260' in program
0_0_30778123_22758.c:38:29: error: stray '\303' in program
0_0_30778123_22758.c:38:29: error: stray '\346' in program
0_0_30778123_22758.c:38:29: error: stray '\265' in program
0_0_30778123_22758.c:38:29: error: stray '\304' in program
0_0_30778123_22758.c:38:29: error: stray '\264' in program
0_0_30778123_22758.c:38:29: error: stray '\256' in program
0_0_30778123_22758.c:38:29: error: stray '\326' in program
0_0_30778123_22758.c:38:29: error: stray '\320' in program
0_0_30778123_22758.c:38:29: error: stray '\327' in program
0_0_30778123_22758.c:38:29: error: stray '\356' in program
0_0_30778123_22758.c:38:29: error: stray '\263' in program
0_0_30778123_22758.c:38:29: error: stray '\244' in program
0_0_30778123_22758.c:38:29: error: stray '\307' in program
0_0_30778123_22758.c:38:29: error: stray '\260' in program
0_0_30778123_22758.c:38:29: error: stray '\327' in program
0_0_30778123_22758.c:38:29: error: stray '\272' in program
0_0_30778123_22758.c:38:29: error: stray '\272' in program
0_0_30778123_22758.c:38:29: error: stray '\315' in program
0_0_30778123_22758.c:38:29: error: stray '\327' in program
0_0_30778123_22758.c:38:29: error: stray '\356' in program
0_0_30778123_22758.c:38:29: error: stray '\263' in program
0_0_30778123_22758.c:38:29: error: stray '\244' in program
0_0_30778123_22758.c:38:29: error: stray '\272' in program
0_0_30778123_22758.c:38:29: error: stray '\363' in program
0_0_30778123_22758.c:38:29: error: stray '\327' in program
0_0_30778123_22758.c:38:29: error: stray '\272' in program
0_0_30778123_22758.c:38:29: error: stray '\317' in program
0_0_30778123_22758.c:38:29: error: stray '\340' in program
0_0_30778123_22758.c:38:29: error: stray '\265' in program
0_0_30778123_22758.c:38:29: error: stray '\310' in program
0_0_30778123_22758.c:38:29: error: stray '\243' in program
0_0_30778123_22758.c:38:29: error: stray '\254' in program
0_0_30778123_22758.c:38:29: error: stray '\304' in program
0_0_30778123_22758.c:38:29: error: stray '\307' in program
0_0_30778123_22758.c:38:29: error: stray '\303' in program
0_0_30778123_22758.c:38:29: error: stray '\264' in program
0_0_30778123_22758.c:39:27: error: stray '\265' in program
                           //当前的匹配成功,就说明W的第j个以前都与T的从i-next[j]到第i-1这段也已经匹配好了
                           ^
0_0_30778123_22758.c:39:27: error: stray '\261' in program
0_0_30778123_22758.c:39:27: error: stray '\307' in program
0_0_30778123_22758.c:39:27: error: stray '\260' in program
0_0_30778123_22758.c:39:27: error: stray '\265' in program
0_0_30778123_22758.c:39:27: error: stray '\304' in program
0_0_30778123_22758.c:39:27: error: stray '\306' in program
0_0_30778123_22758.c:39:27: error: stray '\245' in program
0_0_30778123_22758.c:39:27: error: stray '\305' in program
0_0_30778123_22758.c:39:27: error: stray '\344' in program
0_0_30778123_22758.c:39:27: error: stray '\263' in program
0_0_30778123_22758.c:39:27: error: stray '\311' in program
0_0_30778123_22758.c:39:27: error: stray '\271' in program
0_0_30778123_22758.c:39:27: error: stray '\246' in program
0_0_30778123_22758.c:39:27: error: stray '\243' in program
0_0_30778123_22758.c:39:27: error: stray '\254' in program
0_0_30778123_22758.c:39:27: error: stray '\276' in program
0_0_30778123_22758.c:39:27: error: stray '\315' in program
0_0_30778123_22758.c:39:27: error: stray '\313' in program
0_0_30778123_22758.c:39:27: error: stray '\265' in program
0_0_30778123_22758.c:39:27: error: stray '\303' in program
0_0_30778123_22758.c:39:27: error: stray '\367' in program
0_0_30778123_22758.c:39:27: error: stray '\265' in program
0_0_30778123_22758.c:39:27: error: stray '\304' in program
0_0_30778123_22758.c:39:27: error: stray '\265' in program
0_0_30778123_22758.c:39:27: error: stray '\332' in program
0_0_30778123_22758.c:39:27: error: stray '\270' in program
0_0_30778123_22758.c:39:27: error: stray '\366' in program
0_0_30778123_22758.c:39:27: error: stray '\322' in program
0_0_30778123_22758.c:39:27: error: stray '\324' in program
0_0_30778123_22758.c:39:27: error: stray '\307' in program
0_0_30778123_22758.c:39:27: error: stray '\260' in program
0_0_30778123_22758.c:39:27: error: stray '\266' in program
0_0_30778123_22758.c:39:27: error: stray '\274' in program
0_0_30778123_22758.c:39:27: error: stray '\323' in program
0_0_30778123_22758.c:39:27: error: stray '\353' in program
0_0_30778123_22758.c:39:27: error: stray '\265' in program
0_0_30778123_22758.c:39:27: error: stray '\304' in program
0_0_30778123_22758.c:39:27: error: stray '\264' in program
0_0_30778123_22758.c:39:27: error: stray '\323' in program
0_0_30778123_22758.c:39:27: error: stray '\265' in program
0_0_30778123_22758.c:39:27: error: stray '\275' in program
0_0_30778123_22758.c:39:27: error: stray '\265' in program
0_0_30778123_22758.c:39:27: error: stray '\332' in program
0_0_30778123_22758.c:39:27: error: stray '\325' in program
0_0_30778123_22758.c:39:27: error: stray '\342' in program
0_0_30778123_22758.c:39:27: error: stray '\266' in program
0_0_30778123_22758.c:39:27: error: stray '\316' in program
0_0_30778123_22758.c:39:27: error: stray '\322' in program
0_0_30778123_22758.c:39:27: error: stray '\262' in program
0_0_30778123_22758.c:39:27: error: stray '\322' in program
0_0_30778123_22758.c:39:27: error: stray '\321' in program
0_0_30778123_22758.c:39:27: error: stray '\276' in program
0_0_30778123_22758.c:39:27: error: stray '\255' in pr


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-08 11:19:33, Gzip enabled