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_32855824_20502.cpp: In constructor 'node::node()':
0_0_32855824_20502.cpp:9:27: error: 'memset' was not declared in this scope
   memset(str,0,sizeof(str));
                           ^
0_0_32855824_20502.cpp: In function 'void build(char*, char*)':
0_0_32855824_20502.cpp:17:18: error: 'strlen' was not declared in this scope
  int len=strlen(b);
                  ^
0_0_32855824_20502.cpp:27:17: error: 'strcpy' was not declared in this scope
  strcpy(p->str,a);//最后一个节点上存进火星文译文
                 ^
0_0_32855824_20502.cpp: In function 'void find(char*)':
0_0_32855824_20502.cpp:32:18: error: 'strlen' was not declared in this scope
  int len=strlen(s);
                  ^
0_0_32855824_20502.cpp:44:21: error: 'strcmp' was not declared in this scope
  if(strcmp(p->str,"")==0)//如果只有前部分匹配,没匹配到最后则不存在译文输出原文
                     ^
0_0_32855824_20502.cpp: In function 'int main()':
0_0_32855824_20502.cpp:57:20: error: 'strcmp' was not declared in this scope
   if(strcmp(a,"END")==0) break;
                    ^
0_0_32855824_20502.cpp:64:22: error: 'strcmp' was not declared in this scope
   if(strcmp(str,"END")==0) break;
                      ^
0_0_32855824_20502.cpp:65:20: error: 'strlen' was not declared in this scope
   int ll=strlen(str);
                    ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 03:39:35, Gzip enabled