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_19140128_21366.cpp: In function 'int min_len(const char*, int, const char*, int)':
0_0_19140128_21366.cpp:12:25: error: 'strlen' was not declared in this scope
     int l1 = strlen(str1);
                         ^
0_0_19140128_21366.cpp: In function 'int main()':
0_0_19140128_21366.cpp:54:28: error: 'strlen' was not declared in this scope
         int len = strlen(s1);
                            ^
0_0_19140128_21366.cpp:70:34: error: 'strcpy' was not declared in this scope
                 strcpy(result, s2);
                                  ^
0_0_19140128_21366.cpp:71:59: error: 'strcmp' was not declared in this scope
             } else if (tmp == min_len && strcmp(s2, result) < 0) {
                                                           ^
0_0_19140128_21366.cpp:72:34: error: 'strcpy' was not declared in this scope
                 strcpy(result, s2);
                                  ^


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-16 09:41:05, Gzip enabled