运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
628348 | Clanns | 1178 - S10-07 逆转字符串 | 编译错误 | 0 | 0 MS | 0 KB | C++ | 426 | 3个月前 |
Main.cc: In function 'int main()':
Main.cc:7:11: error: 'strlen' was not declared in this scope
7 | count=strlen(str);
| ^~~~~~
Main.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()