Compile Error
foo.cc: In function 'int main()': foo.cc:7:17: error: 'strlen' was not declared in this scope 7 | int n = strlen(a); | ^~~~~~ foo.cc:2:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 1 | #include <stdio.h> +++ |+#include <cstring> 2 | int main()
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- 5-8 留下最大数
- 语言
- C++
- 递交时间
- 2023-12-20 21:36:50
- 评测时间
- 2023-12-20 21:36:50
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes