记录详情

Compile Error

/in/foo.cc: In function 'int CountLower(char*)':
/in/foo.cc:8:23: error: 'strlen' was not declared in this scope
     int len = strlen(s);
                       ^
/in/foo.cc: In function 'int CountUpper(char*)':
/in/foo.cc:19:23: error: 'strlen' was not declared in this scope
     int len = strlen(s);
                       ^
/in/foo.cc: In function 'void Concat(char*, char*, char*)':
/in/foo.cc:37:25: error: 'strlen' was not declared in this scope
     int len1 = strlen(s1);
                         ^
/in/foo.cc:45:22: error: 'strcat' was not declared in this scope
     strcat(s3, s2 + 1);
                      ^
/in/foo.cc:38:9: warning: unused variable 'len2' [-Wunused-variable]
     int len2 = strlen(s2);
         ^~~~

信息

递交者
类型
自测
语言
C++
递交时间
2024-11-26 13:17:19
评测时间
2024-11-26 13:17:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes