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_17205320_7267.cpp: In function 'int match_name(char*)':
0_0_17205320_7267.cpp:12:29: error: 'strcmp' was not declared in this scope
        if(strcmp(str,name[i])==0)
                             ^
0_0_17205320_7267.cpp:14:23: error: 'strcpy' was not declared in this scope
     strcpy(name[n],str);
                       ^
0_0_17205320_7267.cpp: In function 'void str_convert(char*)':
0_0_17205320_7267.cpp:23:25: error: 'strlen' was not declared in this scope
     for(i=0;i<strlen(str);)
                         ^
0_0_17205320_7267.cpp: In function 'int main()':
0_0_17205320_7267.cpp:74:31: error: 'memset' was not declared in this scope
       memset(map,0,sizeof(map));
                               ^
0_0_17205320_7267.cpp:79:34: error: 'strcmp' was not declared in this scope
         if(strcmp(str,"GRAPH END")==0) break;
                                  ^
0_0_17205320_7267.cpp:89:31: error: 'strcmp' was not declared in this scope
         if(strcmp(str1,"GRAPH")==0 && strcmp(str2,"BEGIN")==0) break;
                               ^


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-27 00:55:31, Gzip enabled