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_37671220_10005.cpp: In function 'void getnext(char*, int*)':
0_0_37671220_10005.cpp:17:25: error: 'strlen' was not declared in this scope
     int len = strlen(str);
                         ^
0_0_37671220_10005.cpp: In function 'void EXKMP(char*, char*, int*)':
0_0_37671220_10005.cpp:42:23: error: 'strlen' was not declared in this scope
     int l1 = strlen(s1), l2 = strlen(s2);
                       ^
0_0_37671220_10005.cpp:51:34: error: 'l2' was not declared in this scope
             while (p < l1 && j < l2 && s1[p] == s2[j])
                                  ^
0_0_37671220_10005.cpp: In function 'int main()':
0_0_37671220_10005.cpp:77:33: error: 'strlen' was not declared in this scope
         reverse(s1, s1+strlen(s1));
                                 ^


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-23 01:45:07, Gzip enabled