提交记录 #451

提交时间:2024-12-05 09:29:40
语言:c 状态:Unaccepted
编译情况:编译成功
code.c: In function ‘replaceSubstring’:
code.c:22:13: warning: unused variable ‘match’ [-Wunused-variable]
   22 |         int match = 1; // 假设匹配
      |             ^~~~~
code.c:41:13: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
   41 |             strncpy(ins, replacement, len_replacement);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
code.c:13:27: note: length computed here
   13 |     int len_replacement = strlen(replacement);
      |                           ^~~~~~~~~~~~~~~~~~~
固定测试点#1:
waWrong Answer
time 0.000s
memory 236 kB
固定测试点#2:
waWrong Answer
time 0.000s
memory 232 kB
固定测试点#3:
waWrong Answer
time 0.000s
memory 228 kB
附加测试点暂不可用
... 不可用
time N/A
memory N/A
京ICP备2024093084 号