提交记录 #403

提交时间:2024-12-03 16:38:09
语言:c 状态:Unaccepted
编译情况:编译成功
code.c: In function ‘replaceSubstring’:
code.c:31:23: warning: implicit declaration of function ‘strdup’; did you mean ‘strcmp’? [-Wimplicit-function-declaration]
   31 |     char *pos, *dst = strdup(source); // 复制源字符串以进行修改
      |                       ^~~~~~
      |                       strcmp
code.c:31:23: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
固定测试点#1:
reRuntime Error: - Returning:-11
time 0.006s
memory 556 kB
固定测试点#2:
reRuntime Error: - Returning:-11
time 0.007s
memory 232 kB
固定测试点#3:
reRuntime Error: - Returning:-11
time 0.006s
memory 496 kB
附加测试点暂不可用
... 不可用
time N/A
memory N/A
京ICP备2024093084 号