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_21498425_4095.cpp: In function 'int cmp(NODE, NODE)':
0_0_21498425_4095.cpp:14:26: error: 'strcmp' was not declared in this scope
     if(strcmp(x.ori,y.ori))  
                          ^
0_0_21498425_4095.cpp:16:24: error: 'strcmp' was not declared in this scope
     if(strcmp(x.lv,y.lv))  
                        ^
0_0_21498425_4095.cpp:27:32: error: 'strcmp' was not declared in this scope
     return strcmp(x.name,y.name)<0;  
                                ^
0_0_21498425_4095.cpp: In function 'int main()':
0_0_21498425_4095.cpp:40:29: error: 'strcpy' was not declared in this scope
         strcpy(s,girl[0].ori);  
                             ^
0_0_21498425_4095.cpp:50:38: error: 'strcmp' was not declared in this scope
             if(strcmp(s,girl[i+1].ori))  
                                      ^


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-30 15:31:34, Gzip enabled