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_16771335_25365.cpp: In function 'void initHash()':
0_0_16771335_25365.cpp:23:38: error: 'memset' was not declared in this scope
  memset(hash_que, 0, sizeof(hash_que));
                                      ^
0_0_16771335_25365.cpp: In function 'void insertHash(char*, char*)':
0_0_16771335_25365.cpp:48:22: error: 'strcpy' was not declared in this scope
  strcpy(ptr->que, que);
                      ^
0_0_16771335_25365.cpp: In function 'node* searchHash_que(char*)':
0_0_16771335_25365.cpp:73:25: error: 'strcmp' was not declared in this scope
   if (strcmp(ptr->que, s) == 0)
                         ^
0_0_16771335_25365.cpp: In function 'node* searchHash_ans(char*)':
0_0_16771335_25365.cpp:84:25: error: 'strcmp' was not declared in this scope
   if (strcmp(ptr->ans, s) == 0)
                         ^
0_0_16771335_25365.cpp: In function 'int main()':
0_0_16771335_25365.cpp:94:26: error: 'strcmp' was not declared in this scope
   if (strcmp(que, "@END@") == 0)
                          ^
0_0_16771335_25365.cpp:116:31: error: 'strlen' was not declared in this scope
     int len = strlen(temp->que);
                               ^


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 22:07:17, Gzip enabled