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_29296164_26234.cpp: In function 'bool operator<(str, str)':
0_0_29296164_26234.cpp:12:30: error: 'strcmp' was not declared in this scope
         if(strcmp(ne1.s,ne2.s)==1)
                              ^
0_0_29296164_26234.cpp: In function 'int GetNum(char*)':
0_0_29296164_26234.cpp:27:31: error: 'strlen' was not declared in this scope
     for(int i = 0;i < strlen(t); ++i){
                               ^
0_0_29296164_26234.cpp: In function 'int main()':
0_0_29296164_26234.cpp:58:33: error: 'memset' was not declared in this scope
         memset(map,0,sizeof(map));
                                 ^
0_0_29296164_26234.cpp:64:33: error: 'strcpy' was not declared in this scope
             strcpy(st[n1].s,str1);
                                 ^


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 11:28:53, Gzip enabled