编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#5020 | #1030. 选择题 | Compile Error | 0 | 0 ms | 0 K | C++ 17 / 1.1 K | t330026199 | 2024-02-25 15:02:13 |
using namespace std;
int N;
const int manx = 10000 + 5;
char z_ans;
char t_ans;
int
编译信息
/sandbox/1/a.cpp: In function 'int main()':
/sandbox/1/a.cpp:17:7: error: 'strlen' was not declared in this scope
17 | if (strlen(t_ans[i]) == 1)
| ^~~~~~
/sandbox/1/a.cpp:2:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
1 | #include<iostream>
+++ |+#include <cstring>
2 | using namespace std;