运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
501548 lanxianfeng 1091 - 一鸣师姐的期望 编译错误 0 0 MS 0 KB C 322 1年前
暂时无法获取本题测试点详情。

Main.c: In function ‘main’:
Main.c:13:21: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
13 | for(int i=0;strlen(arr)<=a;i++)
| ^~~~~~
Main.c:13:21: warning: incompatible implicit declaration of built-in function ‘strlen’
Main.c:3:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
2 | #include <stdlib.h>
+++ |+#include <string.h>
3 |
Main.c:17:12: warning: the address of ‘arr’ will always evaluate as ‘true’ [-Waddress]
17 | if(arr)
| ^~~
Main.c:18:5: error: expected expression before ‘}’ token
18 | }
| ^