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_35110479_11366.cpp: In function 'int main()':
0_0_35110479_11366.cpp:28:23: error: 'strlen' was not declared in this scope
             l=strlen(a);
                       ^
0_0_35110479_11366.cpp:40:59: error: 'strcmp' was not declared in this scope
                             if(strcmp(name[k],per[kk].name)==0)
                                                           ^
0_0_35110479_11366.cpp:43:75: error: 'strcpy' was not declared in this scope
                         {per[kk].x=name_k;strcpy(name[name_k],per[kk].name);name_k++;}
                                                                           ^
0_0_35110479_11366.cpp:62:42: error: 'strcmp' was not declared in this scope
             if(strcmp("Erdos, P.",name[i])==0) {start=i;break;}
                                          ^
0_0_35110479_11366.cpp:68:36: error: 'strcmp' was not declared in this scope
                 if(strcmp(a,name[j])==0) {end=j;break;}
                                    ^
0_0_35110479_11366.cpp:70:39: error: 'memset' was not declared in this scope
             memset(flag,0,sizeof(flag));    
                                       ^


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-30 10:40:35, Gzip enabled