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_16771485_11349.cpp: In function 'void insertHash(char*, char*)':
0_0_16771485_11349.cpp:46:32: error: 'strcpy' was not declared in this scope
     strcpy(nodeA[curA].que, que);  
                                ^
0_0_16771485_11349.cpp: In function 'int searchHashA(char*)':
0_0_16771485_11349.cpp:65:40: error: 'strcmp' was not declared in this scope
         if (strcmp(que, nodeA[next].que) == 0) return next;  
                                        ^
0_0_16771485_11349.cpp: In function 'int searchHashB(char*)':
0_0_16771485_11349.cpp:77:40: error: 'strcmp' was not declared in this scope
         if (strcmp(ans, nodeA[next].ans) == 0) return next;  
                                        ^
0_0_16771485_11349.cpp: In function 'int main()':
0_0_16771485_11349.cpp:112:30: error: 'strlen' was not declared in this scope
             qlen = strlen(str);  
                              ^
0_0_16771485_11349.cpp:120:30: error: 'strlen' was not declared in this scope
             alen = strlen(str);  
                              ^


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-23 09:19:34, Gzip enabled