编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#5018 | #1030. 选择题 | Compile Error | 0 | 0 ms | 0 K | C++ 17 (Clang) / 1.1 K | t330026199 | 2024-02-25 15:00:40 |
using namespace std;
int N;
const int manx = 10000 + 5;
char z_ans;
char t_ans;
int
编译信息
/sandbox/1/a.cpp:17:7: error: use of undeclared identifier 'strlen'
if (strlen(t_ans[i]) == 1)
^
/sandbox/1/a.cpp:23:8: error: use of undeclared identifier 'strlen'
if (strlen(z_ans[i]) > strlen(t_ans[i]))
^
/sandbox/1/a.cpp:23:27: error: use of undeclared identifier 'strlen'
if (strlen(z_ans[i]) > strlen(t_ans[i]))
^
/sandbox/1/a.cpp:27:25: error: use of undeclared identifier 'strlen'
for (int j = 0; j < strlen(z_ans[i]); j++) {
^
/sandbox/1/a.cpp:28:26: error: use of undeclared identifier 'strlen'
for (int k = 0; k < strlen(t_ans[i]); k++) {
^
/sandbox/1/a.cpp:39:17: error: use of undeclared identifier 'strlen'
if (mark == strlen(z_ans[i]) && mark == strlen(t_ans[i]))
^
/sandbox/1/a.cpp:39:45: error: use of undeclared identifier 'strlen'
if (mark == strlen(z_ans[i]) && mark == strlen(t_ans[i]))
^
/sandbox/1/a.cpp:41:22: error: use of undeclared identifier 'strlen'
else if (mark == strlen(z_ans[i]))
^
8 errors generated.