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_16378444_32174.cpp: In function 'bool cmp(node, node)':
0_0_16378444_32174.cpp:77:47: error: 'strcmp' was not declared in this scope
     if(a.age == b.age && strcmp(a.name, b.name) < 0) return true;   
                                               ^
0_0_16378444_32174.cpp: In function 'int main()':
0_0_16378444_32174.cpp:87:36: error: 'strcpy' was not declared in this scope
         strcpy(family[0].name,"Ted"); 
                                    ^
0_0_16378444_32174.cpp:100:56: error: 'strcmp' was not declared in this scope
                 if(strcmp(family[t].name,input[i].fname)==0) 
                                                        ^


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-29 20:28:24, Gzip enabled